bugs.java.com
JDK-6449966 - Java Issue Tracker
The following test cases are failing with flag -Xcheck:jni for 1.5.0_08b03 on winXP-x86 : AppletAttacks/AppletAttacks_test1 execute_script ...
The following test cases are failing with flag -Xcheck:jni for 1.5.0_08b03 on winXP-x86 : AppletAttacks/AppletAttacks_test1 execute_script ...
It's an error in java.lang.String source code which is the same for all JDK distributions.I have created a more simple example class which demonstrates this behaviour very clearly. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : See bug ID 4637640.
I have now isolated the problem into a single piece of code for demonstration purposes. This is cut down from a larger piece of software which uses the Java Activation Framework (hence the use of InputStreams). I have attached the code, and two trivial HTML documents.