Can't subclass ElementNode
Rajiv Mordani [CONTRACTOR]
Rajiv.Mordani at eng.sun.com
Thu Nov 18 18:36:11 GMT 1999
Thid is a bug in the compiler and has been notified to the respective people and
will be fixed. In the meantime try not to recompile the package. Also try to use
the Sun jdk 1.2.1 and see if it works cos that seems to work for some of the
people.
- Rajiv
>Date: Wed, 17 Nov 1999 23:07:46 -0400
>From: Azly NACRO <azly at dsuper.net>
>X-Accept-Language: en
>MIME-Version: 1.0
>To: xml-dev at ic.ac.uk
>Subject: Can't subclass ElementNode
>Content-Transfer-Encoding: 7bit
>
>Hi,
>
>I've got a java.lang.IllegalAccessError when trying to subclass
>"ElementNode".
>
>java.lang.IllegalAccessError: try to access class
>com/sun/xml/tree/ParentNode from class CapabilityElement
> at CapabilityElement.appendChild(CapabilityElement.java:88)
> at
>com.sun.xml.tree.XmlDocumentBuilder.startElement(XmlDocumentBuilder.java:485)
> at com.sun.xml.parser.Parser.maybeElement(Parser.java:1390)
> at com.sun.xml.parser.Parser.content(Parser.java:1498)
> at com.sun.xml.parser.Parser.maybeElement(Parser.java:1399)
> at com.sun.xml.parser.Parser.parseInternal(Parser.java:491)
> at com.sun.xml.parser.Parser.parse(Parser.java:308)
> at XmlCapabilityAccessor.<init>(XmlCapabilityAccessor.java:55)
> at Test.main(Test.java, Compiled Code)
>
>
>I'm working with jbuilder3 using jdk1.2.
> java version "1.2"
> Classic VM (build JDK-1.2-V, native threads)
>
>I've recompile the sun xml package but I still have the same error.
>
>Any ideas what I can do about this? It would be very inconvenient not to
>be able to subclass ElementNode.
>
>Azly NACRO
>azly at dsuper.net
>UQAM (Montreal)
>
>xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
>Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN
981-02-3594-1
>To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
>unsubscribe xml-dev
>To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
>subscribe xml-dev-digest
>List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
>
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list