View | Details | Raw Unified | Return to bug 323012 | Differences between
and this patch

Collapse All | Expand All

(-)compiler/org/eclipse/jdt/internal/compiler/ast/ClassLiteralAccess.java (-1 / +1 lines)
Lines 40-46 Link Here
40
		// see https://bugs.eclipse.org/bugs/show_bug.cgi?id=22334
40
		// see https://bugs.eclipse.org/bugs/show_bug.cgi?id=22334
41
		if (!sourceType.isInterface()
41
		if (!sourceType.isInterface()
42
				&& !this.targetType.isBaseType()
42
				&& !this.targetType.isBaseType()
43
				&& currentScope.compilerOptions().sourceLevel < ClassFileConstants.JDK1_5) {
43
				&& currentScope.compilerOptions().targetJDK < ClassFileConstants.JDK1_5) {
44
			this.syntheticField = sourceType.addSyntheticFieldForClassLiteral(this.targetType, currentScope);
44
			this.syntheticField = sourceType.addSyntheticFieldForClassLiteral(this.targetType, currentScope);
45
		}
45
		}
46
		return flowInfo;
46
		return flowInfo;

Return to bug 323012