JDK-8209150 : [TESTBUG] Add logging to verify JDK-8197901 to a different test
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 12
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-08-08
  • Updated: 2022-11-07
  • Resolved: 2018-08-23
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.
JDK 11 JDK 12
11.0.16Fixed 12 b09Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
The test RedefineRunningMethods.java added all trace logging.  This is logging that I want to read and the test runs for too long.  Move verification of bug JDK-8197901 to a different test.

Also, I think it should be -Xlog:all:all.log because the logging comes out to the jtr file for this test.

34  * @run main/othervm -javaagent:redefineagent.jar -Xlog:redefine+class+iklass+add=trace,redefine+class+iklass+purge=trace,all=trace:file=all.log RedefineRunningMethods
  35  */
  36 // Test is executed with full trace logging redirected to a file to ensure there is no crash during logging anonymous classes - see JDK-8197901
Comments
Fix request [11u] I backport this test-only change for parity with 11.0.17-oracle. No risk, only a test change. Clean backport. Test passes. SAP nighlty testing passed.
18-05-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk11u-dev/pull/1087 Date: 2022-05-16 11:44:03 +0000
16-05-2022

Git URL: https://github.com/openjdk/jdk/commit/aad3230b1d7a52a74708a68aa776467c0bbb87b2
16-05-2022

URL: http://hg.openjdk.java.net/jdk/jdk/rev/fcf2fdd96a33 User: lmesnik Date: 2018-08-23 23:21:31 +0000
23-08-2018