Silfide XML Parser : VerifyError bug fixed

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


Hi,

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>(XMLParser.java)
	at fr.loria.xml.parser.XMLParser.<init>(XMLParser.java)
	at fr.loria.xml.XDocument.load(XDocument.java)
	at fr.loria.xml.XDocument.load(XDocument.java)
	at fr.loria.xml.sax.SAXDriver.parse(SAXDriver.java)
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 :

	http://www.loria.fr/projets/XSilfide/EN/sxp/download.html

	(with same version numbering)

Sorry for all the inconvenience.

Pat.

-- 
  ==============================================================
  bonhomme at loria.fr               |      Office : B.228
  http://www.loria.fr/~bonhomme   |      Phone  : 03 83 59 30 52
  --------------------------------------------------------------
   * Serveur Silfide  : http://www.loria.fr/projets/Silfide
   * Projet Aquarelle : http://aqua.inria.fr
  ==============================================================



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/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe 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