|
Re: RFC: Re: Re: [commit-cp] classpath ./ChangeLog examples/gnu/classpath/e: msg#00192java.classpath.patches
On Sun, 2005-03-27 at 16:30 -0700, Tom Tromey wrote: ... > I wonder what Sun does. ... I did a few tests to find out. I have some code that gives the verifier error I mentioned when doing a native compile with gcj 4.0. I made up a simple test case that used this class, and then found some machines with JDK 1.4 and 1.5 on. With the original 1.5 compiled class file (ecj -1.5), JDK 1.4 complains about the version number without even examining any further into the contents. I then edited the class file to use the 1.4 version number, 48, in order to simulate a 1.4 class file with ldc .class constructs. With 1.4, the compiler fails: Exception in thread "main" java.lang.VerifyError: (class: nongnu/cashews/eclipse/composer/ui/PaletteFactory, method: createComponentsDrawer signature: ()Lorg/eclipse/gef/palette/PaletteContainer;) Illegal type in constant pool The same thing occurs with a 1.4 class file on 1.5. With the original class file, the test runs. So, it appears they follow the pedantic approach. > Tom > Cheers, -- Andrew :-) Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachments. See http://www.fsf.org/philosophy/no-word-attachments.html No software patents in Europe -- http://nosoftwarepatents.com "Value your freedom, or you will lose it, teaches history. `Don't bother us with politics' respond those who don't want to learn." -- Richard Stallman Escape the Java Trap with GNU Classpath! http://www.gnu.org/philosophy/java-trap.html public class gcj extends Freedom implements Java { ... }
Classpath-patches mailing list Classpath-patches@xxxxxxx http://lists.gnu.org/mailman/listinfo/classpath-patches
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RFC: Fix for "XXX" use in java.util.Currency, Andrew John Hughes |
|---|---|
| Next by Date: | RE: RFC: Re: Re: [commit-cp] classpath ./ChangeLogexamples/gnu/classpath/ex..., Jeroen Frijters |
| Previous by Thread: | Re: RFC: Re: Re: [commit-cp] classpath ./ChangeLog examples/gnu/classpath/ex..., Tom Tromey |
| Next by Thread: | [generics] FYI: Merge for 2005/03/13 - 2005/03/23, Andrew John Hughes |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |