JDK-8161256: general data in constant pools - Java Issue Tracker
Jul 12, 2016 ... \[1] 2. CONSTANT_Group (new constant tag 13): Be able to create a ... It can be very low-level, since it will not be called by user code.
Jul 12, 2016 ... \[1] 2. CONSTANT_Group (new constant tag 13): Be able to create a ... It can be very low-level, since it will not be called by user code.
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.
When examined by Java code, an environment variable has only String names and values, approximations of the underlying real names and values, but the environment variables themselves will not be corrupted by being passed through the ProcessBuilder abstraction.