aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t8244d
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/t8244d')
-rw-r--r--tests/untried/pos/t8244d/InodeBase_1.java6
-rw-r--r--tests/untried/pos/t8244d/Test_2.scala3
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/untried/pos/t8244d/InodeBase_1.java b/tests/untried/pos/t8244d/InodeBase_1.java
new file mode 100644
index 000000000..36c212341
--- /dev/null
+++ b/tests/untried/pos/t8244d/InodeBase_1.java
@@ -0,0 +1,6 @@
+import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;
+
+abstract class INodeBase_1<K, V> {
+ @SuppressWarnings("rawtypes")
+ public static final AtomicReferenceFieldUpdater<INodeBase_1, Object> updater = null;
+}
diff --git a/tests/untried/pos/t8244d/Test_2.scala b/tests/untried/pos/t8244d/Test_2.scala
new file mode 100644
index 000000000..cb39c9692
--- /dev/null
+++ b/tests/untried/pos/t8244d/Test_2.scala
@@ -0,0 +1,3 @@
+class INodeX[K, V] extends INodeBase_1[K, V] {
+ INodeBase_1.updater.set(this, null)
+}