JDK-8257397 : [TESTBUG] test/lib/containers/docker/Common.java refers to -Xlog:os+container=trace
  • Type: Bug
  • Component: core-svc
  • Sub-Component: tools
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: generic
  • Submitted: 2020-11-30
  • Updated: 2020-12-02
  • Resolved: 2020-11-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
openjdk8u282 b04Fixed
Related Reports
Relates :  
Relates :  
Description
A file in the JDK test library, Common.java, used for container testing refers to JDK 11+ logging switches: -Xlog:os+container=trace. Tests which try to use Common.java will fail to run as the JVM will abort due to using the wrong switch.

Seems to have been introduced with the JDK 8 JFR backport. As such, this is a OpenJDK 8u only bug.
Comments
URL: https://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/ec6d52cea1e6 User: andrew Date: 2020-12-02 04:52:45 +0000
02-12-2020

URL: https://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/ec6d52cea1e6 User: sgehwolf Date: 2020-11-30 17:08:19 +0000
30-11-2020

The JDK 8u switches, -XX:+UnlockDiagnosticVMOptions -XX:+PrintContainerInfo, should be used instead.
30-11-2020

This blocks the OpenJDK 8u backport of JDK-8242480 which uses Common.java in a test.
30-11-2020