JDK-8232370 : Refactor some com.sun.jdi tests to enable IDE integration
  • Type: Bug
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 11,14
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-10-16
  • Updated: 2022-06-27
  • Resolved: 2019-10-17
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 13 JDK 14
11.0.7Fixed 13.0.4Fixed 14 b20Fixed
Related Reports
Relates :  
Description
While trying to integrate com.sun.jdi tests into an Eclipse IDE project, I stumbled over the following tests:
test/jdk/com/sun/jdi/MonitorEventTest.java
test/jdk/com/sun/jdi/MonitorFrameInfo.java
test/jdk/com/sun/jdi/RedefineImplementor.java

These tests live in directory test/jdk/com/sun/jdi and contain some class implementations with the same name. So the IDE finds that ambiguous and I see compilation errors. This can be fixed by some minor refactoring.
Comments
Fix request (13u): The original change applies cleanly. Tests work correctly with the patch.
03-06-2020

Fix request (11u) Requesting backport of this test-only patch for better Eclipse IDE support. Change did not fully apply so I started a review thread: https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2019-December/002264.html. Tests still work correctly with the patch.
19-12-2019

URL: https://hg.openjdk.java.net/jdk/jdk/rev/5f14a659a8cb User: clanger Date: 2019-10-17 20:43:37 +0000
17-10-2019