classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: japize


From: Brian Jones
Subject: Re: japize
Date: 04 Oct 2002 17:10:04 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Brian Jones <address@hidden> writes:

> Okay, Jode's not able to handle 1.4.
> 
> ClassInfo.java throws a ClassFormatException while reading
> java/lang/AbstractMethodError.  On line 290/291 of ClassInfo.java it
> does some version comparisons and fails.  According to JSwat, version
> is 3145728.  Guessing the if statement needs to be modified to handle
> newer class formats.

Stuart, by chance you've tried japize against Classpath recently?  I
compiled with jikes 1.17 but Jode is barfing on something.  Bug either
in Jode or Jikes... it's much fun tracking this stuff down.  I'll have
to give gcj -C a try or even resort to JDK javac and see what happens.

Processing package 
java.io,:=++++++++++++++++++++++++++++++++-+++++-++++---++++-++++++++++Exception
 in thread "main" java.lang.ArrayIndexOutOfBoundsException: 251
        at jode.bytecode.BytecodeInfo.read(BytecodeInfo.java:843)
        at jode.bytecode.MethodInfo.readAttribute(MethodInfo.java:56)
        at jode.bytecode.BinaryInfo.readAttributes(BinaryInfo.java:146)
        at jode.bytecode.MethodInfo.read(MethodInfo.java:84)
        at jode.bytecode.ClassInfo.read(ClassInfo.java:342)
        at jode.bytecode.ClassInfo.loadInfo(ClassInfo.java:614)
        at jode.bytecode.FieldInfo.getConstant(FieldInfo.java:170)
        at net.wuffies.japi.JodeField.<init>(JodeField.java:35)
        at net.wuffies.japi.JodeClass.addFields(JodeClass.java:241)
        at net.wuffies.japi.JodeClass.getFields(JodeClass.java:254)
        at net.wuffies.japi.Japize.japizeClass(Japize.java:647)
        at net.wuffies.japi.Japize.processPackage(Japize.java:426)
        at net.wuffies.japi.Japize.processPackage(Japize.java:435)
        at net.wuffies.japi.Japize.processRootSet(Japize.java:355)
        at net.wuffies.japi.Japize.doJapize(Japize.java:335)
        at net.wuffies.japi.Japize.main(Japize.java:282)
-- 
Brian Jones <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]