diff options
author | aclement <aclement> | 2006-03-05 17:00:04 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-03-05 17:00:04 +0000 |
commit | b2259116b8731725743d255a85c894d6f998afb1 (patch) | |
tree | edf9876f501cd6f8a35107c8da10a9fd72b7de7f /org.aspectj.ajdt.core/testsrc | |
parent | 1954377011ba95d032e7076ea37623a4c22020ac (diff) | |
download | aspectj-b2259116b8731725743d255a85c894d6f998afb1.tar.gz aspectj-b2259116b8731725743d255a85c894d6f998afb1.zip |
fix for 130300: cause the mysterious disappearance of -XnoWeave
Diffstat (limited to 'org.aspectj.ajdt.core/testsrc')
2 files changed, 6 insertions, 6 deletions
diff --git a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/BcweaverJarMaker.java b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/BcweaverJarMaker.java index cdf3c21cf..e7df64e4a 100644 --- a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/BcweaverJarMaker.java +++ b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/BcweaverJarMaker.java @@ -111,7 +111,7 @@ public class BcweaverJarMaker { args.add("-outjar"); args.add("../weaver/testdata/megatraceNoweave.jar"); - args.add("-noweave"); + args.add("-XterminateAfterCompilation"); args.add("-classpath"); args.add(AjcTests.aspectjrtClasspath()); diff --git a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjCompilerOptionsTest.java b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjCompilerOptionsTest.java index ebd5dd385..3916a3443 100644 --- a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjCompilerOptionsTest.java +++ b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjCompilerOptionsTest.java @@ -36,7 +36,7 @@ public class AjCompilerOptionsTest extends TestCase { } public void testDefaultValues() { - assertFalse(options.noWeave); + assertFalse(options.terminateAfterCompilation); assertFalse(options.xSerializableAspects); assertFalse(options.xLazyThisJoinPoint); assertFalse(options.xNoInline); @@ -59,7 +59,7 @@ public class AjCompilerOptionsTest extends TestCase { } public void testDirectSet() { - options.noWeave = true; + options.terminateAfterCompilation = true; options.xSerializableAspects = true; options.xLazyThisJoinPoint = true; options.xNoInline = true; @@ -70,7 +70,7 @@ public class AjCompilerOptionsTest extends TestCase { options.noAtAspectJProcessing = true; Map map = options.getMap(); - assertEquals(CompilerOptions.ENABLED,map.get(AjCompilerOptions.OPTION_NoWeave)); + assertEquals(CompilerOptions.ENABLED,map.get(AjCompilerOptions.OPTION_TerminateAfterCompilation)); assertEquals(CompilerOptions.ENABLED,map.get(AjCompilerOptions.OPTION_XSerializableAspects)); assertEquals(CompilerOptions.ENABLED,map.get(AjCompilerOptions.OPTION_XLazyThisJoinPoint)); assertEquals(CompilerOptions.ENABLED,map.get(AjCompilerOptions.OPTION_XNoInline)); @@ -94,7 +94,7 @@ public class AjCompilerOptionsTest extends TestCase { map.put(AjCompilerOptions.OPTION_ReportNeedSerialVersionUIDField,CompilerOptions.WARNING); map.put(AjCompilerOptions.OPTION_ReportIncompatibleSerialVersion,CompilerOptions.ERROR); - map.put(AjCompilerOptions.OPTION_NoWeave,CompilerOptions.ENABLED); + map.put(AjCompilerOptions.OPTION_TerminateAfterCompilation,CompilerOptions.ENABLED); map.put(AjCompilerOptions.OPTION_XSerializableAspects,CompilerOptions.ENABLED); map.put(AjCompilerOptions.OPTION_XLazyThisJoinPoint,CompilerOptions.ENABLED); map.put(AjCompilerOptions.OPTION_XNoInline,CompilerOptions.ENABLED); @@ -106,7 +106,7 @@ public class AjCompilerOptionsTest extends TestCase { options.set(map); - assertTrue(options.noWeave); + assertTrue(options.terminateAfterCompilation); assertTrue(options.xSerializableAspects); assertTrue(options.xLazyThisJoinPoint); assertTrue(options.xNoInline); |