|
RE: JDK 1.5: msg#00171lang.groovy.user
On Wed, 2004-11-24 at 15:11, Laforge Guillaume wrote: > Hello Russel, > > Unfortunately, we don't currently test Groovy on JDK 1.5. > And for the moment, Groovy won't work on that JDK. > I'm sorry for that. > There are already a few JIRA issues in the tracker. > We'll try to find some time for testing/porting the bytecode generation > classes to JDK 1.5 > Sorry for the inconvenience. Guillaume, As far as I am aware there is no difference between the 1.4 JVM and the 1.5 JVM except that there is a new constant pool type to support some aspects of debugging generics. So the code generator for Groovy should require no change, it should only be the class file parser that requires amendment and this should be in the JDK classes already -- unless I am missing something obvious which is always possible. In fact my compilation of the Groovy system from CVS seems to go fine. The maven goals clean:clean, java:prepare-filesystem, java:compile (3 deprecation warnings), java:jar-resources, test:prepare-filesystem and test:test-resources all execute successfully. The problem arises in the test:compile goal. It seems that there is a difference concerning org.apache.xalan.serialize -- there may be more of course but I guess it is all in the library configuration of testing that the problem arises: test:compile: [javac] Compiling 109 source files to /home/users/russel/Progs/Other_CVS/groovy/groovy-core/target/test-classes /home/users/russel/Progs/Other_CVS/groovy/groovy-core/src/test/groovy/xml/TestXmlSupport.java:51: package org.apache.xalan.serialize does not exist import org.apache.xalan.serialize.SerializerToXML; ^ /home/users/russel/Progs/Other_CVS/groovy/groovy-core/src/test/groovy/xml/TestXmlSupport.java:73: cannot find symbol symbol : class SerializerToXML location: class groovy.xml.TestXmlSupport protected SerializerToXML createSerializer() { ^ /home/users/russel/Progs/Other_CVS/groovy/groovy-core/src/test/groovy/xml/TestXmlSupport.java:63: cannot find symbol symbol : class SerializerToXML location: class groovy.xml.TestXmlSupport SerializerToXML printer = createSerializer(); ^ /home/users/russel/Progs/Other_CVS/groovy/groovy-core/src/test/groovy/xml/TestXmlSupport.java:75: cannot find symbol symbol : class SerializerToXML location: class groovy.xml.TestXmlSupport SerializerToXML ser = new SerializerToXML(); ^ /home/users/russel/Progs/Other_CVS/groovy/groovy-core/src/test/groovy/xml/TestXmlSupport.java:75: cannot find symbol symbol : class SerializerToXML location: class groovy.xml.TestXmlSupport SerializerToXML ser = new SerializerToXML(); ^ 5 errors I guess I should just wade in and try and find the difference between 1.4 and 1.5 and provide information for a patch. -- Russel. ============================================= Dr Russel Winder +44 20 7585 2200 41 Buckmaster Road +44 7770 465 077 London SW11 1EN, UK russel-Q5fiE77zhxfe9xe1eoZjHA@xxxxxxxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: JDK 1.5, Laforge Guillaume |
|---|---|
| Next by Date: | RE: RE: What's wrong with this syntax = markupBuilder + SQL --> Closure, Laforge Guillaume |
| Previous by Thread: | RE: JDK 1.5, Laforge Guillaume |
| Next by Thread: | Where do we put bug problems..., Furash Gary |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |