Description of problem: Part of the Eclipse build procedure uses jasper to create java code from some jsps. Version-Release number of selected component (if applicable): libgcj-4.1.0-0.8.i386 How reproducible: I cannot reproduce locally with 4.1.0-0.7. I am grabbing 4.1.0-0.8 now to try to reproduce locally. Steps to Reproduce: 1. try to build Eclipse (yeah ... sorry it's not smaller - I will make a test case soon) Actual results: Exception in thread "main" java.lang.IllegalAccessError: org.xml.sax.helpers.NamespaceSupport$Context: org.xml.sax.helpers.NamespaceSupport.EMPTY_ENUMERATION [java] at org.xml.sax.helpers.NamespaceSupport$Context.getDeclaredPrefixes (libgcj.so.7) [java] at org.xml.sax.helpers.NamespaceSupport.getDeclaredPrefixes (libgcj.so.7) [java] at gnu.xml.aelfred2.SAXDriver.endElement (libgcj.so.7) [java] at gnu.xml.aelfred2.XmlParser.parseETag (libgcj.so.7) [java] at gnu.xml.aelfred2.XmlParser.parseContent (libgcj.so.7) [java] at gnu.xml.aelfred2.XmlParser.parseElement (libgcj.so.7) [java] at gnu.xml.aelfred2.XmlParser.parseContent (libgcj.so.7) [java] at gnu.xml.aelfred2.XmlParser.parseElement (libgcj.so.7) [java] at gnu.xml.aelfred2.XmlParser.parseContent (libgcj.so.7) [java] at gnu.xml.aelfred2.XmlParser.parseElement (libgcj.so.7) [java] at gnu.xml.aelfred2.XmlParser.parseDocument (libgcj.so.7) [java] at gnu.xml.aelfred2.XmlParser.doParse (libgcj.so.7) [java] at gnu.xml.aelfred2.SAXDriver.parse (libgcj.so.7) [java] at gnu.xml.aelfred2.XmlReader.parse (libgcj.so.7) [java] at gnu.xml.dom.ls.DomLSParser.doParse (libgcj.so.7) [java] at gnu.xml.dom.ls.DomLSParser.parse (libgcj.so.7) [java] at gnu.xml.dom.DomDocumentBuilder.parse (libgcj.so.7) [java] at org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument (ParserUtils.java:98) [java] at org.apache.jasper.compiler.JspConfig.processWebDotXml (JspConfig.java:70) [java] at org.apache.jasper.compiler.JspConfig.init (JspConfig.java:189) [java] at org.apache.jasper.compiler.JspConfig.isJspPage (JspConfig.java:353) [java] at org.apache.jasper.JspC.scanFiles (JspC.java:919) [java] at org.apache.jasper.JspC.execute (JspC.java:960) [java] at org.apache.jasper.JspC.main (JspC.java:211) Expected results: No output (this is what happens with 4.1.0-0.7). Additional info:
See http://gcc.gnu.org/ml/java-patches/2005-q4/msg00342.html I think this explains the problem.
Created attachment 122293 [details] replacement patch This patch replaces Andrew's and fixes the test case I came up with. However, I have not extensively tested it yet. I will put the tests into the test suite and do a full build and report back later.
I just checked in the fix plus the two test cases as revision 108608. ATM this is on the trunk, I'll move it to the 4.1 branch tomorrow. One other libjava patch went in to the 4.1 branch today, and XML fix for OO.o.
I can build Eclipse now so should we close this bug?
I spoke with Tom on IRC and he suggests closing. I agree.