Silfide XML Parser : VerifyError bug fixed

Patrice Bonhomme Patrice.Bonhomme at
Wed Jan 6 12:45:42 GMT 1999


I used to compile my java files with the JDK 1.1.7 compiler. For those of you 
who are running a Java Virtual Machine 1.2, you should have this kind of error 
message :

java.lang.VerifyError: (class: fr/loria/xml/parser/ParserTokenManager,
method: jjFillToken signature: ()Lfr/loria/xml/parser/Token;) Register 0
contains wrong type
	at fr.loria.xml.parser.XMLParser.<init>(
	at fr.loria.xml.parser.XMLParser.<init>(
	at fr.loria.xml.XDocument.load(
	at fr.loria.xml.XDocument.load(
	at fr.loria.xml.sax.SAXDriver.parse(
Exception in thread "main" 

It is because of the optimized java bytecode incompatibility between JDK 1.1.x 
and JDK 1.2. I have reported this bug to Sun developpers and their answer has 
been : "Do not use the option -O !".

If you are using SXP with the JVM/JDK 1.2, you should download a new archive 
of the Java classes (without any bytecode optimization) from :

	(with same version numbering)

Sorry for all the inconvenience.


  bonhomme at               |      Office : B.228   |      Phone  : 03 83 59 30 52
   * Serveur Silfide  :
   * Projet Aquarelle :

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list