diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2016-10-28 12:08:55 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2016-10-28 12:08:55 +0200 |
commit | ae17256f1dcde4dd82008c6e355604d68d5a07b3 (patch) | |
tree | 6eb8e3ce569eaaa41a93fc34c9942f9810012822 /test/files/neg/t7014.check | |
parent | 47050ee4934f5bf78339c5d81583ab445a4318dd (diff) | |
download | scala-ae17256f1dcde4dd82008c6e355604d68d5a07b3.tar.gz scala-ae17256f1dcde4dd82008c6e355604d68d5a07b3.tar.bz2 scala-ae17256f1dcde4dd82008c6e355604d68d5a07b3.zip |
For scala classfiles, only parse the scala signature annotation
Skipping other annotations not only saves some cycles / GC, but also
prevents some spurious warnings / errors related to cyclic dependencies
when parsing annotation arguments refering to members of the class.
Diffstat (limited to 'test/files/neg/t7014.check')
-rw-r--r-- | test/files/neg/t7014.check | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/t7014.check b/test/files/neg/t7014.check new file mode 100644 index 0000000000..07ad51e9d3 --- /dev/null +++ b/test/files/neg/t7014.check @@ -0,0 +1,5 @@ +warning: While parsing annotations in t7014-neg.obj/t7014/ThreadSafetyLevel.class, could not find COMPLETELY_THREADSAFE in enum object ThreadSafetyLevel. +This is likely due to an implementation restriction: an annotation argument cannot refer to a member of the annotated class (SI-7014). +error: No warnings can be incurred under -Xfatal-warnings. +one warning found +one error found |