Patch: Array classes and Constant-time dispatch

Bryce McKinlay bryce@albatross.co.nz
Thu Mar 9 01:30:00 GMT 2000


I have committed this patch, which fixes a bug in the new interface
dispatch code. Array classes implement Serializable and Cloneable, so
they need to have an interface dispatch table (idt). This was causing a
NullPointerException in testsuite/java.lang/Array_1.java

Three other issues have come up:

1. Doesn't _Jv_FindArrayClass() need to be synchronized? At least the
parts below the cache lookups. Or am I missing some implicit
synchronization somewhere?

2. Array_1.java still crashes, because for some reason
System.out.println(class) doesnt work! This seems to be related to
PR libgcj/100. Weird.

3. gnats is acting up again, whats with those "Pending" PRs?

regards

  [ bryce ]



More information about the Java-patches mailing list