### Eclipse Workspace Patch 1.0 #P org.eclipse.jdt.core Index: compiler/org/eclipse/jdt/internal/compiler/ast/Clinit.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Clinit.java,v retrieving revision 1.44.4.1 diff -u -r1.44.4.1 Clinit.java --- compiler/org/eclipse/jdt/internal/compiler/ast/Clinit.java 23 Aug 2006 15:34:14 -0000 1.44.4.1 +++ compiler/org/eclipse/jdt/internal/compiler/ast/Clinit.java 14 Sep 2006 19:53:18 -0000 @@ -148,7 +148,7 @@ if (this.assertionSyntheticFieldBinding != null) { // generate code related to the activation of assertion for this class codeStream.generateClassLiteralAccessForType( - classScope.enclosingSourceType(), + classScope.outerMostClassScope().enclosingSourceType(), classLiteralSyntheticField); codeStream.invokeJavaLangClassDesiredAssertionStatus(); BranchLabel falseLabel = new BranchLabel(codeStream);