So, it seems that most of what Sun provides is just Java code for
various added APIs with new releases of software.
Granted, version 1.5 has lots of changes in the actual language, but
from what I understand, these changes are mostly cosmetic and do not
change the actual bytecode the compiler produces. If that's the case,
shouldn't someone be able to make the new 1.5 classes available to the
JRE and provide 1.5 considerably earlier?
For that matter, since the complier is basically a command-line
program, shouldn't the Solaris code basically translate without much
changing to OS X?
Or is there more going on here than I think?
A while back, Sun provided an experimental release of some of the
features of 1.5 (generics, enums, ...) that can be added to JDK 1.4
If you use Fink, I've written a couple of packages to simplify the
install. Because of licensing issues with getting the adding_generics
file from Sun, they have not been accepted into Fink, but are available
at:
Just put the files in your local tree, manually download the
adding_generics-2_2-ea.zip file and go:
$ fink install jsr14 jsr14adaptor
I successfully use this to compile Findbugs which was written for JDK
1.5
[I just noticed that they've updated it to version 2.4 now, so you
might need to slightly modify the .info file to use the new version]
--
Rohan Lloyd
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden