RFR: 8138689 use package for /compiler/whitebox common classes

Dmitrij Pochepko dmitrij.pochepko at oracle.com
Mon Nov 2 17:38:08 UTC 2015


Hi,

please review fix for https://bugs.openjdk.java.net/browse/JDK-8138689 - 
use package for /compiler/whitebox common classes

Description:

A common class CompilerWhiteBoxTest was moved to compiler.whitebox 
package, so, respective changes were made in tests to reflect that.
Also, a CompilerWhiteBoxTest has few protected static fields and methods 
moved to public for tests to access it.

Test changes: most of tests has 2 changes:
a) changed @library tag entry from '/compiler/whitebox' to '/'
b) added import compiler.whitebox.CompilerWhiteBoxTest;

also compiler/whitebox tests which has CompilerCommand compileonly 
directive were changed to have package name in compileonly parameter.
another small change is in LevelTransitionTest isTrivial() detection 
which can't access SimpleTestCase, so, testcase filtering is done by 
testcase name now.

Testing: I've tested it on linux-amd64

Thanks,
Dmitrij
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20151102/c8248c9b/attachment.html>


More information about the hotspot-compiler-dev mailing list