Maybe that last commit was closer than I thought. Don't let

0-arg getClass reach bytecode.  References SI-4931, no review.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@25534 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
extempore 2011-08-21 00:26:54 +00:00
parent 1c824a3fe8
commit 93d7c3be9b
1 changed files with 1 additions and 0 deletions

View File

@ -795,6 +795,7 @@ abstract class GenJVM extends SubComponent with GenJVMUtil with GenAndroid with
def genMethod(m: IMethod) {
if (m.symbol.isStaticConstructor) return
if ((m.symbol.name == nme.getClass_) && m.params.isEmpty) return
debuglog("Generating method " + m.symbol.fullName)
method = m