Project: JDT
Bug 36595 [templates] 'systrace' template produces incorrect string in anonymous classes
Reported: 2003-04-16 15:17:37 | Status: resolved fixed

public class Test { public static void main(String[] args) { Object test = new Object() { public String toString() { // systrace: Expected "Object.toString()", got: System.out.println("Bug.main()"); return null; } }; } }

Files changed in fix:
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/CompilationUnitContextType.java