summaryrefslogtreecommitdiff
path: root/test/files/pos/t7014
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t7014')
-rw-r--r--test/files/pos/t7014/ThreadSafety.java9
-rw-r--r--test/files/pos/t7014/ThreadSafetyLevel.java8
-rw-r--r--test/files/pos/t7014/t7014.scala3
3 files changed, 0 insertions, 20 deletions
diff --git a/test/files/pos/t7014/ThreadSafety.java b/test/files/pos/t7014/ThreadSafety.java
deleted file mode 100644
index ed508804e3..0000000000
--- a/test/files/pos/t7014/ThreadSafety.java
+++ /dev/null
@@ -1,9 +0,0 @@
-package t7014;
-
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-
-@Retention(RetentionPolicy.RUNTIME) // must be exactly RUNTIME retention (those we parse)
-public @interface ThreadSafety {
- ThreadSafetyLevel level();
-} \ No newline at end of file
diff --git a/test/files/pos/t7014/ThreadSafetyLevel.java b/test/files/pos/t7014/ThreadSafetyLevel.java
deleted file mode 100644
index 4df1dc787a..0000000000
--- a/test/files/pos/t7014/ThreadSafetyLevel.java
+++ /dev/null
@@ -1,8 +0,0 @@
-package t7014; // package needed due to other bug in scalac's java parser
-
-// since we parse eagerly, we have not yet parsed the classfile when parsing the annotation,
-// and on doing so, fail to find a symbol for the COMPLETELY_THREADSAFE reference
-// from the annotation's argument to the enum's member
-// for now, let's just not crash -- should implement lazy completing at some point
-@ThreadSafety(level=ThreadSafetyLevel.COMPLETELY_THREADSAFE)
-public enum ThreadSafetyLevel { COMPLETELY_THREADSAFE }
diff --git a/test/files/pos/t7014/t7014.scala b/test/files/pos/t7014/t7014.scala
deleted file mode 100644
index 7c73f700be..0000000000
--- a/test/files/pos/t7014/t7014.scala
+++ /dev/null
@@ -1,3 +0,0 @@
-package t7014
-
-import ThreadSafetyLevel.COMPLETELY_THREADSAFE // refer to annotation so it gets parsed