|
From: | Robert Schuster |
Subject: | Re: gij as JRE 5 |
Date: | Mon, 15 Nov 2004 14:06:24 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.3) Gecko/20040930 |
Actually I have doubts at this point. Javac 1.5/5 compiles all its "-target 1.5" stuff with the help of java.lang.StringBuilder instead of java.lang.StringBuffer. This little difference makes all code that would normally run in a 1.4 environment unusable. The funny thing is that StringBuilder (and attached interfaces Appendable, CharSequence) make no use of 1.5 features.There is actually a good reason. If the 1.5 classes are missing, the chances that a 1.5 compiled class will run are slim. This is what Andrew John Hughes was trying to address with his proposal to implement the 1.5 classes as much as possible (using 1.4 sources). I haven't thought about it deeply, but on the surface that seems like it could be a good idea.
So this is my vote for adding support for 1.5 bytecode addition as well as 'source 1.5'-independent (helper) classes.
cu Robert
[Prev in Thread] | Current Thread | [Next in Thread] |