4496456 illustrated the need to hide the "backtrace" field in
java.lang.Throwable from consumption by reflection. 5012949 illustrated the need
to hide some additional fields in other classes. The mechanism introduced in the
Java libraries for 5012949 is more general than the code added to jvm.cpp for
4496456; we should remove the code in the VM for 4496456 and filter out the
backtrace field at the Java level.
java.lang.Throwable from consumption by reflection. 5012949 illustrated the need
to hide some additional fields in other classes. The mechanism introduced in the
Java libraries for 5012949 is more general than the code added to jvm.cpp for
4496456; we should remove the code in the VM for 4496456 and filter out the
backtrace field at the Java level.
- relates to
-
JDK-5026971 (hotspot) Clean up hiding of exception backtrace field
-
- Closed
-
-
JDK-4496456 Segmentation fault introspecting ((Throwable) obj).backtrace[0][0]
-
- Closed
-
-
JDK-5012949 Reflect.Instances.add of a null causes a Sig 11 in 1.4.2
-
- Closed
-