RFR: 8271707: migrate tests to use jdk.test.whitebox.WhiteBox

Coleen Phillimore coleenp at openjdk.org
Thu Jul 7 23:30:25 UTC 2022


This change uses sed to change sun.hotspot.WhiteBox to jdk.test.whitebox.Whitebox, and sun/hotspot/Whitebox similarly.  Due to indirect inclusions of some of the test libraries, changing a few wasn't a reliable option, and I need the new one for a different change I was looking at.
The non-sed changes are for jdk/test/whitebox/WhiteBox to add some code for GC that was only added to the sun version.
Also, the ClassFileInstaller has a label for sun.hotspot.Whitebox so that didn't change with the edit.
Tested with tiers1-6.

-------------

Commit messages:
 - 8271707: migrate tests to use jdk.test.whitebox.WhiteBox

Changes: https://git.openjdk.org/jdk/pull/9417/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9417&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8271707
  Stats: 2995 lines in 984 files changed: 6 ins; 0 del; 2989 mod
  Patch: https://git.openjdk.org/jdk/pull/9417.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9417/head:pull/9417

PR: https://git.openjdk.org/jdk/pull/9417


More information about the serviceability-dev mailing list