[antlr-interest] Problem with Java runtime

Martin Probst mail at martin-probst.com
Tue Sep 30 23:59:15 PDT 2008


> I am not convinced that there are any 1.4 javac users left, but  
> anyway,
> as type information is elided  and so on, it should be fine to  
> generate
> 1.5 or even 1.6 code and then have developers target the byte code at
> 1.4 (using the options on javac).

That's not going to work. The class file format has changed between  
1.4, 1.5, and 1.6. You cannot simply create a jar and drop that on a  
1.4 user, you'd need to do something like retroweaver etc. I think  
this has been discussed previously on the list, too.

Martin


More information about the antlr-interest mailing list