changeset 13624:bc596ba1c42f JEP-193-VarHandles-branch

Fix build failure "AIOBE_SUPPLIER is not found": should be AIOOBE_SUPPLIER"
author shade
date Tue, 20 Oct 2015 14:40:27 +0300
parents 93be005f9f0b
children 6128bb4dbe95
files src/java.base/share/classes/java/lang/invoke/X-VarHandle.java.template
diffstat 1 files changed, 16 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/invoke/X-VarHandle.java.template	Thu Oct 15 18:49:43 2015 +0200
+++ b/src/java.base/share/classes/java/lang/invoke/X-VarHandle.java.template	Tue Oct 20 14:40:27 2015 +0300
@@ -431,7 +431,7 @@
 
         @ForceInline
         static $type$ getVolatile(Array handle, $type$[] array, int index) {
-            index = Objects.checkIndex(index, array.length, AIOBE_SUPPLIER);
+            index = Objects.checkIndex(index, array.length, AIOOBE_SUPPLIER);
 
             $type$ v = UNSAFE.get$Type$Volatile(array,
                                  (((long) index) << handle.ashift) + handle.abase);
@@ -444,7 +444,7 @@
 
         @ForceInline
         static void setVolatile(Array handle, $type$[] array, int index, $type$ value) {
-            index = Objects.checkIndex(index, array.length, AIOBE_SUPPLIER);
+            index = Objects.checkIndex(index, array.length, AIOOBE_SUPPLIER);
 
             UNSAFE.put$Type$Volatile(array,
                                      (((long) index) << handle.ashift) + handle.abase,
@@ -453,7 +453,7 @@
 
         @ForceInline
         static $type$ getOpaque(Array handle, $type$[] array, int index) {
-            index = Objects.checkIndex(index, array.length, AIOBE_SUPPLIER);
+            index = Objects.checkIndex(index, array.length, AIOOBE_SUPPLIER);
 
             $type$ v = UNSAFE.get$Type$Opaque(array,
                                  (((long) index) << handle.ashift) + handle.abase);
@@ -466,7 +466,7 @@
 
         @ForceInline
         static void setOpaque(Array handle, $type$[] array, int index, $type$ value) {
-            index = Objects.checkIndex(index, array.length, AIOBE_SUPPLIER);
+            index = Objects.checkIndex(index, array.length, AIOOBE_SUPPLIER);
 
             UNSAFE.put$Type$Opaque(array,
                                    (((long) index) << handle.ashift) + handle.abase,
@@ -475,7 +475,7 @@
 
         @ForceInline
         static $type$ getAcquire(Array handle, $type$[] array, int index) {
-            index = Objects.checkIndex(index, array.length, AIOBE_SUPPLIER);
+            index = Objects.checkIndex(index, array.length, AIOOBE_SUPPLIER);
 
             $type$ v = UNSAFE.get$Type$Acquire(array,
                                  (((long) index) << handle.ashift) + handle.abase);
@@ -488,7 +488,7 @@
 
         @ForceInline
         static void setRelease(Array handle, $type$[] array, int index, $type$ value) {
-            index = Objects.checkIndex(index, array.length, AIOBE_SUPPLIER);
+            index = Objects.checkIndex(index, array.length, AIOOBE_SUPPLIER);
 
             UNSAFE.put$Type$Release(array,
                                      (((long) index) << handle.ashift) + handle.abase,
@@ -498,7 +498,7 @@
 
         @ForceInline
         static boolean compareAndSet(Array handle, $type$[] array, int index, $type$ expected, $type$ value) {
-            index = Objects.checkIndex(index, array.length, AIOBE_SUPPLIER);
+            index = Objects.checkIndex(index, array.length, AIOOBE_SUPPLIER);
 
             return UNSAFE.compareAndSwap$Type$(array,
                                                (((long) index) << handle.ashift) + handle.abase,
@@ -508,7 +508,7 @@
 
         @ForceInline
         static $type$ compareAndExchangeVolatile(Array handle, $type$[] array, int index, $type$ expected, $type$ value) {
-            index = Objects.checkIndex(index, array.length, AIOBE_SUPPLIER);
+            index = Objects.checkIndex(index, array.length, AIOOBE_SUPPLIER);
 
             return UNSAFE.compareAndExchange$Type$Volatile(array,
                                                (((long) index) << handle.ashift) + handle.abase,
@@ -518,7 +518,7 @@
 
         @ForceInline
         static $type$ compareAndExchangeAcquire(Array handle, $type$[] array, int index, $type$ expected, $type$ value) {
-            index = Objects.checkIndex(index, array.length, AIOBE_SUPPLIER);
+            index = Objects.checkIndex(index, array.length, AIOOBE_SUPPLIER);
 
             return UNSAFE.compareAndExchange$Type$Acquire(array,
                                                (((long) index) << handle.ashift) + handle.abase,
@@ -528,7 +528,7 @@
 
         @ForceInline
         static $type$ compareAndExchangeRelease(Array handle, $type$[] array, int index, $type$ expected, $type$ value) {
-            index = Objects.checkIndex(index, array.length, AIOBE_SUPPLIER);
+            index = Objects.checkIndex(index, array.length, AIOOBE_SUPPLIER);
 
             return UNSAFE.compareAndExchange$Type$Release(array,
                                                (((long) index) << handle.ashift) + handle.abase,
@@ -538,7 +538,7 @@
 
         @ForceInline
         static boolean weakCompareAndSet(Array handle, $type$[] array, int index, $type$ expected, $type$ value) {
-            index = Objects.checkIndex(index, array.length, AIOBE_SUPPLIER);
+            index = Objects.checkIndex(index, array.length, AIOOBE_SUPPLIER);
 
             return UNSAFE.weakCompareAndSwap$Type$(array,
                                                (((long) index) << handle.ashift) + handle.abase,
@@ -548,7 +548,7 @@
 
         @ForceInline
         static boolean weakCompareAndSetAcquire(Array handle, $type$[] array, int index, $type$ expected, $type$ value) {
-            index = Objects.checkIndex(index, array.length, AIOBE_SUPPLIER);
+            index = Objects.checkIndex(index, array.length, AIOOBE_SUPPLIER);
 
             return UNSAFE.weakCompareAndSwap$Type$Acquire(array,
                                                (((long) index) << handle.ashift) + handle.abase,
@@ -558,7 +558,7 @@
 
         @ForceInline
         static boolean weakCompareAndSetRelease(Array handle, $type$[] array, int index, $type$ expected, $type$ value) {
-            index = Objects.checkIndex(index, array.length, AIOBE_SUPPLIER);
+            index = Objects.checkIndex(index, array.length, AIOOBE_SUPPLIER);
 
             return UNSAFE.weakCompareAndSwap$Type$Release(array,
                                                (((long) index) << handle.ashift) + handle.abase,
@@ -568,7 +568,7 @@
 
         @ForceInline
         static $type$ getAndSet(Array handle, $type$[] array, int index, $type$ value) {
-            index = Objects.checkIndex(index, array.length, AIOBE_SUPPLIER);
+            index = Objects.checkIndex(index, array.length, AIOOBE_SUPPLIER);
 
             return UNSAFE.getAndSet$Type$(array,
                                           (((long) index) << handle.ashift) + handle.abase,
@@ -579,7 +579,7 @@
 
         @ForceInline
         static $type$ getAndAdd(Array handle, $type$[] array, int index, $type$ value) {
-            index = Objects.checkIndex(index, array.length, AIOBE_SUPPLIER);
+            index = Objects.checkIndex(index, array.length, AIOOBE_SUPPLIER);
 
             return UNSAFE.getAndAdd$Type$(array,
                                        (((long) index) << handle.ashift) + handle.abase,
@@ -588,7 +588,7 @@
 
         @ForceInline
         static $type$ addAndGet(Array handle, $type$[] array, int index, $type$ value) {
-            index = Objects.checkIndex(index, array.length, AIOBE_SUPPLIER);
+            index = Objects.checkIndex(index, array.length, AIOOBE_SUPPLIER);
 
             return UNSAFE.getAndAdd$Type$(array,
                                        (((long) index) << handle.ashift) + handle.abase,