Running test 53: new/handle multiple nested inner classes Commandline: abc -d new -warn-unused-advice:off new/InnerHell.java Compilation produced an unexpected number of errors: 1, should be 0 Actual errors found: Semantic Error at new/InnerHell.java:12,4-13:5: No valid constructor found for javax.swing.JComponent.AccessibleJComponent(). FAIL: Test 53: "new/handle multiple nested inner classes" failed in 1770ms, memory usage: 6877368. Running test 115: new/Not binding constructor when using more than one compilation Commandline: abc -d new -warn-unused-advice:off new/OuterAbstract_PR408.java Commandline: abc -cp new:/usr/local/src/abc-with-tests/abc/lib/abc-complete.jar:/usr/local/src/abc-with-tests/abc/lib/abc-testing.jar:/usr/local/src/abc-with-tests/abc/lib/abc-runtime.jar -d new -warn-unused-advice:off new/ExtendsOuterAbstract_PR408.java Compilation produced an unexpected number of errors: 1, should be 0 Actual errors found: Semantic Error at new/ExtendsOuterAbstract_PR408.java:4,8-21: Could not find type "InnerAbstract". FAIL: Test 115: "new/Not binding constructor when using more than one compilation" failed in 3261ms, memory usage: 8492024. Running test 165: pureJava/nameConflicts/type and package name conflicts caught as errors (1) Commandline: abc -d pureJava/nameConflicts -warn-unused-advice:off pureJava/nameConflicts/p1/p2.java pureJava/nameConflicts/p1/Main1.java pureJava/nameConflicts/p1/Foo.java pureJava/nameConflicts/p1/p2/Foo.java Compilation succeeded but was expected to fail. FAIL: Test 165: "pureJava/nameConflicts/type and package name conflicts caught as errors (1)" failed in 1858ms, memory usage: 22668688. Running test 178: pureJava/nested finally blocks have interesting frame location problems Commandline: abc -d pureJava -warn-unused-advice:off pureJava/NestedFinally.java Compilation produced an unexpected number of errors: 1, should be 0 Actual errors found: Semantic Error at pureJava/NestedFinally.java:5,18-35: Missing return statement. FAIL: Test 178: "pureJava/nested finally blocks have interesting frame location problems" failed in 1560ms, memory usage: 10134216. Running test 190: pureJava/interfaces with non-explicitly static inner classes Commandline: abc -d pureJava -warn-unused-advice:off pureJava/InterfaceAndInnerHelper.java Commandline: abc -cp pureJava:/usr/local/src/abc-with-tests/abc/lib/abc-complete.jar:/usr/local/src/abc-with-tests/abc/lib/abc-testing.jar:/usr/local/src/abc-with-tests/abc/lib/abc-runtime.jar -d pureJava -warn-unused-advice:off pureJava/InterfaceAndInner.java Compilation produced an unexpected number of errors: 2, should be 0 Actual errors found: Semantic Error at pureJava/InterfaceAndInner.java:7,23-48: Class "C" not found in scope of InterfaceAndInnerHelper Semantic Error at pureJava/InterfaceAndInner.java:8,34-59: Class "C" not found in scope of InterfaceAndInnerHelper FAIL: Test 190: "pureJava/interfaces with non-explicitly static inner classes" failed in 3019ms, memory usage: 4224056. Running test 440: new/around advice on calls within inner classes (including protected method calls) 1 Commandline: abc -d new -warn-unused-advice:off new/AroundInnerCalls13.java Outer.foo() calls Outer.Inner.mi() Outer@14c1bfb.foo calls Outer$Inner@1c10ac3.mi Outer.Inner.mi() calls PrintStream.println(..) Outer$Inner@1c10ac3.mi calls java.io.PrintStream@a9c186.println . Outer.foo() calls Outer.InnerRandom.nextHook(..) Outer@14c1bfb.foo calls Outer$InnerRandom@1b34844.nextHook Outer.InnerRandom.nextHook(..) calls Outer.InnerRandom.next(..) Outer$InnerRandom@1b34844.nextHook calls Outer$InnerRandom@1b34844.next Outer.foo() calls Outer.1.nextInt(..) Outer@14c1bfb.foo calls X.nextInt Test failed, compiled class behaved incorrectly Message: fail expected note "Outer.InnerRandom.nextHook(..) calls Random.next(..)" org.aspectj.bridge.AbortException: expected note "Outer.InnerRandom.nextHook(..) calls Random.next(..)" at org.aspectj.bridge.MessageWriter.handleMessage(MessageWriter.java:47) at org.aspectj.testing.Tester.handle(Tester.java:963) at org.aspectj.testing.Tester.checkFailed(Tester.java:177) at org.aspectj.testing.Tester.check(Tester.java:204) at org.aspectj.testing.Tester.check(Tester.java:145) at org.aspectj.testing.Tester.check(Tester.java:133) at AroundInnerCalls13.shadow$7(AroundInnerCalls13.java:7) at A.inline$7$around$942(AroundInnerCalls13.java:41) at AroundInnerCalls13.main(AroundInnerCalls13.java:5) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at abc.testing.TestCase.runTest(TestCase.java:409) at abc.testing.Main.doCase(Main.java:288) at abc.testing.Main.main(Main.java:122) FAIL: Test 440: "new/around advice on calls within inner classes (including protected method calls) 1" failed in 5646ms, memory usage: 9525432. Running test 496: new/elaborated into testing of around on all join points Commandline: abc -d new -warn-unused-advice:off new/AroundAll.java Test failed, compiled class behaved incorrectly Message: fail steps expected array of length 114 got 132 org.aspectj.bridge.AbortException: steps expected array of length 114 got 132 at org.aspectj.bridge.MessageWriter.handleMessage(MessageWriter.java:47) at org.aspectj.testing.Tester.handle(Tester.java:963) at org.aspectj.testing.Tester.checkFailed(Tester.java:177) at org.aspectj.testing.Tester.checkEqual(Tester.java:228) at A.checkLog(AroundAll.java:176) at AroundAll.shadow$8(AroundAll.java:9) at A.inline$21$around$1600(AroundAll.java:199) at AroundAll.main(AroundAll.java:198) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at abc.testing.TestCase.runTest(TestCase.java:409) at abc.testing.Main.doCase(Main.java:288) at abc.testing.Main.main(Main.java:122) FAIL: Test 496: "new/elaborated into testing of around on all join points" failed in 7143ms, memory usage: 9456664. Running test 555: new/accessing protected superclass members in and outside CCC from body of method introduction Commandline: abc -d new -warn-unused-advice:off new/SuperInIntroduction.java InvocationTargetException while trying to run compiled class: java.lang.VerifyError: (class: A, method: getClone signature: (LObjectSub;)LObjectSub;) Bad access to protected data java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at abc.testing.TestCase.runTest(TestCase.java:409) at abc.testing.Main.doCase(Main.java:288) at abc.testing.Main.main(Main.java:122) Caused by: java.lang.VerifyError: (class: A, method: getClone signature: (LObjectSub;)LObjectSub;) Bad access to protected data at Sub.getInt(SuperInIntroduction.java) at SuperInIntroduction.main(SuperInIntroduction.java:6) ... 7 more FAIL: Test 555: "new/accessing protected superclass members in and outside CCC from body of method introduction" failed in 3832ms, memory usage: 8634232. Running test 64301: abctests/new/type pattern matching for inner classes (from Ken Horn) Commandline: abc -d abctests/new -warn-unused-advice:off abctests/new/test/TypePat.java Test failed, compiled class behaved incorrectly Message: fail [ expected event "A.before2: C.foo()" not found] org.aspectj.bridge.AbortException: [ expected event "A.before2: C.foo()" not found] at org.aspectj.bridge.MessageWriter.handleMessage(MessageWriter.java:47) at org.aspectj.testing.Tester.handle(Tester.java:963) at org.aspectj.testing.Tester.checkFailed(Tester.java:177) at org.aspectj.testing.Tester.check(Tester.java:204) at org.aspectj.testing.Tester.checkEqualIgnoreDups(Tester.java:702) at org.aspectj.testing.Tester.checkEqual(Tester.java:742) at org.aspectj.testing.Tester.checkEvents(Tester.java:922) at org.aspectj.testing.Tester.checkAndClearEvents(Tester.java:933) at test.TypePat.main(TypePat.java:42) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at abc.testing.TestCase.runTest(TestCase.java:409) at abc.testing.Main.doCase(Main.java:288) at abc.testing.Main.main(Main.java:122) FAIL: Test 64301: "abctests/new/type pattern matching for inner classes (from Ken Horn)" failed in 4542ms, memory usage: 9027824. Running test 740: new/PR862/import any inner from interface implementor Commandline: abc -d new/PR862 -warn-unused-advice:off new/PR862/pack/ImportInnerFromInterfaceImplementor.java File /usr/local/src/abc-with-tests/abc-testing/ajc-harness/tests/new/PR862/pack/ImportInnerFromInterfaceImplementor.class not found, skipping... Failed to find class pack.ImportInnerFromInterfaceImplementor FAIL: Test 740: "new/PR862/import any inner from interface implementor" failed in 1808ms, memory usage: 13802960. Running test 752: bugs/problems with finalize call Commandline: abc -d bugs -warn-unused-advice:off bugs/Finalizer.java Compilation succeeded but was expected to fail. FAIL: Test 752: "bugs/problems with finalize call" failed in 1864ms, memory usage: 15192296. Running test 769: new/illegal name binding in around cflow Commandline: abc -d new -warn-unused-advice:off new/ArgsInCflowCf.java Compilation succeeded but was expected to fail. FAIL: Test 769: "new/illegal name binding in around cflow" failed in 2177ms, memory usage: 9758376. Running test 77201: abctests/bugs/declare soft and throw statements Commandline: abc -d abctests/bugs -warn-unused-advice:off abctests/bugs/ConvertToUnchecked.java Compilation produced an unexpected number of errors: 1, should be 0 Actual errors found: Semantic Error at abctests/bugs/ConvertToUnchecked.java:44,2-11: The exception java.io.IOException must be either caught or declared to be thrown FAIL: Test 77201: "abctests/bugs/declare soft and throw statements" failed in 1982ms, memory usage: 15122688. Running test 795: new/binaryWarnings/src/declare warnings on binary ajc 1.1 classes Commandline: abc -d new/binaryWarnings/src -injars new/binaryWarnings/src/../injars/app-ajc-1.1.jar -warn-unused-advice:off new/binaryWarnings/src/aspects/MainWarnings.java Unexpected exception while compiling: polyglot.util.InternalCompilerError: unhandled exception during weaving/optimisation polyglot.util.InternalCompilerError: unhandled exception during weaving/optimisation at abc.main.CompileSequence.runSequence(CompileSequence.java:142) at abc.main.Main.run(Main.java:406) at abc.testing.TestCase.runTest(TestCase.java:289) at abc.testing.Main.doCase(Main.java:288) at abc.testing.Main.main(Main.java:122) Caused by: abc.weaving.weaver.CodeGenException: CODE GENERATOR EXCEPTION: Not expecting a trap to start at, or end just after a handler stmt *** This exception should not occur and is the result of incomplete or incorrect code generation.*** at abc.weaving.weaver.ShadowPointsSetter.insertNopsAroundStmt(ShadowPointsSetter.java:242) at abc.weaving.weaver.ShadowPointsSetter.insertStmtSP(ShadowPointsSetter.java:141) at abc.weaving.weaver.ShadowPointsSetter.setShadowPointsPass1(ShadowPointsSetter.java:107) at abc.weaving.weaver.Weaver.inlineConstructors(Weaver.java:324) at abc.weaving.weaver.Weaver.weave(Weaver.java:185) at abc.main.CompileSequence.weave(CompileSequence.java:496) at abc.main.CompileSequence.runSequence(CompileSequence.java:115) ... 4 more FAIL: Test 795: "new/binaryWarnings/src/declare warnings on binary ajc 1.1 classes" failed in 2298ms, memory usage: 23935656. Running test 796: new/binaryWarnings/src/declare error on handler/method execution with no code on binary ajc 1.1 classes Commandline: abc -d new/binaryWarnings/src -injars new/binaryWarnings/src/../injars/appStartLines-ajc-1.1.jar -warn-unused-advice:off new/binaryWarnings/src/aspects/MainExecStartLinesErrors.java Unexpected exception while compiling: polyglot.util.InternalCompilerError: unhandled exception during weaving/optimisation polyglot.util.InternalCompilerError: unhandled exception during weaving/optimisation at abc.main.CompileSequence.runSequence(CompileSequence.java:142) at abc.main.Main.run(Main.java:406) at abc.testing.TestCase.runTest(TestCase.java:289) at abc.testing.Main.doCase(Main.java:288) at abc.testing.Main.main(Main.java:122) Caused by: abc.weaving.weaver.CodeGenException: CODE GENERATOR EXCEPTION: Not expecting a trap to start at, or end just after a handler stmt *** This exception should not occur and is the result of incomplete or incorrect code generation.*** at abc.weaving.weaver.ShadowPointsSetter.insertNopsAroundStmt(ShadowPointsSetter.java:242) at abc.weaving.weaver.ShadowPointsSetter.insertStmtSP(ShadowPointsSetter.java:141) at abc.weaving.weaver.ShadowPointsSetter.setShadowPointsPass1(ShadowPointsSetter.java:107) at abc.weaving.weaver.Weaver.inlineConstructors(Weaver.java:324) at abc.weaving.weaver.Weaver.weave(Weaver.java:185) at abc.main.CompileSequence.weave(CompileSequence.java:496) at abc.main.CompileSequence.runSequence(CompileSequence.java:115) ... 4 more FAIL: Test 796: "new/binaryWarnings/src/declare error on handler/method execution with no code on binary ajc 1.1 classes" failed in 2129ms, memory usage: 24992056. Running test 812: harness/CLE: no dir specified for sourceroots Commandline: abc -d harness -warn-unused-advice:off -sourceroots harness/ErrorTest.java Unexpected exception while compiling: polyglot.util.InternalCompilerError: unhandled exception during compilation polyglot.util.InternalCompilerError: unhandled exception during compilation at abc.main.Main.run(Main.java:454) at abc.testing.TestCase.runTest(TestCase.java:289) at abc.testing.Main.doCase(Main.java:288) at abc.testing.Main.main(Main.java:122) Caused by: java.lang.IllegalArgumentException: Sourceroot harness/ErrorTest.java is not a directory at abc.main.Main.findSourcesInDir(Main.java:550) at abc.main.Main.loadSourceRoots(Main.java:567) at abc.main.Main.run(Main.java:398) ... 3 more FAIL: Test 812: "harness/CLE: no dir specified for sourceroots" failed in 1714ms, memory usage: 22454536. Running test 951: bugs/deprecated/-deprecation not working? Commandline: abc -d bugs/deprecated -warn-unused-advice:off -deprecation bugs/deprecated/Deprecation.java bugs/deprecated/Deprecated.java Illegal arguments: Unknown option -deprecation FAIL: Test 951: "bugs/deprecated/-deprecation not working?" failed in 409ms, memory usage: 8156160. Running test 986: abctests/bugs/Matching int[].clone() Commandline: abc -d abctests/bugs -warn-unused-advice:off abctests/bugs/IntArray.java Compilation produced an unexpected number of errors: 2, should be 0 Actual errors found: Syntax Error at abctests/bugs/IntArray.java:14,28-31: Syntax error: unexpected int. Syntax Error at abctests/bugs/IntArray.java:15,3-4: Syntax error: unexpected numeric literal 0. FAIL: Test 986: "abctests/bugs/Matching int[].clone()" failed in 1624ms, memory usage: 11481656. Running test 992: abctests/bugs/cast pointcut can interact badly with jimple type assignment Commandline: abc -d abctests/bugs -injars abctests/bugs/cast.jar -warn-unused-advice:off -ext abc.eaj abctests/bugs/CastAspect.java Test failed, compiled class behaved incorrectly Message: fail [ unexpected event "cast happened" found] org.aspectj.bridge.AbortException: [ unexpected event "cast happened" found] at org.aspectj.bridge.MessageWriter.handleMessage(MessageWriter.java:47) at org.aspectj.testing.Tester.handle(Tester.java:963) at org.aspectj.testing.Tester.checkFailed(Tester.java:177) at org.aspectj.testing.Tester.check(Tester.java:204) at org.aspectj.testing.Tester.checkEqualIgnoreDups(Tester.java:702) at org.aspectj.testing.Tester.checkEqual(Tester.java:742) at org.aspectj.testing.Tester.checkEvents(Tester.java:922) at org.aspectj.testing.Tester.checkAndClearEvents(Tester.java:933) at org.aspectj.testing.Tester.checkAllEvents(Tester.java:846) at Cast.main(Cast.java:5) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at abc.testing.TestCase.runTest(TestCase.java:409) at abc.testing.Main.doCase(Main.java:288) at abc.testing.Main.main(Main.java:122) FAIL: Test 992: "abctests/bugs/cast pointcut can interact badly with jimple type assignment" failed in 5221ms, memory usage: 8997272. Running test 1001: abctests/bugs/resolving anonymous classes inside classes with dollar signs Commandline: abc -d abctests/bugs -warn-unused-advice:off abctests/bugs/ExtraAnon.java Unexpected exception while compiling: polyglot.util.InternalCompilerError: unhandled exception during compilation polyglot.util.InternalCompilerError: unhandled exception during compilation at abc.main.CompileSequence.runSequence(CompileSequence.java:110) at abc.main.Main.run(Main.java:406) at abc.testing.TestCase.runTest(TestCase.java:289) at abc.testing.Main.doCase(Main.java:288) at abc.testing.Main.main(Main.java:122) Caused by: java.lang.RuntimeException: couldn't find class: E$A2$1 (is your soot-class-path set properly?) at soot.SootResolver.bringToHierarchy(SootResolver.java:184) at soot.SootResolver.bringToSignatures(SootResolver.java:219) at soot.SootResolver.processResolveWorklist(SootResolver.java:139) at soot.SootResolver.resolveClass(SootResolver.java:124) at soot.Scene.loadClass(Scene.java:390) at abc.main.CompileSequence.compile(CompileSequence.java:338) at abc.main.CompileSequence.runSequence(CompileSequence.java:100) ... 4 more FAIL: Test 1001: "abctests/bugs/resolving anonymous classes inside classes with dollar signs" failed in 1818ms, memory usage: 23626304. Running test 1032: abctests/tracematches/Tracematches: Testing self-applying around TM-advice Commandline: abc -d abctests/tracematches -warn-unused-advice:off -ext abc.tm abctests/tracematches/AdviseSelf.java Compilation produced unexpected warnings: Warning at Compiler Generated: Invalid Jimple body for : All identity statements should occur at the start of a Jimple method. abc will try to fix this, but really it's a bug in code generation. FAIL: Test 1032: "abctests/tracematches/Tracematches: Testing self-applying around TM-advice" failed in 3320ms, memory usage: 10204848. Running test 1208: abctests/bugs/inpath/Class being woven twice when using -inpath Commandline: abc -d abctests/bugs/inpath -warn-unused-advice:off File /usr/local/src/abc-with-tests/abc-testing/ajc-harness/tests/abctests/bugs/inpath/Test.class not found, skipping... Failed to find class Test FAIL: Test 1208: "abctests/bugs/inpath/Class being woven twice when using -inpath" failed in 1576ms, memory usage: 21010160.