Reflect test

Date view Thread view Subject view Author view

From: Archie Cobbs (archie@whistle.com)
Date: Mon Dec 28 1998 - 19:25:49 EST


When I create Klasses.jar using jikes instead of javac, the Reflect.java
test fails. This seems to be because jikes is marking (for example)
every method in java.lang.System as final, because the whole class
is final. Javac doesn't seem to do this.

While functionally there should be no difference, in the Reflect
test the javac compiled System class conatins non-final methods
(which is what the test expects) while the jikes compiled System
class contains final methods.

Question then is, is there a stnadard for how the compiler is
supposed to flag methods in a final class? And is kaffe's reflection
code supposed to display either case the same way?

That is, either one of the compilers is broken, or kaffe is broken,
or the test itself is broken because it relies on javac.

-Archie

___________________________________________________________________________
Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:27 EDT