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

David Holmes dholmes at openjdk.org
Fri Jul 8 06:15:42 UTC 2022


On Thu, 7 Jul 2022 20:43:09 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> 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.

I skimmed the diff and this seems fine.

Are we not going to remove the old WhiteBox at the same time?

Thanks.

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

Marked as reviewed by dholmes (Reviewer).

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


More information about the serviceability-dev mailing list