The new test added as part of the
[JDK-8285445](https://bugs.openjdk.java.net/browse/JDK-8285445) cannot trigger
that bug and pass w/ and w/o fix.
An updated test validates the "default" case when the `jdk.io.File.enableADS`
property is not set, in this case the ADS should be
On Sun, 24 Apr 2022 09:18:54 GMT, Ichiroh Takiguchi
wrote:
> On JDK19 with Linux ja_JP.eucjp locale,
> System.getenv() returns unexpected value if environment variable has Japanese
> EUC characters.
> It seems this issue happens because of JEP 400.
> Arguments for ProcessBuilder have same kind
On JDK19 with Linux ja_JP.eucjp locale,
System.getenv() returns unexpected value if environment variable has Japanese
EUC characters.
It seems this issue happens because of JEP 400.
Arguments for ProcessBuilder have same kind of issue.
-
Commit messages:
- 8285517: System.getenv()
TimeUnit.toMillis/toNanos/toMicros/toSeconds is shorter and a bit faster.
Compared via JMH benchmark: 150ns -> 125ns/op
Benchamark adapted from
http://cr.openjdk.java.net/~shade/8152083/TimeUnitBench.java
@Warmup(iterations = 5, time = 1, timeUnit = TimeUnit.SECONDS)
@Measurement(iterations =