--- old/test/compiler/whitebox/CompilerWhiteBoxTest.java 2015-11-02 19:27:42.675405434 +0300 +++ new/test/compiler/whitebox/CompilerWhiteBoxTest.java 2015-11-02 19:27:42.623405434 +0300 @@ -20,6 +20,7 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ +package compiler.whitebox; import sun.hotspot.WhiteBox; import sun.hotspot.code.NMethod; @@ -38,19 +39,19 @@ */ public abstract class CompilerWhiteBoxTest { /** {@code CompLevel::CompLevel_none} -- Interpreter */ - protected static final int COMP_LEVEL_NONE = 0; + public static final int COMP_LEVEL_NONE = 0; /** {@code CompLevel::CompLevel_any}, {@code CompLevel::CompLevel_all} */ - protected static final int COMP_LEVEL_ANY = -1; + public static final int COMP_LEVEL_ANY = -1; /** {@code CompLevel::CompLevel_simple} -- C1 */ - protected static final int COMP_LEVEL_SIMPLE = 1; + public static final int COMP_LEVEL_SIMPLE = 1; /** {@code CompLevel::CompLevel_limited_profile} -- C1, invocation & backedge counters */ - protected static final int COMP_LEVEL_LIMITED_PROFILE = 2; + public static final int COMP_LEVEL_LIMITED_PROFILE = 2; /** {@code CompLevel::CompLevel_full_profile} -- C1, invocation & backedge counters + mdo */ - protected static final int COMP_LEVEL_FULL_PROFILE = 3; + public static final int COMP_LEVEL_FULL_PROFILE = 3; /** {@code CompLevel::CompLevel_full_optimization} -- C2 or Shark */ - protected static final int COMP_LEVEL_FULL_OPTIMIZATION = 4; + public static final int COMP_LEVEL_FULL_OPTIMIZATION = 4; /** Maximal value for CompLevel */ - protected static final int COMP_LEVEL_MAX = COMP_LEVEL_FULL_OPTIMIZATION; + public static final int COMP_LEVEL_MAX = COMP_LEVEL_FULL_OPTIMIZATION; /** Instance of WhiteBox */ protected static final WhiteBox WHITE_BOX = WhiteBox.getWhiteBox(); @@ -312,7 +313,7 @@ * * @param executable Executable */ - protected static final void waitBackgroundCompilation(Executable executable) { + public static final void waitBackgroundCompilation(Executable executable) { if (!BACKGROUND_COMPILATION) { return; } @@ -441,7 +442,7 @@ * @return {@code true} if the test should be skipped, * {@code false} otherwise */ - protected static boolean skipOnTieredCompilation(boolean value) { + public static boolean skipOnTieredCompilation(boolean value) { if (value == CompilerWhiteBoxTest.TIERED_COMPILATION) { System.err.println("Test isn't applicable w/ " + (value ? "enabled" : "disabled")