JDK-8161256: general data in constant pools - Java Issue Tracker
Jul 12, 2016 ... This scheme is much more future-proof, and can represent future types (like values and flat value-array constants) without new constant pool ...
Jul 12, 2016 ... This scheme is much more future-proof, and can represent future types (like values and flat value-array constants) without new constant pool ...
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.
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.
... command with gold output file. All this test cases are passing without this ... Sample DTF XML job file : <testrequest priority="100"> -*-html-*- <jdk ...
A DESCRIPTION OF THE PROBLEM : You can create a file that Java's java.io.File class cannot read. This is because file names are actually byte-arrays in the os but java.io.File takes a String for a file name (which is composed of Unicode characters).