diff options
author | Martin Odersky <odersky@gmail.com> | 2011-04-12 16:18:27 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2011-04-12 16:18:27 +0000 |
commit | f31a20a99ca13e43c423d5babfb549cf39b38835 (patch) | |
tree | 0c86ec5e09dfe9f0ba88750977d7d3380bd9c9f0 | |
parent | c28aed1ab1cc02b6b5c202344e3a652f76af64e3 (diff) | |
download | scala-f31a20a99ca13e43c423d5babfb549cf39b38835.tar.gz scala-f31a20a99ca13e43c423d5babfb549cf39b38835.tar.bz2 scala-f31a20a99ca13e43c423d5babfb549cf39b38835.zip |
Added test to pending.
-rw-r--r-- | test/pending/run/t4283/AbstractFoo.java | 5 | ||||
-rw-r--r-- | test/pending/run/t4283/IllegalAccess.scala | 5 | ||||
-rw-r--r-- | test/pending/run/t4283/ScalaBipp.scala | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/test/pending/run/t4283/AbstractFoo.java b/test/pending/run/t4283/AbstractFoo.java new file mode 100644 index 0000000000..6d4e8f4e22 --- /dev/null +++ b/test/pending/run/t4283/AbstractFoo.java @@ -0,0 +1,5 @@ +package test; + +/* package private */ class AbstractFoo { + public int t; +}
\ No newline at end of file diff --git a/test/pending/run/t4283/IllegalAccess.scala b/test/pending/run/t4283/IllegalAccess.scala new file mode 100644 index 0000000000..e1bce15cf8 --- /dev/null +++ b/test/pending/run/t4283/IllegalAccess.scala @@ -0,0 +1,5 @@ +package other + +object IllegalAccess { + val x = (new test.ScalaBipp).make.get.t // java.lang.IllegalAccessError: tried to access class test.AbstractFoo from class other.IllegalAccess$ +} diff --git a/test/pending/run/t4283/ScalaBipp.scala b/test/pending/run/t4283/ScalaBipp.scala new file mode 100644 index 0000000000..36dea9f4de --- /dev/null +++ b/test/pending/run/t4283/ScalaBipp.scala @@ -0,0 +1,5 @@ +package test + +class ScalaBipp extends AbstractFoo { + def make: Option[ScalaBipp] = Option(this) +} |