[committed] allow assert in inner class
Tom Tromey
tromey@redhat.com
Sat Feb 28 03:47:00 GMT 2004
Per> non-jls-jsr41.3-runtime-2 "Asserts do not cause class initialization"
Per> (which is in jacks/tests/runtime/non-jls/assert/tests.tcl).
Per> The test case does work work when compiling to native, but
Per> fails when compiling to bytecode. However, JDK 1.4.2 fails
Per> in the same manner, and there is something to be said for
Per> compatibility.
I don't know about this specific case, but there are other situations
where the JDK erroneously causes class initialization and which Sun
has agreed are bugs. `foo.class' is the one I know about. I'm sure
Eric Blake knows more.
Per> Presumably we should mark this as a Jacks XFAIL; could someone
Per> with a Jacks account do that?
Jacks xfails are handled by our test harness, see
libjava/testsuite/libjava.jacks/jacks.xfail. Jacks itself has no
notion of xfail, afaik.
Tom
More information about the Gcc-patches
mailing list