instanceof not implemented ?

Christoph Kulla Christoph.Kulla at tu-clausthal.de
Sat Mar 28 10:20:51 PST 1998


Hi,

executing java code containing instanceof results in the following exception:

java.lang.InternalError: java.lang.Class:isInstance unimplemented
        at intran/InstanceOfMatchPattern.nextMatch(73)
        at intran/MetaVariable.match(152)
        at intran/MVDictionary.put(81)
        at intran/MVMPattern.nextMatch(88)
        at intran/OpenRowMPattern.matchElements(77)
        at intran/OpenRowAbstractMPattern.nextMatch(212)
        at intran/MetaVariable.match(152)
        at intran/MVDictionary.put(81)
        at intran/MVMPattern.nextMatch(88)
        at intran/MetaVariable.match(152)
        at intran/CountingMVDictionary.put(91)
        at intran/MVMPattern.nextMatch(88)
        at intran/OpenRowCutMPattern.nextMatch(163)
        at intran/ClosedRowMPattern.nextMatch(75)
        at intran/MustBeAClosedDOMPattern.nextMatch(60)
        at intran/SimpleTotalRule.nextMatch(244)
        at intran/BundleRule.nextMatchLeftSides(370)
        at intran/BundleRule.next(182)
        at intran/ProgramState.next(119)
        at intran/Program.step(166)
        at sort.run(154)
        at sort.main(34)

Another error is:

Running java.lang.InternalError: java.lang.Class:getMethod0 unimplemented
        at java/lang/Class.getDeclaredMethod(line unknown, pc 0x401f7dc7)
        at runSamples.runSample(80)
        at runSamples.runMatchSamples(29)
        at runSamples.main(112)


I´m using Linux and Kaffe 0.9.0. The source code is compiled with JDK 1.1.3.



More information about the kaffe mailing list