summaryrefslogtreecommitdiff
path: root/test/files/run/t6989.check
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2013-01-31 11:49:19 +0100
committerEugene Burmako <xeno.by@gmail.com>2013-02-04 22:41:39 +0100
commit02ed5fb3bc8d792872223ceecfd8fd0ae089d923 (patch)
tree9cffc064d77e94b1d3a577ade5ace0e1e4a6cc7f /test/files/run/t6989.check
parent2fa859e1b3eb2ac57058feaba87d96adfbac9209 (diff)
downloadscala-02ed5fb3bc8d792872223ceecfd8fd0ae089d923.tar.gz
scala-02ed5fb3bc8d792872223ceecfd8fd0ae089d923.tar.bz2
scala-02ed5fb3bc8d792872223ceecfd8fd0ae089d923.zip
SI-6989 privateWithin is now populated in reflect
Runtime reflection in JavaMirrors previously forgot to fill in privateWithin when importing Java reflection artifacts. Now this is fixed.
Diffstat (limited to 'test/files/run/t6989.check')
-rw-r--r--test/files/run/t6989.check24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/files/run/t6989.check b/test/files/run/t6989.check
new file mode 100644
index 0000000000..06bc3b7200
--- /dev/null
+++ b/test/files/run/t6989.check
@@ -0,0 +1,24 @@
+============
+class JavaClass_1
+isPrivate = false
+isProtected = false
+isPublic = false
+privateWithin = package foo
+============
+variable x
+isPrivate = true
+isProtected = false
+isPublic = false
+privateWithin = <none>
+============
+variable y
+isPrivate = false
+isProtected = true
+isPublic = false
+privateWithin = package foo
+============
+variable z
+isPrivate = false
+isProtected = false
+isPublic = true
+privateWithin = <none>