Results for “java array string file command error example 1 code site:bugs.java.com fix”
bugs.java.com
Java Bug Database FAQ - Java Issue Tracker
Java JDK/JRE Version. Environmental information (e.g. CLASSPATH, PATH, etc.). Command line options tried (e.g. -Xint for a compiler bug). More information can be found on Oracle's Java 8 Documentation page for Submitting a Bug Report. For regressions, include the JDK version and build number where the bug does not exist.
bugs.java.com
Bug ID: JDK-4899439 File uses strings for names but file names are...
For example, command line arguments and environment variables are presented to the user as if they were strings, but the typical content is filenames. Half-hearted attempts to fix this bug would leave us with the ability to access the underlying byte array only in some contexts.
bugs.java.com
JDK-8011539 : File APIs Should Not Allow Null Bytes
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.