gij does not run gjdoc with new gnujaxp

Arnaud Vandyck arnaud.vandyck@ulg.ac.be
Wed Apr 21 08:18:00 GMT 2004


Hi,
I've been working on merging gnujaxp and libxmlj to have transformation
with gnujaxp. libxmlj is mostly bindings to GNU libxslt. gnujaxp has
been compiled with gcj, gcjh and gcc.
The test has been made on Debian unstable powerpc with cvs gcj from
March:
$ gij --version
gij (GNU libgcj) version 3.5.0 20040315 (experimental)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
arnaud@oz:~/prj/contacts$ LD_LIBRARY_PATH=/usr/lib/jni gij\
 -Djavax.xml.transform.TransformerFactory=\
gnu.xml.libxmlj.transform.TransformerFactoryImpl\
 -classpath /usr/share/java/gjdoc.jar:/usr/share/java/gnujaxp.jar\
 gnu.classpath.tools.gjdoc.Main -sourcepath src -d apidoc\
 -nohtmlwarn ste.contacts
For now, please make sure that you include the core source directory
in -sourcepath
Loading classes for package ste.contacts...
WARNING: No description found for package ste.contacts
Constructing Javadoc information...
Resolving references in classes...
Resolving references in packages...
Resolving references in class comments...
Resolving references in package comments...
Running doclet...
Writing XML Index file...
Writing XML information for ste.contacts.Main...
Done.
java.lang.reflect.InvocationTargetException
 at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, boolean, java.lang.Class[], jvalue, jvalue, boolean) (/usr/local/lib/libgcj.so.6.0.0)
 at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, java.lang.Class[], java.lang.Object[]) (/usr/local/lib/libgcj.so.6.0.0)
 at java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (/usr/local/lib/libgcj.so.6.0.0)
 at gnu.gcj.runtime.FirstThread.call_main() (/usr/local/lib/libgcj.so.6.0.0)
 at gnu.gcj.runtime.FirstThread.run() (/usr/local/lib/libgcj.so.6.0.0)
 at _Jv_ThreadRun(java.lang.Thread) (/usr/local/lib/libgcj.so.6.0.0)
 at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/local/lib/libgcj.so.6.0.0)
 at main (/home/arnaud/prj/contacts/../.././libjava/gij.cc:167)
 at __libc_start_main (/lib/libc-2.3.2.so)
Caused by: java.lang.VerifyError: verification failed at PC 21 in javax.xml.parsers.SAXParser:parse((Lorg.xml.sax.InputSource;Lorg.xml.sax.HandlerBase;)V): incompatible type on stack
 at _Jv_BytecodeVerifier.verify_fail(byte, int) (/usr/local/lib/libgcj.so.6.0.0)
 at _Jv_BytecodeVerifier.pop_init_ref(_Jv_BytecodeVerifier.type) (/usr/local/lib/libgcj.so.6.0.0)
 at _Jv_BytecodeVerifier.verify_instructions_0() (/usr/local/lib/libgcj.so.6.0.0)
 at _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/local/lib/libgcj.so.6.0.0)
 at _Jv_PrepareClass(java.lang.Class) (/usr/local/lib/libgcj.so.6.0.0)
 at _Jv_WaitForState(java.lang.Class, int) (/usr/local/lib/libgcj.so.6.0.0)
 at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/local/lib/libgcj.so.6.0.0)
 at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/local/lib/libgcj.so.6.0.0)
 at _Jv_PrepareClass(java.lang.Class) (/usr/local/lib/libgcj.so.6.0.0)
 at _Jv_WaitForState(java.lang.Class, int) (/usr/local/lib/libgcj.so.6.0.0)
 at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/local/lib/libgcj.so.6.0.0)
 at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/local/lib/libgcj.so.6.0.0)
 at java.lang.Class.initializeClass() (/usr/local/lib/libgcj.so.6.0.0)
 at _Jv_CallAnyMethodA(java.lang.Object, java.lang.Class, _Jv_Method, boolean, boolean, java.lang.Class[], jvalue, jvalue, boolean) (/usr/local/lib/libgcj.so.6.0.0)
 ...8 more
... and with kaffe 1.1.4:
arnaud@oz:~/prj/contacts$ LD_LIBRARY_PATH=/usr/lib/jni kaffe -Djavax.xml.transform.TransformerFactory=gnu.xml.libxmlj.transform.TransformerFactoryImpl -classpath /usr/share/java/gjdoc.jar:/usr/share/java/gnujaxp.jar gnu.classpath.tools.gjdoc.Main -sourcepath src -d apidoc -nohtmlwarn ste.contacts
For now, please make sure that you include the core source directory
in -sourcepath
Loading classes for package ste.contacts...
WARNING: No description found for package ste.contacts
Constructing Javadoc information...
Resolving references in classes...
Resolving references in packages...
Resolving references in class comments...
Resolving references in package comments...
Running doclet...
Writing XML Index file...
Writing XML information for ste.contacts.Main...
Running DocTranslet...
Generating HTML Index file...
Generating HTML Index file (No Frames)...
Generating HTML Descriptor file...
Generating HTML All Classes file...
Generating HTML All Packages file...
Generating HTML Tree file...
Generating HTML Documentation for package ste.contacts...
Generating HTML Class list for package ste.contacts...
Generating HTML Hierarchy for package ste.contacts...
Generating HTML Documentation for ste.contacts.Main...
Copying CSS Stylesheet...
Done.
1 warnings
arnaud@oz:~/prj/contacts$ 
-- 
Arnaud Vandyck
I think it's a little fantastic to try to form a picture in people's 
minds of the Debian archive administration team huddled over their 
terminals, their faces lit only by a CRT with a little root shell 
prompt and the command 
"/project/org/ftp.debian.org/cabal/s3kr1t/nuke-non-free.pl" all keyed 
in and ready to go, their fingers poised over the enter key, a sweat of 
lustful anticipated beading on their upper lips."
		-- Branden Robinson in 
		 <20031104211846.GK13131@deadbeast.net> discussing 
		 his draft Social Contract amendment


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /