JDK-8011397 : JTREG needs to copy additional WhiteBox class file to JTwork/scratch/sun/hotspot
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 7,8,9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2013-04-02
  • Updated: 2018-03-08
  • Resolved: 2014-08-12
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 9
9 b28Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
The fix for bug JDK-8006753 should be improved to also copy WhiteBox$WhiteBoxPermission.class to directory JTwork/scratch/sun/hotspot/.  Currently, only WhiteBox.class gets copied.

Otherwise, the WhiteBox tests fail when run with JTREG if -Xfuture is specified.
Comments
RULE compiler/8009761/Test8009761.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/arguments/TestUseBMI1InstructionsOnSupportedCPU.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/arguments/TestUseBMI1InstructionsOnUnsupportedCPU.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/arguments/TestUseCountLeadingZerosInstructionOnSupportedCPU.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/arguments/TestUseCountLeadingZerosInstructionOnUnsupportedCPU.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/arguments/TestUseCountTrailingZerosInstructionOnSupportedCPU.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/arguments/TestUseCountTrailingZerosInstructionOnUnsupportedCPU.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/bmi/TestAndnI.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/bmi/TestAndnL.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/bmi/TestBlsiI.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/bmi/TestBlsiL.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/bmi/TestBlsmskI.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/bmi/TestBlsmskL.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/bmi/TestBlsrI.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/bmi/TestBlsrL.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/bmi/TestLzcntI.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/bmi/TestLzcntL.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/bmi/TestTzcntI.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/bmi/TestTzcntL.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/bmi/verifycode/AddnTestI.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/bmi/verifycode/AddnTestL.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/bmi/verifycode/BlsiTestI.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/bmi/verifycode/BlsiTestL.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/bmi/verifycode/BlsmskTestI.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/bmi/verifycode/BlsmskTestL.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/bmi/verifycode/BlsrTestI.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/bmi/verifycode/BlsrTestL.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/bmi/verifycode/LZcntTestI.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/bmi/verifycode/LZcntTestL.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/bmi/verifycode/TZcntTestI.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/bmi/verifycode/TZcntTestL.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/mathexact/sanity/AddExactIntTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/mathexact/sanity/AddExactLongTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/mathexact/sanity/DecrementExactIntTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/mathexact/sanity/DecrementExactLongTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/mathexact/sanity/IncrementExactIntTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/mathexact/sanity/IncrementExactLongTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/mathexact/sanity/MultiplyExactIntTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/mathexact/sanity/MultiplyExactLongTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/mathexact/sanity/NegateExactIntTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/mathexact/sanity/NegateExactLongTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/mathexact/sanity/SubtractExactIntTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/intrinsics/mathexact/sanity/SubtractExactLongTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/cli/TestPrintPreciseRTMLockingStatisticsOptionOnSupportedConfig.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/cli/TestPrintPreciseRTMLockingStatisticsOptionOnUnsupportedConfig.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/cli/TestRTMAbortRatioOptionOnSupportedConfig.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/cli/TestRTMAbortRatioOptionOnUnsupportedConfig.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/cli/TestRTMTotalCountIncrRateOptionOnSupportedConfig.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/cli/TestRTMTotalCountIncrRateOptionOnUnsupportedConfig.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/cli/TestUseRTMDeoptOptionOnSupportedConfig.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/cli/TestUseRTMDeoptOptionOnUnsupportedConfig.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/cli/TestUseRTMForStackLocksOptionOnSupportedConfig.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/cli/TestUseRTMForStackLocksOptionOnUnsupportedConfig.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/cli/TestUseRTMLockingOptionOnSupportedConfig.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/cli/TestUseRTMLockingOptionOnUnsupportedCPU.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/cli/TestUseRTMLockingOptionOnUnsupportedVM.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/cli/TestUseRTMLockingOptionWithBiasedLocking.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/locking/TestRTMAbortRatio.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/locking/TestRTMAbortThreshold.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/locking/TestRTMAfterNonRTMDeopt.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/locking/TestRTMDeoptOnHighAbortRatio.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/locking/TestRTMDeoptOnLowAbortRatio.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/locking/TestRTMLockingCalculationDelay.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/locking/TestRTMLockingThreshold.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/locking/TestRTMRetryCount.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/locking/TestRTMSpinLoopCount.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/locking/TestRTMTotalCountIncrRate.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/locking/TestUseRTMAfterLockInflation.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/locking/TestUseRTMDeopt.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/locking/TestUseRTMForInflatedLocks.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/locking/TestUseRTMForStackLocks.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/locking/TestUseRTMXendForLockBusy.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/method_options/TestNoRTMLockElidingOption.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/method_options/TestUseRTMLockElidingOption.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/rtm/print/TestPrintPreciseRTMLockingStatistics.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/types/correctness/CorrectnessTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/whitebox/IsMethodCompilableTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/whitebox/SetDontInlineMethodTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE compiler/whitebox/SetForceInlineMethodTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE gc/metaspace/TestMetaspaceMemoryPool.java Exception java.lang.RuntimeException: Expected to find a memory pool with name Compressed Class Space RULE runtime/ClassUnload/KeepAliveClass.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE runtime/ClassUnload/KeepAliveClassLoader.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE runtime/ClassUnload/KeepAliveObject.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE runtime/ClassUnload/KeepAliveSoftReference.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE runtime/ClassUnload/UnloadTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE runtime/NMT/ThreadedVirtualAllocTestType.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE runtime/NMT/VirtualAllocTestType.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE runtime/interned/SanityTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE runtime/memory/RunUnitTestsConcurrently.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE runtime/memory/StressVirtualSpaceResize.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE runtime/whitebox/WBStackSize.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE sanity/WBApi.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE serviceability/ParserTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE testlibrary/ctw/test/ClassesDirTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE testlibrary/ctw/test/ClassesListTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE testlibrary/ctw/test/JarDirTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE testlibrary/ctw/test/JarsTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE testlibrary_tests/whitebox/vm_flags/BooleanTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE testlibrary_tests/whitebox/vm_flags/DoubleTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE testlibrary_tests/whitebox/vm_flags/IntxTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE testlibrary_tests/whitebox/vm_flags/StringTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE testlibrary_tests/whitebox/vm_flags/Uint64Test.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission RULE testlibrary_tests/whitebox/vm_flags/UintxTest.java Exception java.lang.NoClassDefFoundError: sun/hotspot/WhiteBox$WhiteBoxPermission
28-08-2014

Webrev: http://cr.openjdk.java.net/~fzhinkin/azakharov/8011397/webrev.01/
15-07-2014

Suggesting patch with fixes. Attaching webreb too, to initiate procedure - I need submitter to help upload it.
07-05-2014

ILW = LHM -> P4
10-10-2013

No, this is an issue with the jtreg tests that use WhiteBox, not with the harness itself.
10-10-2013

Evgeny: Why is this a GC bug?
07-10-2013

Need the "AffectedVersion" field filled in
09-04-2013