-
Bug
-
Resolution: Fixed
-
P4
-
11, 13, 14
-
b08
-
generic
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8229106 | 13.0.2 | Matthias Baesken | P4 | Resolved | Fixed | b01 |
JDK-8229096 | 13.0.1 | Matthias Baesken | P4 | Resolved | Fixed | b05 |
JDK-8229035 | 13 | Matthias Baesken | P4 | Resolved | Fixed | b33 |
JDK-8253782 | 11.0.10-oracle | Matthias Baesken | P4 | Resolved | Fixed | b01 |
JDK-8229308 | 11.0.5 | Matthias Baesken | P4 | Resolved | Fixed | b03 |
JDK-8298079 | openjdk8u372 | Jonathan Dowland | P4 | Resolved | Fixed | b01 |
NumberFormatException :
java.lang.NumberFormatException: For input string: "18446744073709551615"
at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:68)
at java.base/java.lang.Long.parseLong(Long.java:699)
at java.base/java.lang.Long.parseLong(Long.java:824)
at jdk.test.lib.containers.cgroup.MetricsTester.getLongValueFromFile(MetricsTester.java:160)
at jdk.test.lib.containers.cgroup.MetricsTester.testMemorySubsystem(MetricsTester.java:223)
at TestCgroupMetrics.main(TestCgroupMetrics.java:50)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:830)
I checked the number "18446744073709551615" and it seems to be larger than Long.html#MAX_VALUE : A constant holding the maximum value a long can have, 2^63-1 = “9,223,372,036,854,775,807”
But we have : "18,446,744,073,709,551,615" .
Looks like from C side (Linux kernel?) we have unsigned long long.
https://www.redhat.com/archives/libvir-list/2013-December/msg00435.html
describes it a bit.
- backported by
-
JDK-8229035 jdk/internal/platform/cgroup/TestCgroupMetrics.java - NumberFormatException because of large long values (memory limit_in_bytes)
- Resolved
-
JDK-8229096 jdk/internal/platform/cgroup/TestCgroupMetrics.java - NumberFormatException because of large long values (memory limit_in_bytes)
- Resolved
-
JDK-8229106 jdk/internal/platform/cgroup/TestCgroupMetrics.java - NumberFormatException because of large long values (memory limit_in_bytes)
- Resolved
-
JDK-8229308 jdk/internal/platform/cgroup/TestCgroupMetrics.java - NumberFormatException because of large long values (memory limit_in_bytes)
- Resolved
-
JDK-8253782 jdk/internal/platform/cgroup/TestCgroupMetrics.java - NumberFormatException because of large long values (memory limit_in_bytes)
- Resolved
-
JDK-8298079 jdk/internal/platform/cgroup/TestCgroupMetrics.java - NumberFormatException because of large long values (memory limit_in_bytes)
- Resolved
- duplicates
-
JDK-8228437 TestCgroupMetrics.java - NumberFormatException because of large long values (memory limit_in_bytes)
- Closed