From 1391c51a5232834338a21250db722a89498ee6f1 Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Sun, 16 Jun 2013 22:03:07 -0400 Subject: SI-7582 ClassfileParser: populate privateWithin of Java module class The `privateWithin` attribute of Java companion module classes was correctly set under joint compilation (ie, when using JavaParser), but not under separate compilation. This commit remedies this. The test covers variety of Java symbols. --- test/files/run/t7582-private-within.check | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/files/run/t7582-private-within.check (limited to 'test/files/run/t7582-private-within.check') diff --git a/test/files/run/t7582-private-within.check b/test/files/run/t7582-private-within.check new file mode 100644 index 0000000000..b2743ffa06 --- /dev/null +++ b/test/files/run/t7582-private-within.check @@ -0,0 +1,12 @@ +private[package pack] class JavaPackagePrivate +private[package pack] module JavaPackagePrivate +private[package pack] module class JavaPackagePrivate +private[package pack] field field +private[package pack] primary constructor +private[package pack] method meth +private[package pack] field staticField +private[package pack] method staticMeth +private[package pack] method +private[package pack] field staticField +private[package pack] method staticMeth +private[package pack] method -- cgit v1.2.3