JDK-8210108 : sun/tools/jstatd test build failures after JDK-8210022
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: 12
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-08-28
  • Updated: 2022-03-22
  • Resolved: 2018-08-28
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 :  
Description
Several sun/tools/jstatd tests fail to build after JDK-8210022:

test/jdk/sun/tools/jstatd/JstatdTest.java:138: error: incompatible types: jdk.testlibrary.OutputAnalyzer cannot be converted to jdk.test.lib.process.OutputAnalyzer
        OutputAnalyzer output = ProcessTools.executeProcess(processBuilder);
                                                           ^
open/test/jdk/sun/tools/jstatd/JstatdTest.java:193: error: incompatible types: jdk.testlibrary.OutputAnalyzer cannot be converted to jdk.test.lib.process.OutputAnalyzer
        OutputAnalyzer output = ProcessTools.executeProcess(processBuilder);
                                                           ^
Comments
A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk11u-dev/pull/922 Date: 2022-03-19 12:22:15 +0000
19-03-2022

Fix requese for jdk11u I'd like to backport this patch to fix the following testing failures ------------------------------------------------------- sun/tools/jstatd/TestJstatdDefaults.java sun/tools/jstatd/TestJstatdServer.java sun/tools/jstatd/TestJstatdPort.java sun/tools/jstatd/TestJstatdExternalRegistry.java sun/tools/jstatd/TestJstatdPortAndServer.java Patch can be applied cleanly. Only change in the test code, so the risk is low. Thanks.
19-03-2022

URL: http://hg.openjdk.java.net/jdk/jdk/rev/a2f1923b3e16 User: iignatyev Date: 2018-08-28 21:36:21 +0000
28-08-2018

http://cr.openjdk.java.net/~iignatyev//8210108/webrev.00/index.html
28-08-2018