diff options
author | aclement <aclement> | 2010-08-23 20:44:14 +0000 |
---|---|---|
committer | aclement <aclement> | 2010-08-23 20:44:14 +0000 |
commit | cbdbc8b60f8aa741c8d080bff504a28d71304879 (patch) | |
tree | f81c5bcf94289edbbf4e9dee7b717bd416c72f57 | |
parent | 3a3dff2a4957873bd3e362f22823bac5063639c7 (diff) | |
download | aspectj-cbdbc8b60f8aa741c8d080bff504a28d71304879.tar.gz aspectj-cbdbc8b60f8aa741c8d080bff504a28d71304879.zip |
323438
-rw-r--r-- | org.aspectj.matcher/src/org/aspectj/weaver/World.java | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/World.java b/org.aspectj.matcher/src/org/aspectj/weaver/World.java index 85eaad9e5..53b0bfd83 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/World.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/World.java @@ -9,7 +9,7 @@ * * Contributors: * PARC initial implementation - * Adrian Colyer, Andy Clement, overhaul for generics + * Adrian Colyer, Andy Clement, overhaul for generics, Abraham Nevado * ******************************************************************/ package org.aspectj.weaver; @@ -140,6 +140,7 @@ public abstract class World implements Dump.INode { // Minimal Model controls whether model entities that are not involved in relationships are deleted post-build private boolean minimalModel = false; + private boolean targettingRuntime1_6_10 = false; private boolean completeBinaryTypes = false; private boolean overWeaving = false; @@ -810,6 +811,11 @@ public abstract class World implements Dump.INode { return minimalModel; } + public boolean isTargettingRuntime1_6_10() { + ensureAdvancedConfigurationProcessed(); + return targettingRuntime1_6_10; + } + public void setBehaveInJava5Way(boolean b) { behaveInJava5Way = b; } @@ -926,6 +932,7 @@ public abstract class World implements Dump.INode { public final static String xsetITD_VERSION_2NDGEN = "2"; public final static String xsetITD_VERSION_DEFAULT = xsetITD_VERSION_2NDGEN; public final static String xsetMINIMAL_MODEL = "minimalModel"; + public final static String xsetTARGETING_RUNTIME_1610 = "targetRuntime1_6_10"; public boolean isInJava5Mode() { return behaveInJava5Way; @@ -1511,6 +1518,11 @@ public abstract class World implements Dump.INode { minimalModel = true; } + s = p.getProperty(xsetTARGETING_RUNTIME_1610, "false"); + if (s.equalsIgnoreCase("true")) { + targettingRuntime1_6_10 = true; + } + s = p.getProperty(xsetFAST_PACK_METHODS, "true"); fastMethodPacking = s.equalsIgnoreCase("true"); |