summaryrefslogtreecommitdiff
path: root/test/files/lib
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-12-07 15:45:14 +0100
committerEugene Burmako <xeno.by@gmail.com>2012-12-07 18:48:06 +0100
commit54a84a36d5b435a787d93ca48d45399136c7e162 (patch)
tree83680a470908114090b0d4babe44dda81aaff6c1 /test/files/lib
parent58969850a0991a72c360433540943eae4b10dc6b (diff)
downloadscala-54a84a36d5b435a787d93ca48d45399136c7e162.tar.gz
scala-54a84a36d5b435a787d93ca48d45399136c7e162.tar.bz2
scala-54a84a36d5b435a787d93ca48d45399136c7e162.zip
SI-6548 reflection now correctly enters jinners
When completing Java classes, runtime reflection enumerates their fields, methods, constructors and inner classes, loads them and enters them into either the instance part (ClassSymbol) or the static part (ModuleSymbol). However unlike fields, methods and constructors, inner classes don't need to be entered explicitly - they are entered implicitly when being loaded. This patch fixes the double-enter problem, make sure that enter-on-load uses the correct owner, and also hardens jclassAsScala against double enters that can occur in a different scenario. Since the fix is about Java-compiled classes, the test needs *.class artifacts produced by javac. Therefore I updated javac-artifacts.jar to include the new artifacts along with their source code.
Diffstat (limited to 'test/files/lib')
-rw-r--r--test/files/lib/javac-artifacts.jar.desired.sha12
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/lib/javac-artifacts.jar.desired.sha1 b/test/files/lib/javac-artifacts.jar.desired.sha1
index 8dbbc1d451..a49c986386 100644
--- a/test/files/lib/javac-artifacts.jar.desired.sha1
+++ b/test/files/lib/javac-artifacts.jar.desired.sha1
@@ -1 +1 @@
-c5788c5e518eb267445c5a995fd98b2210f90a58 ?javac-artifacts.jar
+61931a51bb1a2d308d214b96d06e9a8808515dcf ?javac-artifacts.jar