summaryrefslogtreecommitdiff
path: root/test/files/jvm5/annotations.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/jvm5/annotations.scala')
-rw-r--r--test/files/jvm5/annotations.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/files/jvm5/annotations.scala b/test/files/jvm5/annotations.scala
index addf2bb07f..4a516a16c4 100644
--- a/test/files/jvm5/annotations.scala
+++ b/test/files/jvm5/annotations.scala
@@ -125,7 +125,8 @@ object Test4 {
object Test5 {
import scala.reflect.BeanProperty
- import java.lang.Integer
+// no need to import java.lang.Integer, Predef.Integer is simply an alias for it
+// classOf[Integer] now properly resolves to classOf[java.lang.Integer]
class Count {
// we use "Integer" instead of "Int" because of Java reflection
@BeanProperty