changeset 142:f47edaf48f0c

Fix UnsafeBusyLoopTest.
author shade
date Tue, 18 Mar 2014 22:39:41 +0400
parents b86a7026d3a0
children 1e8e9bbc6411
files tests-custom/src/main/java/org/openjdk/jcstress/tests/interrupt/UnsafeBusyLoopTest.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests-custom/src/main/java/org/openjdk/jcstress/tests/interrupt/UnsafeBusyLoopTest.java	Tue Mar 18 22:32:23 2014 +0400
+++ b/tests-custom/src/main/java/org/openjdk/jcstress/tests/interrupt/UnsafeBusyLoopTest.java	Tue Mar 18 22:39:41 2014 +0400
@@ -40,7 +40,7 @@
 
     static {
         try {
-            offset = UnsafeHolder.U.fieldOffset(State.class.getDeclaredField("isStopped"));
+            offset = UnsafeHolder.U.fieldOffset(UnsafeBusyLoopTest.class.getDeclaredField("isStopped"));
         } catch (NoSuchFieldException e) {
             throw new IllegalStateException(e);
         }