Howdy folks,

I've run into a bit of a snag while trying to compile classpath, and I'm
hoping somebody may see something I've missed.

Everything goes OK until I get to the portion of the compile where
header files are generated (via javah).  When javah tries to process
java.lang.Double, I get the message:

java/lang/RuntimeException (Assertion botch: excessively large digit:
28)

along with a nice stack trace (see make.log, attatched).

This happens when using either javah from Blackdown JDK 1.2.2 RC 3 or
from japhar-0.08, so I'm thinking it's either related to the classpath
java/lang/Double, or the libs in the Blackdown rt.jar.

Has anybody else run into this?  Or better yet, does anyone have a
work-around/fix?


TIA,
Ian
Making all in lib
make[1]: Entering directory `/usr/local/src/classpath/lib'
/usr/local/japhar/bin/javah -jni -classpath .:/usr/local/japhar/share/rt.jar 
java.lang.Double
java/lang/RuntimeException (Assertion botch: excessivly large digit 28)
        at java/lang/FloatingDecimal.dtoa(FloatingDecimal.java:522, pc = 1199)
        at java/lang/FloatingDecimal.<init>(FloatingDecimal.java:395, pc = 211)
        at java/lang/Double.toString(Double.java:132, pc = 8)
        at java/lang/String.valueOf(String.java:2068, pc = 4)
        at java/lang/Double.toString(Double.java:279, pc = 7)
        at com/sun/tools/javah/Gen.defineForStatic(Gen.java:215, pc = 313)
        at com/sun/tools/javah/JNI.write(JNI.java:39, pc = 72)
        at com/sun/tools/javah/Gen.run(Gen.java:141, pc = 102)
        at com/sun/tools/javah/Main.run(Main.java:173, pc = 7)
        at com/sun/tools/javah/Main.main(Main.java:40, pc = 42)
mv java_lang_Double.h ../include
mv: java_lang_Double.h: No such file or directory
make[1]: *** [../include/java_lang_Double.h] Error 1
make[1]: Leaving directory `/usr/local/src/classpath/lib'
make: *** [all-recursive] Error 1

Reply via email to