OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Silfide XML Parser : VerifyError bug fixed

[ Lists Home | Date Index | Thread Index ]
  • From: Patrice Bonhomme <Patrice.Bonhomme@loria.fr>
  • To: silfide-dev@loria.fr, xml-dev@ic.ac.uk
  • Date: Wed, 06 Jan 1999 13:44:58 +0100


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@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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS