Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6383446

Regression in Mustang b70 : throws java.lang.IllegalAccessError

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 6
    • hotspot
    • None
    • generic
    • generic

      Regression in Mustang b70 : throws java.lang.IllegalAccessError

      was working till b69 and with Tiger .

      To reproduce the issue :
      --------------------------
      use Mustang b70

      Please see attached - Test.java , entref01gold.out and Tidy.jar( this is a testutil jar file )
      in Test.java - update 'String docURI' to the location where entref01gold.out is saved .

      setenv CLASSPATH .:./Tidy.jar
      javac Test.java
      java Test

      error message :
      ---------------
      java Test

      fatal error : org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference.
      line 1 column 1 - Error: <out> is not recognized!
      Exception in thread "main" java.lang.IllegalAccessError: tried to access field org.w3c.tidy.ParserImpl._parseHead from class org.w3c.tidy.ParserImpl$ParseHTML
              at org.w3c.tidy.ParserImpl$ParseHTML.parse(ParserImpl.java)
              at org.w3c.tidy.ParserImpl.parseDocument(ParserImpl.java)
              at org.w3c.tidy.Tidy.parse(Tidy.java)
              at org.w3c.tidy.Tidy.parseDOM(Tidy.java)
              at Test.parse(Test.java:69)
              at Test.main(Test.java:17)


      the fatal error part in error message can be ignored here - part of the test .

            kamg Keith Mcguigan (Inactive)
            saksunw Sreejith Ak (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: