|
Author |
Topic: Exporter: warn on VM incompatibility (Read 693 times) |
|
MrFeinberg
|
Exporter: warn on VM incompatibility
« on: Mar 21st, 2004, 12:06pm » |
|
The documentation warns: - if you're exporting as applet, variables that are 'final int' need to be 'static final int'. otherwise they'll have trouble with a java 1.1-only machine: (i.e. running microsoft's java on windows). you should also avoid using "final" variables *inside* of methods, since those aren't supported by microsoft's vm (and that's the one most widely installed). The exporter could flag this as violation, or at least warn.
|
|
|
|
fry
|
Re: Exporter: warn on VM incompatibility
« Reply #1 on: Mar 21st, 2004, 11:07pm » |
|
true.. with the "big" release" (rev 70 or so) there will be an (advanced) option for what vm you're compiling to, so then we can enforce what the code is (hopefully setting the -source 1.1 option on the compiler will do it). right now it's ambigious since there's no simple way to do it right (some people want the 1.3/1.4 code..)
|
|
|
|
|