JDK-6449966 - Java Issue Tracker
Sample DTF XML job file : <testrequest priority="100"> -*-html-*- <jdk dir ... message in-Xcheck:jni 5082481 normal DnD program causes "FATAL ERROR in ...
Sample DTF XML job file : <testrequest priority="100"> -*-html-*- <jdk dir ... message in-Xcheck:jni 5082481 normal DnD program causes "FATAL ERROR in ...
It's an error in java.lang.String source code which is the same for all JDK distributions.Create String from char array, release dummy char array. String longString = new String(bigCharArray)
FYI - .NET does not allow a string containing a null byte to be used by the file APIs. EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - When a file API receives a string to be used as a filename, it should throw an exception if the string contains characters that are illegal in the underlying filesystem's naming rules.
I have attached the code, and two trivial HTML documents. Untitled.html was created with Netscape Communicator 4.5. Untitled2.html is the same file with one head element removed (using emacs). %
The code files included are: AppTest.html FrameTest.html MyApplet.java Sample.html. If you OpenFrameTest.html and use the applet as I said, the exception occurs.