[concurrency-interest] Why not J2SE 5?
Tue, 7 Dec 2004 02:46:24 +1000
> Then why two switches, sourge & target? A single switch would do it.
Historically the target and source values have not been tied - in
fact -source came much later than -target. With the later releases you are
forced to keep them upwardly compatible:
-source 1.4 requires -target 1.4+
-source 1.5 requires -target 1.5+
but source 1.3 does not require -target 1.3+
Considering the different values:
1.1 - not supported but would have added inner classes and blank finals
1.2 - added strictfp
1.3 - nothing new
1.4 - assert keyword
1.5 - lots of stuff :)
1.1 - old static resolution process/constant-pool encoding
1.2 - new static resolution process/constant-pool encoding
1.3 - ?? no actual change
1.4 - ??
1.5 - lots of changes
I work on a system which requires -target 1.1 hence we can't use new source
features from 1.4 or 1.5.
Other people who haven't migrated to asserts yet might use source 1.3 but
allow the default target 1.5