issue_id int64 2.04k 425k | title stringlengths 9 251 | body stringlengths 4 32.8k ⌀ | status stringclasses 6
values | after_fix_sha stringlengths 7 7 | project_name stringclasses 6
values | repo_url stringclasses 6
values | repo_name stringclasses 6
values | language stringclasses 1
value | issue_url null | before_fix_sha null | pull_url null | commit_datetime timestamp[us, tz=UTC] | report_datetime timestamp[us, tz=UTC] | updated_file stringlengths 23 187 | chunk_content stringlengths 1 22k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | private IMessageHandler messageHandler = IMessageHandler.SYSTEM_ERR;
/**
* handler for cross-reference information produced during the weaving process
*/
private ICrossReferenceHandler xrefHandler = null;
/**
* Currently 'active' scope in which to lookup (resolve) typevariable references
*/
private TypeVari... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | private boolean XnoInline;
private boolean XlazyTjp;
private boolean XhasMember = false;
/**
* Xpinpoint controls whether we put out developer info showing the source of messages
*/
private boolean Xpinpoint = false;
private boolean behaveInJava5Way = false;
private boolean timing = false;
private bo... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | private boolean runMinimalMemory = false;
private boolean transientTjpFields = false;
private boolean runMinimalMemorySet = false;
private boolean shouldPipelineCompilation = true;
private boolean shouldGenerateStackMaps = false;
protected boolean bcelRepositoryCaching = xsetBCEL_REPOSITORY_CACHING_DEFAULT.equalsI... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | String value = System.getProperty("aspectj.overweaving", "false");
if (value.equalsIgnoreCase("true")) {
System.out.println("ASPECTJ: aspectj.overweaving=true: overweaving switched ON");
systemPropertyOverWeaving = true;
}
} catch (Throwable t) {
System.err.println("ASPECTJ: Unable to read system pro... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | typeMap.put("D", DOUBLE);
typeMap.put("C", CHAR);
typeMap.put("Z", BOOLEAN);
typeMap.put("V", VOID);
precedenceCalculator = new AspectPrecedenceCalculator(this);
}
/**
* Dump processing when a fatal error occurs
*/
public void accept(Dump.IVisitor visitor) {
visitor.visitObject("Shadow mungers:")... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | public ResolvedType resolve(UnresolvedType ty) {
return resolve(ty, false);
}
/**
* Attempt to resolve a type - the source location gives you some context in which resolution is taking place. In the case of an
* error where we can't find the type - we can then at least report why (source location) we were tryin... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | }
ResolvedType[] ret = new ResolvedType[types.length];
for (int i = 0; i < types.length; i++) {
ret[i] = resolve(types[i]);
}
return ret;
}
/**
* Resolve a type. This the hub of type resolution. The resolved type is added to the type map by signature.
*/
public ResolvedType resolve(UnresolvedType ty, ... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | String signature = ty.getSignature();
ResolvedType ret = typeMap.get(signature);
if (ret != null) {
ret.world = this;
return ret;
} else if (signature.equals("?") || signature.equals("*")) {
ResolvedType something = getWildcard();
typeMap.put("?", something);
return somethi... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | }
}
ResolvedType result = typeMap.get(signature);
if (result == null && !ret.isMissing()) {
ret = ensureRawTypeIfNecessary(ret);
typeMap.put(signature, ret);
return ret;
}
if (result == null) {
return ret;
} else {
return result;
}
}
private Object buildingTypeLock = new Object();
p... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | * Return true if the classloader relating to this world is definetly the one that will define the specified class. Return false
* otherwise or we don't know for certain.
*/
public boolean isLocallyDefined(String classname) {
return false;
}
/**
* We tried to resolve a type and couldn't find it...
*/
priva... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | }
ResolvedType resolved = typeMap.get(ty.getSignature());
if (resolved == null) {
resolved = ensureRawTypeIfNecessary(ty);
typeMap.put(ty.getSignature(), resolved);
resolved = ty;
}
resolved.world = this;
return resolved;
}
/**
* When the world is operating in 1.5 mode, the TypeMap should only co... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | return type;
}
/**
* Convenience method for finding a type by name and resolving it in one step.
*/
public ResolvedType resolve(String name) {
ResolvedType ret = resolve(UnresolvedType.forName(name));
return ret;
}
public ReferenceType resolveToReferenceType(String name) {
return (ReferenceType) re... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | ReferenceType parameterizedType = TypeFactory.createParameterizedType(genericType, ty.typeParameters, this);
return parameterizedType;
} else if (ty.isGenericType()) {
ResolvedType rt = resolveGenericTypeFor(ty, false);
ReferenceType genericType = (ReferenceType) rt;
return genericType;
} else if (t... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | simpleOrRawType.setDelegate(delegate);
genericType.setDelegate(delegate);
simpleOrRawType.setGenericType(genericType);
return simpleOrRawType;
} else {
simpleOrRawType.setDelegate(delegate);
return simpleOrRawType;
}
}
}
/**
* Attempt to resolve a type that should be a generic type.... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | ResolvedType genericType = rawType.getGenericType();
if (rawType.isSimpleType() && (anUnresolvedType.typeParameters == null || anUnresolvedType.typeParameters.length == 0)) {
rawType.world = this;
return rawType;
}
if (genericType != null) {
genericType.world = this;
((ReferenceTy... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | if (genericSig != null) {
return new ReferenceType(UnresolvedType.forGenericTypeSignature(rawType.getSignature(),
delegate.getDeclaredGenericSignature()), this);
} else {
return new ReferenceType(UnresolvedType.forGenericTypeVariables(rawType.getSignature(), delegate.getTypeVariables()),
this);
}
}... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | protected abstract ReferenceTypeDelegate resolveDelegate(ReferenceType ty);
/**
* Special resolution for "core" types like OBJECT. These are resolved just like any other type, but if they are not found it is
* more serious and we issue an error message immediately.
*/
public ResolvedType getCoreType(Unresol... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | return (ReferenceType) typeMap.get(signature);
}
/**
* Member resolution is achieved by resolving the declaring type and then looking up the member in the resolved declaring type.
*/
public ResolvedMember resolve(Member member) {
ResolvedType declaring = member.getDeclaringType().resolve(this);
if ... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | public boolean areAllLintIgnored() {
return allLintIgnored;
}
public abstract IWeavingSupport getWeavingSupport();
/**
* Create an advice shadow munger from the given advice attribute
*/
/**
* Create an advice shadow munger for the given advice kind
*/
public final Advice createAdviceMunger(AdviceKin... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | public int compareByPrecedenceAndHierarchy(ResolvedType aspect1, ResolvedType aspect2) {
return precedenceCalculator.compareByPrecedenceAndHierarchy(aspect1, aspect2);
}
/**
* Nobody should hold onto a copy of this message handler, or setMessageHandler won't work right.
*/
public IMessageHandler getMessage... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | }
}
public void setCrossReferenceHandler(ICrossReferenceHandler xrefHandler) {
this.xrefHandler = xrefHandler;
}
/**
* Get the cross-reference handler for the world, may be null.
*/
public ICrossReferenceHandler getCrossReferenceHandler() {
return xrefHandler;
}
public void setTypeVariableLookupScope(Typ... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | return crosscuttingMembersSet.getDeclareTypeEows();
}
public List<DeclareSoft> getDeclareSoft() {
return crosscuttingMembersSet.getDeclareSofts();
}
public CrosscuttingMembersSet getCrosscuttingMembersSet() {
return crosscuttingMembersSet;
}
public IStructureModel getModel() {
return model;
}
public void ... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | XlazyTjp = b;
}
public boolean isHasMemberSupportEnabled() {
return XhasMember;
}
public void setXHasMemberSupportEnabled(boolean b) {
XhasMember = b;
}
public boolean isInPinpointMode() {
return Xpinpoint;
}
public void setPinpointMode(boolean b) {
Xpinpoint = b;
}
public boolean useFinal() {
retur... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | * being used. The reportPeriodically flag should be set to false under AJDT so numbers just come out at the end.
*/
public void setTiming(boolean timersOn, boolean reportPeriodically) {
timing = timersOn;
timingPeriodically = reportPeriodically;
}
/**
* Set the error and warning threashold which can be taken... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | int pos = -1;
while ((pos = config.indexOf(",")) != -1) {
String nvpair = config.substring(0, pos);
int pos2 = nvpair.indexOf("=");
if (pos2 != -1) {
String n = nvpair.substring(0, pos2);
String v = nvpair.substring(pos2 + 1);
extraConfiguration.setProperty(n, v);
}
config = config.substrin... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | public Properties getExtraConfiguration() {
return extraConfiguration;
}
public final static String xsetAVOID_FINAL = "avoidFinal";
public final static String xsetWEAVE_JAVA_PACKAGES = "weaveJavaPackages";
public final static String xsetWEAVE_JAVAX_PACKAGES = "weaveJavaxPackages";
public final... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | public final static String xsetTYPE_DEMOTION_DEBUG = "typeDemotionDebug";
public final static String xsetTYPE_REFS = "useWeakTypeRefs";
public final static String xsetBCEL_REPOSITORY_CACHING_DEFAULT = "true";
public final static String xsetFAST_PACK_METHODS = "fastPackMethods";
public final static String xsetOVERW... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | if (jps.indexOf("synchronization") != -1) {
optionalJoinpoint_Synchronization = true;
}
}
public boolean isJoinpointArrayConstructionEnabled() {
return optionalJoinpoint_ArrayConstruction;
}
public boolean isJoinpointSynchronizationEnabled() {
return optionalJoinpoint_Synchronization;
}
public String get... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | public final static int DONT_USE_REFS = 0;
public final static int USE_WEAK_REFS = 1;
public final static int USE_SOFT_REFS = 2;
public List<String> addedSinceLastDemote;
public List<String> writtenClasses;
private static boolean debug = false;
public static boolean useExpendableMap = true;
private bo... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | private boolean debugDemotion = false;
public int policy = USE_WEAK_REFS;
final Map<String, ResolvedType> tMap = new HashMap<String, ResolvedType>();
final Map<String, Reference<ResolvedType>> expendableMap = Collections
.synchronizedMap(new WeakHashMap<String, Reference<ResolvedType>>());
private fin... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | }
public int demote() {
return demote(false);
}
/**
* Go through any types added during the previous file weave. If any are suitable for demotion, then put them in the
* expendable map where GC can claim them at some point later. Demotion means: the type is not an aspect, the type is not
* java.lang.O... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | demotionCounter++;
}
}
}
addedSinceLastDemote.clear();
} else {
List<String> forRemoval = new ArrayList<String>();
for (String key : addedSinceLastDemote) {
ResolvedType type = tMap.get(key);
if (type == null) {
forRemoval.add(key);
continue;
}
i... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | ReferenceTypeDelegate delegate = ((ReferenceType) type).getDelegate();
boolean isWeavable = delegate == null ? false : delegate.isExposedToWeaver();
boolean hasBeenWoven = delegate == null ? false : delegate.hasBeenWoven();
if (!isWeavable || hasBeenWoven) {
if (debugDemotion) {
Sy... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | if (atEndOfCompile) {
if (debugDemotion) {
System.out.println("Clearing writtenClasses");
}
writtenClasses.clear();
}
return demotionCounter;
}
private void insertInExpendableMap(String key, ResolvedType type) {
if (useExpendableMap) {
if (!expendableMap.containsKey(key)) {
if (po... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | if (!type.isCacheable()) {
return type;
}
if (type.isParameterizedType() && type.isParameterizedWithTypeVariable()) {
if (debug) {
System.err
.println("Not putting a parameterized type that utilises member declared type variables into the typemap: key="
+ key + " type=" + type);
}... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | return type;
}
if ((type instanceof ReferenceType) && (((ReferenceType) type).getDelegate() == null) && w.isExpendable(type)) {
if (debug) {
System.err.println("Not putting expendable ref type with null delegate into typemap: key=" + key + " type="
+ type);
}
return type;
}
/*
... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | }
}
if (memoryProfiling && expendableMap.size() > maxExpendableMapSize) {
maxExpendableMapSize = expendableMap.size();
}
return type;
} else {
if (demotionSystemActive) {
addedSinceLastDemote.add(key);
}
return tMap.put(key, type);
}
}
public void report() {
if (... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | }
while (rq.poll() != null) {
collectedTypes++;
}
}
/**
* Lookup a type by its signature, always look in the real map before the expendable map
*/
public ResolvedType get(String key) {
checkq();
ResolvedType ret = tMap.get(key);
if (ret == null) {
if (policy == USE_WEAK_REFS) {
W... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | ResolvedType ret = tMap.remove(key);
if (ret == null) {
if (policy == USE_WEAK_REFS) {
WeakReference<ResolvedType> wref = (WeakReference<ResolvedType>) expendableMap.remove(key);
if (wref != null) {
ret = wref.get();
}
} else if (policy == USE_SOFT_REFS) {
SoftReference<ResolvedType... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | addedSinceLastDemote.remove(key);
}
tMap.remove(key);
insertInExpendableMap(key, type);
}
}
/**
* This class is used to compute and store precedence relationships between aspects.
*/
private static class AspectPrecedenceCalculator { |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | private final World world;
private final Map<PrecedenceCacheKey, Integer> cachedResults;
public AspectPrecedenceCalculator(World forSomeWorld) {
world = forSomeWorld;
cachedResults = new HashMap<PrecedenceCacheKey, Integer>();
}
/**
* Ask every declare precedence in the world to order the two aspects. ... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | isls[1] = d.getSourceLocation();
Message m = new Message("conflicting declare precedence orderings for aspects: "
+ firstAspect.getName() + " and " + secondAspect.getName(), null, true, isls);
world.getMessageHandler().handleMessage(m);
} else {
order = thisOrder;
}
}
... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | }
private static class PrecedenceCacheKey {
public ResolvedType aspect1;
public ResolvedType aspect2;
public PrecedenceCacheKey(ResolvedType a1, ResolvedType a2) {
aspect1 = a1;
aspect2 = a2;
}
@Override
public boolean equals(Object obj) {
if (!(obj instanceof PrecedenceCacheKey)) {
... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | private final Map<Class<?>, TypeVariable[]> workInProgress1 = new HashMap<Class<?>, TypeVariable[]>();
public TypeVariable[] getTypeVariablesCurrentlyBeingProcessed(Class<?> baseClass) {
return workInProgress1.get(baseClass);
}
public void recordTypeVariablesCurrentlyBeingProcessed(Class<?> baseClass, TypeVariable... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | bcelRepositoryCaching = s.equalsIgnoreCase("true");
if (!bcelRepositoryCaching) {
getMessageHandler().handleMessage(
MessageUtil
.info("[bcelRepositoryCaching=false] AspectJ will not use a bcel cache for class information"));
}
s = p.getProperty(xsetITD_VERSION, xsetITD_V... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | shouldGenerateStackMaps = s.equalsIgnoreCase("true");
s = p.getProperty(xsetCOMPLETE_BINARY_TYPES, xsetCOMPLETE_BINARY_TYPES_DEFAULT);
completeBinaryTypes = s.equalsIgnoreCase("true");
if (completeBinaryTypes) {
getMessageHandler().handleMessage(
MessageUtil.info("[completeBinaryTypes=true] Comp... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | runMinimalMemorySet = p.getProperty(xsetRUN_MINIMAL_MEMORY) != null;
s = p.getProperty(xsetRUN_MINIMAL_MEMORY, "false");
runMinimalMemory = s.equalsIgnoreCase("true");
s = p.getProperty(xsetDEBUG_STRUCTURAL_CHANGES_CODE, "false");
forDEBUG_structuralChangesCode = s.equalsIgnoreCase("... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | getMessageHandler().handleMessage(MessageUtil.error("unable to process timersPerType value of " + s));
timersPerType = 250;
}
}
try {
if (systemPropertyOverWeaving) {
overWeaving = true;
}
String value = null;
value = System.getProperty("aspectj.typeDemotion", "false");
if (value... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | public boolean isTransientTjpFields() {
ensureAdvancedConfigurationProcessed();
return transientTjpFields;
}
public boolean isRunMinimalMemorySet() {
ensureAdvancedConfigurationProcessed();
return runMinimalMemorySet;
}
public boolean shouldFastPackMethods() {
ensureAdvancedConfigurationProcessed();
ret... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | }
synchronizationPointcutsInUse = true;
if (trace.isTraceEnabled()) {
trace.exit("setSynchronizationPointcutsInUse");
}
}
public boolean areSynchronizationPointcutsInUse() {
return synchronizationPointcutsInUse;
}
/**
* Register a new pointcut designator handler with the world - this can be used by any... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | }
public void reportCheckerMatch(Checker checker, Shadow shadow) {
}
/**
* @return true if this world has the activation and scope of application of the aspects controlled via aop.xml files
*/
public boolean isXmlConfigured() {
return false;
}
public boolean isAspectIncluded(ResolvedType aspectType) {
ret... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | /**
* Ask the type map to demote any types it can - we don't want them anchored forever.
*/
public void demote() {
typeMap.demote();
}
/**
* Reference types we don't intend to weave may be ejected from the cache if we need the space.
*/
protected boolean isExpendable(ResolvedType typ... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | private TimeCollector timeCollector = null;
/**
* Record the time spent matching a pointcut - this will accumulate over the lifetime of this world/weaver and be reported every
* 25000 join points.
*/
public void record(Pointcut pointcut, long timetaken) {
if (timeCollector == null) {
ensureAdvancedConfigur... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | private World world;
long joinpointCount;
long typeCount;
long perJoinpointCount;
long perTypes;
Map<String, Long> joinpointsPerPointcut = new HashMap<String, Long>();
Map<String, Long> timePerPointcut = new HashMap<String, Long>();
Map<String, Long> fastMatchTimesPerPointcut = new HashMap<String, Long>()... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | }
world.getMessageHandler().handleMessage(
MessageUtil.info("Pointcut matching cost (total=" + (totalTime / 1000000) + "ms for " + joinpointCount
+ " joinpoint match calls):"));
for (String p : joinpointsPerPointcut.keySet()) {
StringBuffer sb = new StringBuffer();
sb.append("Time:" + (timePer... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | if (jpcounter == null) {
jpcounter = 1L;
} else {
jpcounter++;
}
joinpointsPerPointcut.put(pointcutText, jpcounter);
Long time = timePerPointcut.get(pointcutText);
if (time == null) {
time = timetakenInNs;
} else {
time += timetakenInNs;
}
timePerPointcut.put(pointcutText, time);... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | }
}
void recordFastMatch(Pointcut pointcut, long timetakenInNs) {
typeCount++;
String pointcutText = pointcut.toString();
Long typecounter = fastMatchTypesPerPointcut.get(pointcutText);
if (typecounter == null) {
typecounter = 1L;
} else {
typecounter++;
}
fastMatchTypesPerPointcut.put(... |
374,745 | Bug 374745 Performance regression in 1.6.12 | null | resolved fixed | 549d227 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-23T23:57:10Z | 2012-03-20T10:40:00Z | org.aspectj.matcher/src/org/aspectj/weaver/World.java | sb.append("Time:" + (fastMatchTimesPerPointcut.get(p) / 1000000) + "ms (types:#"
+ fastMatchTypesPerPointcut.get(p) + ") fast matching against " + p);
world.getMessageHandler().handleMessage(MessageUtil.info(sb.toString()));
}
world.getMessageHandler().handleMessage(MessageUtil.info("---"));
... |
374,964 | Bug 374964 Performance - improve pointcut expensiveness calculation | Build Identifier: 1.6.12 I'm able to reduce the AspectJ LTW startup overhead on the app I'm working on, from 95 seconds down to 47 seconds, just by switching the "expensiveness" of THIS_OR_TARGET and CALL in PointcutEvaluationExpenseComparator. It seems to make sense to me that THIS_OR_TARGET is more expensive since it... | resolved fixed | f85631f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-24T01:17:09Z | 2012-03-21T17:13:20Z | org.aspectj.matcher/src/org/aspectj/weaver/patterns/PointcutEvaluationExpenseComparator.java | /* *******************************************************************
* Copyright (c) 2004 IBM Corporation.
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distribution and is available at
* ... |
374,964 | Bug 374964 Performance - improve pointcut expensiveness calculation | Build Identifier: 1.6.12 I'm able to reduce the AspectJ LTW startup overhead on the app I'm working on, from 95 seconds down to 47 seconds, just by switching the "expensiveness" of THIS_OR_TARGET and CALL in PointcutEvaluationExpenseComparator. It seems to make sense to me that THIS_OR_TARGET is more expensive since it... | resolved fixed | f85631f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-24T01:17:09Z | 2012-03-21T17:13:20Z | org.aspectj.matcher/src/org/aspectj/weaver/patterns/PointcutEvaluationExpenseComparator.java | private static final int IF = 17;
private static final int OTHER = 20;
/**
* Compare 2 pointcuts based on an estimate of how expensive they may be to evaluate.
*
* within
*
* @within staticinitialization [make sure this has a fast match method] adviceexecution handler get, set withincode
* @withincode e... |
374,964 | Bug 374964 Performance - improve pointcut expensiveness calculation | Build Identifier: 1.6.12 I'm able to reduce the AspectJ LTW startup overhead on the app I'm working on, from 95 seconds down to 47 seconds, just by switching the "expensiveness" of THIS_OR_TARGET and CALL in PointcutEvaluationExpenseComparator. It seems to make sense to me that THIS_OR_TARGET is more expensive since it... | resolved fixed | f85631f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-24T01:17:09Z | 2012-03-21T17:13:20Z | org.aspectj.matcher/src/org/aspectj/weaver/patterns/PointcutEvaluationExpenseComparator.java | }
}
return result;
}
private int getScore(Pointcut p) {
if (p.couldMatchKinds() == Shadow.NO_SHADOW_KINDS_BITS) {
return MATCHES_NOTHING;
}
if (p instanceof WithinPointcut) {
return WITHIN;
}
if (p instanceof WithinAnnotationPointcut) {
return ATWITHIN;
}
if (p instanceof KindedPointcut) ... |
374,964 | Bug 374964 Performance - improve pointcut expensiveness calculation | Build Identifier: 1.6.12 I'm able to reduce the AspectJ LTW startup overhead on the app I'm working on, from 95 seconds down to 47 seconds, just by switching the "expensiveness" of THIS_OR_TARGET and CALL in PointcutEvaluationExpenseComparator. It seems to make sense to me that THIS_OR_TARGET is more expensive since it... | resolved fixed | f85631f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-24T01:17:09Z | 2012-03-21T17:13:20Z | org.aspectj.matcher/src/org/aspectj/weaver/patterns/PointcutEvaluationExpenseComparator.java | return STATICINIT;
} else {
return OTHER;
}
}
if (p instanceof AnnotationPointcut) {
return ANNOTATION;
}
if (p instanceof ArgsPointcut) {
return ARGS;
}
if (p instanceof ArgsAnnotationPointcut) {
return AT_ARGS;
}
if (p instanceof CflowPointcut || p instanceof ConcreteCflowPointcut) ... |
374,964 | Bug 374964 Performance - improve pointcut expensiveness calculation | Build Identifier: 1.6.12 I'm able to reduce the AspectJ LTW startup overhead on the app I'm working on, from 95 seconds down to 47 seconds, just by switching the "expensiveness" of THIS_OR_TARGET and CALL in PointcutEvaluationExpenseComparator. It seems to make sense to me that THIS_OR_TARGET is more expensive since it... | resolved fixed | f85631f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-24T01:17:09Z | 2012-03-21T17:13:20Z | org.aspectj.matcher/src/org/aspectj/weaver/patterns/PointcutEvaluationExpenseComparator.java | return WITHINCODE;
}
if (p instanceof WithinCodeAnnotationPointcut) {
return ATWITHINCODE;
}
if (p instanceof NotPointcut) {
return getScore(((NotPointcut) p).getNegatedPointcut());
}
if (p instanceof AndPointcut) {
int leftScore = getScore(((AndPointcut) p).getLeft());
int rightScore = getScore... |
374,964 | Bug 374964 Performance - improve pointcut expensiveness calculation | Build Identifier: 1.6.12 I'm able to reduce the AspectJ LTW startup overhead on the app I'm working on, from 95 seconds down to 47 seconds, just by switching the "expensiveness" of THIS_OR_TARGET and CALL in PointcutEvaluationExpenseComparator. It seems to make sense to me that THIS_OR_TARGET is more expensive since it... | resolved fixed | f85631f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-24T01:17:09Z | 2012-03-21T17:13:20Z | tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java | /*******************************************************************************
* Copyright (c) 2008 Contributors
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* ... |
374,964 | Bug 374964 Performance - improve pointcut expensiveness calculation | Build Identifier: 1.6.12 I'm able to reduce the AspectJ LTW startup overhead on the app I'm working on, from 95 seconds down to 47 seconds, just by switching the "expensiveness" of THIS_OR_TARGET and CALL in PointcutEvaluationExpenseComparator. It seems to make sense to me that THIS_OR_TARGET is more expensive since it... | resolved fixed | f85631f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-24T01:17:09Z | 2012-03-21T17:13:20Z | tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java | /*
public void testPublicITDFs_pr73507_1() {
runTest("public ITDfs - 1");
}
public void testPublicITDFs_pr73507_2() {
runTest("public ITDfs - 2");
}
public void testPublicITDFs_pr73507_3() {
runTest("public ITDfs - 3");
}
public void testPublicITDFs_pr73507_4() {
runTest("public ITDfs - 4");
}
*/
publi... |
374,964 | Bug 374964 Performance - improve pointcut expensiveness calculation | Build Identifier: 1.6.12 I'm able to reduce the AspectJ LTW startup overhead on the app I'm working on, from 95 seconds down to 47 seconds, just by switching the "expensiveness" of THIS_OR_TARGET and CALL in PointcutEvaluationExpenseComparator. It seems to make sense to me that THIS_OR_TARGET is more expensive since it... | resolved fixed | f85631f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-24T01:17:09Z | 2012-03-21T17:13:20Z | tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java | public void testTransientTjpFields()throws Exception {
runTest("transient tjp fields");
JavaClass jc = getClassFrom(ajc.getSandboxDirectory(), "Code");
Field[] fs = jc.getFields();
for (Field f: fs) {
if (!f.isTransient()) {
fail("Field should be transient: "+f);
}
}
}
public void testGene... |
374,964 | Bug 374964 Performance - improve pointcut expensiveness calculation | Build Identifier: 1.6.12 I'm able to reduce the AspectJ LTW startup overhead on the app I'm working on, from 95 seconds down to 47 seconds, just by switching the "expensiveness" of THIS_OR_TARGET and CALL in PointcutEvaluationExpenseComparator. It seems to make sense to me that THIS_OR_TARGET is more expensive since it... | resolved fixed | f85631f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-24T01:17:09Z | 2012-03-21T17:13:20Z | tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java | ut = TypeFactory.createTypeFromSignature("LFoo<*TT;>;");
assertEquals(2,ut.getTypeParameters().length);
ut = TypeFactory.createTypeFromSignature("LFoo<[I>;");
assertEquals(1,ut.getTypeParameters().length);
ut = TypeFactory.createTypeFromSignature("LFoo<[I[Z>;");
assertEquals(2,ut.getTypeParameters().length... |
374,964 | Bug 374964 Performance - improve pointcut expensiveness calculation | Build Identifier: 1.6.12 I'm able to reduce the AspectJ LTW startup overhead on the app I'm working on, from 95 seconds down to 47 seconds, just by switching the "expensiveness" of THIS_OR_TARGET and CALL in PointcutEvaluationExpenseComparator. It seems to make sense to me that THIS_OR_TARGET is more expensive since it... | resolved fixed | f85631f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-24T01:17:09Z | 2012-03-21T17:13:20Z | tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java | }
public void testLiterals1() {
runTest("literals 1");
}
public void testLiterals2() {
runTest("literals 2");
}
public void testLiteralsItd1() {
runTest("literals itd 1");
}
public void testStringSwitch1() {
runTest("string switch 1");
}
public void testStringSwitch2() {
runTest("string switch 2");
... |
374,964 | Bug 374964 Performance - improve pointcut expensiveness calculation | Build Identifier: 1.6.12 I'm able to reduce the AspectJ LTW startup overhead on the app I'm working on, from 95 seconds down to 47 seconds, just by switching the "expensiveness" of THIS_OR_TARGET and CALL in PointcutEvaluationExpenseComparator. It seems to make sense to me that THIS_OR_TARGET is more expensive since it... | resolved fixed | f85631f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-03-24T01:17:09Z | 2012-03-21T17:13:20Z | tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java | public void testSanity1() {
runTest("sanity 1");
}
public void testMissingImpl_363979() {
runTest("missing impl");
}
public void testMissingImpl_363979_2() {
runTest("missing impl 2");
}
public void testStackOverflow_364380() {
runTest("stackoverflow");
}
public static Test suite() {
r... |
376,139 | Bug 376139 AspectJ throws Nullpointer after its IDE plugin update | Build Identifier: Version: Indigo Service Release 2 Build id: 20120216-1857 java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.ast.SwitchStatement.analyseCode(SwitchStatement.java:118) at org.aspectj.org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.analyseCode(MethodDeclaration.java:... | resolved fixed | 62fca9a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-05T22:17:56Z | 2012-04-05T04:26:40Z | tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java | /*******************************************************************************
* Copyright (c) 2008-2012 Contributors
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available a... |
376,139 | Bug 376139 AspectJ throws Nullpointer after its IDE plugin update | Build Identifier: Version: Indigo Service Release 2 Build id: 20120216-1857 java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.ast.SwitchStatement.analyseCode(SwitchStatement.java:118) at org.aspectj.org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.analyseCode(MethodDeclaration.java:... | resolved fixed | 62fca9a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-05T22:17:56Z | 2012-04-05T04:26:40Z | tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java | public void testDecAtFieldOrderingLTW1() {
runTest("dec at field ordering ltw 1");
}
public void testDecAtFieldOrdering1() {
runTest("dec at field ordering 1");
}
public void testXmlDefsDeclareAnnoMethod() {
runTest("xml defined dec at method");
} |
376,139 | Bug 376139 AspectJ throws Nullpointer after its IDE plugin update | Build Identifier: Version: Indigo Service Release 2 Build id: 20120216-1857 java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.ast.SwitchStatement.analyseCode(SwitchStatement.java:118) at org.aspectj.org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.analyseCode(MethodDeclaration.java:... | resolved fixed | 62fca9a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-05T22:17:56Z | 2012-04-05T04:26:40Z | tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java | public void testXmlDefsDeclareAnnoMethod2() {
runTest("xml defined dec at method 2");
}
public void testXmlDefsDeclareAnnoField() {
runTest("xml defined dec at field");
}
public void testXmlDefsDeclareAnnoFieldVariants1() {
runTest("xml defined dec anno - variants 1");
}
public void testXmlDefsDeclareAnno... |
376,139 | Bug 376139 AspectJ throws Nullpointer after its IDE plugin update | Build Identifier: Version: Indigo Service Release 2 Build id: 20120216-1857 java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.ast.SwitchStatement.analyseCode(SwitchStatement.java:118) at org.aspectj.org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.analyseCode(MethodDeclaration.java:... | resolved fixed | 62fca9a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-05T22:17:56Z | 2012-04-05T04:26:40Z | tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java | pointcutExpression = (StandardPointcutExpressionImpl)pointcutParser.parsePointcutExpression("call(* String.*(..)) && this(Object)");
pc = pointcutExpression.getUnderlyingPointcut();
newp = new PointcutRewriter().rewrite(pc);
assertEquals("(call(* java.lang.String.*(..)) && this(java.lang.Object))",newp.toStrin... |
376,139 | Bug 376139 AspectJ throws Nullpointer after its IDE plugin update | Build Identifier: Version: Indigo Service Release 2 Build id: 20120216-1857 java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.ast.SwitchStatement.analyseCode(SwitchStatement.java:118) at org.aspectj.org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.analyseCode(MethodDeclaration.java:... | resolved fixed | 62fca9a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-05T22:17:56Z | 2012-04-05T04:26:40Z | tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java | public void testTransientTjpFields()throws Exception {
runTest("transient tjp fields");
JavaClass jc = getClassFrom(ajc.getSandboxDirectory(), "Code");
Field[] fs = jc.getFields();
for (Field f: fs) {
if (!f.isTransient()) {
fail("Field should be transient: "+f);
}
}
}
public void testGene... |
376,139 | Bug 376139 AspectJ throws Nullpointer after its IDE plugin update | Build Identifier: Version: Indigo Service Release 2 Build id: 20120216-1857 java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.ast.SwitchStatement.analyseCode(SwitchStatement.java:118) at org.aspectj.org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.analyseCode(MethodDeclaration.java:... | resolved fixed | 62fca9a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-05T22:17:56Z | 2012-04-05T04:26:40Z | tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java | ut = TypeFactory.createTypeFromSignature("LFoo<*TT;>;");
assertEquals(2,ut.getTypeParameters().length);
ut = TypeFactory.createTypeFromSignature("LFoo<[I>;");
assertEquals(1,ut.getTypeParameters().length);
ut = TypeFactory.createTypeFromSignature("LFoo<[I[Z>;");
assertEquals(2,ut.getTypeParameters().length... |
376,139 | Bug 376139 AspectJ throws Nullpointer after its IDE plugin update | Build Identifier: Version: Indigo Service Release 2 Build id: 20120216-1857 java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.ast.SwitchStatement.analyseCode(SwitchStatement.java:118) at org.aspectj.org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.analyseCode(MethodDeclaration.java:... | resolved fixed | 62fca9a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-05T22:17:56Z | 2012-04-05T04:26:40Z | tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java | }
public void testLiterals1() {
runTest("literals 1");
}
public void testLiterals2() {
runTest("literals 2");
}
public void testLiteralsItd1() {
runTest("literals itd 1");
}
public void testStringSwitch1() {
runTest("string switch 1");
}
public void testStringSwitch2() {
runTest("string switch 2");
... |
376,139 | Bug 376139 AspectJ throws Nullpointer after its IDE plugin update | Build Identifier: Version: Indigo Service Release 2 Build id: 20120216-1857 java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.ast.SwitchStatement.analyseCode(SwitchStatement.java:118) at org.aspectj.org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.analyseCode(MethodDeclaration.java:... | resolved fixed | 62fca9a | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-05T22:17:56Z | 2012-04-05T04:26:40Z | tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java | public void testSanity1() {
runTest("sanity 1");
}
public void testMissingImpl_363979() {
runTest("missing impl");
}
public void testMissingImpl_363979_2() {
runTest("missing impl 2");
}
public void testStackOverflow_364380() {
runTest("stackoverflow");
}
public static Test suite() {
r... |
376,351 | Bug 376351 attribute problems with Java 7 compilation | From the mailing list, this goes wrong: ***R.java*** public class R{ public static void main(String[] args) {System.out.println(new R().getClass().getName());} } ***R1.java*** public class R1 extends R {} ***RAj.aj*** public aspect RAj { private ThreadLocal<Object> inAspect = new ThreadLocal<Object>(); pointcut createR... | resolved fixed | be063b8 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-09T21:15:55Z | 2012-04-09T19:33:20Z | tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java | /*******************************************************************************
* Copyright (c) 2008-2012 Contributors
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available a... |
376,351 | Bug 376351 attribute problems with Java 7 compilation | From the mailing list, this goes wrong: ***R.java*** public class R{ public static void main(String[] args) {System.out.println(new R().getClass().getName());} } ***R1.java*** public class R1 extends R {} ***RAj.aj*** public aspect RAj { private ThreadLocal<Object> inAspect = new ThreadLocal<Object>(); pointcut createR... | resolved fixed | be063b8 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-09T21:15:55Z | 2012-04-09T19:33:20Z | tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java | public void testSwitchOnEnum() {
runTest("switch on enum");
}
public void testDecAtFieldOrderingLTW1() {
runTest("dec at field ordering ltw 1");
}
public void testDecAtFieldOrdering1() {
runTest("dec at field ordering 1");
}
public void testXmlDefsDeclareAnnoMethod() {
runTest("xml defined dec at me... |
376,351 | Bug 376351 attribute problems with Java 7 compilation | From the mailing list, this goes wrong: ***R.java*** public class R{ public static void main(String[] args) {System.out.println(new R().getClass().getName());} } ***R1.java*** public class R1 extends R {} ***RAj.aj*** public aspect RAj { private ThreadLocal<Object> inAspect = new ThreadLocal<Object>(); pointcut createR... | resolved fixed | be063b8 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-09T21:15:55Z | 2012-04-09T19:33:20Z | tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java | public void testXmlDefsDeclareAnnoMethod2() {
runTest("xml defined dec at method 2");
}
public void testXmlDefsDeclareAnnoField() {
runTest("xml defined dec at field");
}
public void testXmlDefsDeclareAnnoFieldVariants1() {
runTest("xml defined dec anno - variants 1");
}
public void testXmlDefsDeclareAnno... |
376,351 | Bug 376351 attribute problems with Java 7 compilation | From the mailing list, this goes wrong: ***R.java*** public class R{ public static void main(String[] args) {System.out.println(new R().getClass().getName());} } ***R1.java*** public class R1 extends R {} ***RAj.aj*** public aspect RAj { private ThreadLocal<Object> inAspect = new ThreadLocal<Object>(); pointcut createR... | resolved fixed | be063b8 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-09T21:15:55Z | 2012-04-09T19:33:20Z | tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java | pointcutExpression = (StandardPointcutExpressionImpl)pointcutParser.parsePointcutExpression("call(* String.*(..)) && this(Object)");
pc = pointcutExpression.getUnderlyingPointcut();
newp = new PointcutRewriter().rewrite(pc);
assertEquals("(call(* java.lang.String.*(..)) && this(java.lang.Object))",newp.toStrin... |
376,351 | Bug 376351 attribute problems with Java 7 compilation | From the mailing list, this goes wrong: ***R.java*** public class R{ public static void main(String[] args) {System.out.println(new R().getClass().getName());} } ***R1.java*** public class R1 extends R {} ***RAj.aj*** public aspect RAj { private ThreadLocal<Object> inAspect = new ThreadLocal<Object>(); pointcut createR... | resolved fixed | be063b8 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-09T21:15:55Z | 2012-04-09T19:33:20Z | tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java | public void testTransientTjpFields()throws Exception {
runTest("transient tjp fields");
JavaClass jc = getClassFrom(ajc.getSandboxDirectory(), "Code");
Field[] fs = jc.getFields();
for (Field f: fs) {
if (!f.isTransient()) {
fail("Field should be transient: "+f);
}
}
}
public void testGene... |
376,351 | Bug 376351 attribute problems with Java 7 compilation | From the mailing list, this goes wrong: ***R.java*** public class R{ public static void main(String[] args) {System.out.println(new R().getClass().getName());} } ***R1.java*** public class R1 extends R {} ***RAj.aj*** public aspect RAj { private ThreadLocal<Object> inAspect = new ThreadLocal<Object>(); pointcut createR... | resolved fixed | be063b8 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-09T21:15:55Z | 2012-04-09T19:33:20Z | tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java | ut = TypeFactory.createTypeFromSignature("LFoo<*TT;>;");
assertEquals(2,ut.getTypeParameters().length);
ut = TypeFactory.createTypeFromSignature("LFoo<[I>;");
assertEquals(1,ut.getTypeParameters().length);
ut = TypeFactory.createTypeFromSignature("LFoo<[I[Z>;");
assertEquals(2,ut.getTypeParameters().length... |
376,351 | Bug 376351 attribute problems with Java 7 compilation | From the mailing list, this goes wrong: ***R.java*** public class R{ public static void main(String[] args) {System.out.println(new R().getClass().getName());} } ***R1.java*** public class R1 extends R {} ***RAj.aj*** public aspect RAj { private ThreadLocal<Object> inAspect = new ThreadLocal<Object>(); pointcut createR... | resolved fixed | be063b8 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-09T21:15:55Z | 2012-04-09T19:33:20Z | tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java | }
public void testLiterals1() {
runTest("literals 1");
}
public void testLiterals2() {
runTest("literals 2");
}
public void testLiteralsItd1() {
runTest("literals itd 1");
}
public void testStringSwitch1() {
runTest("string switch 1");
}
public void testStringSwitch2() {
runTest("string switch 2");
... |
376,351 | Bug 376351 attribute problems with Java 7 compilation | From the mailing list, this goes wrong: ***R.java*** public class R{ public static void main(String[] args) {System.out.println(new R().getClass().getName());} } ***R1.java*** public class R1 extends R {} ***RAj.aj*** public aspect RAj { private ThreadLocal<Object> inAspect = new ThreadLocal<Object>(); pointcut createR... | resolved fixed | be063b8 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-09T21:15:55Z | 2012-04-09T19:33:20Z | tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java | public void testSanity1() {
runTest("sanity 1");
}
public void testMissingImpl_363979() {
runTest("missing impl");
}
public void testMissingImpl_363979_2() {
runTest("missing impl 2");
}
public void testStackOverflow_364380() {
runTest("stackoverflow");
}
public static Test suite() {
r... |
376,351 | Bug 376351 attribute problems with Java 7 compilation | From the mailing list, this goes wrong: ***R.java*** public class R{ public static void main(String[] args) {System.out.println(new R().getClass().getName());} } ***R1.java*** public class R1 extends R {} ***RAj.aj*** public aspect RAj { private ThreadLocal<Object> inAspect = new ThreadLocal<Object>(); pointcut createR... | resolved fixed | be063b8 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-09T21:15:55Z | 2012-04-09T19:33:20Z | weaver/src/org/aspectj/weaver/bcel/asm/StackMapAdder.java | /* *******************************************************************
* Copyright (c) 2008 Contributors
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0
* which accompanies this distribution and is available at
* http://w... |
376,351 | Bug 376351 attribute problems with Java 7 compilation | From the mailing list, this goes wrong: ***R.java*** public class R{ public static void main(String[] args) {System.out.println(new R().getClass().getName());} } ***R1.java*** public class R1 extends R {} ***RAj.aj*** public aspect RAj { private ThreadLocal<Object> inAspect = new ThreadLocal<Object>(); pointcut createR... | resolved fixed | be063b8 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-09T21:15:55Z | 2012-04-09T19:33:20Z | weaver/src/org/aspectj/weaver/bcel/asm/StackMapAdder.java | public static byte[] addStackMaps(World world, byte[] data) {
try {
ClassReader cr = new ClassReader(data);
ClassWriter cw = new AspectJConnectClassWriter(world);
cr.accept(cw, 0);
return cw.toByteArray();
} catch (Throwable t) {
System.err.println("AspectJ Internal Error: unable to add stackmap attr... |
376,351 | Bug 376351 attribute problems with Java 7 compilation | From the mailing list, this goes wrong: ***R.java*** public class R{ public static void main(String[] args) {System.out.println(new R().getClass().getName());} } ***R1.java*** public class R1 extends R {} ***RAj.aj*** public aspect RAj { private ThreadLocal<Object> inAspect = new ThreadLocal<Object>(); pointcut createR... | resolved fixed | be063b8 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-09T21:15:55Z | 2012-04-09T19:33:20Z | weaver/src/org/aspectj/weaver/bcel/asm/StackMapAdder.java | private final World world;
public AspectJConnectClassWriter(World w) {
super(ClassWriter.COMPUTE_FRAMES);
this.world = w;
}
protected String getCommonSuperClass(final String type1, final String type2) {
ResolvedType resolvedType1 = world.resolve(UnresolvedType.forName(type1.replace('/', '.')));
Res... |
376,990 | Bug 376990 iajc does not support source compliance level 1.7 | Build Identifier: Version: 3.7.2 Build id: M20120208-0800 I am using AspectJ 1.7.0.M1. I changed the examples build.xml to use a source compliance level of 1.7 and verbose=true as follows: <iajc destdir="${classes.dir}" verbose="true" source="1.7" argfiles="${list}" When I run this using 'ant bean' I get the following ... | resolved fixed | 89c178f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-17T16:39:41Z | 2012-04-17T16:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | /* *******************************************************************
* Copyright (c) 2001-2001 Xerox Corporation,
* 2002 Palo Alto Research Center, Incorporated (PARC)
* 2003-2004 Contributors.
* All rights reserved.
* This program and the accompanying materials are made available
... |
376,990 | Bug 376990 iajc does not support source compliance level 1.7 | Build Identifier: Version: 3.7.2 Build id: M20120208-0800 I am using AspectJ 1.7.0.M1. I changed the examples build.xml to use a source compliance level of 1.7 and verbose=true as follows: <iajc destdir="${classes.dir}" verbose="true" source="1.7" argfiles="${list}" When I run this using 'ant bean' I get the following ... | resolved fixed | 89c178f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-17T16:39:41Z | 2012-04-17T16:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.StringTokenizer;
import org.apache.tools.ant.AntClassLoader;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Location;
import org.apache.tools.ant.Project;
import org.apache.tools.ant.taskdefs.Copy;
... |
376,990 | Bug 376990 iajc does not support source compliance level 1.7 | Build Identifier: Version: 3.7.2 Build id: M20120208-0800 I am using AspectJ 1.7.0.M1. I changed the examples build.xml to use a source compliance level of 1.7 and verbose=true as follows: <iajc destdir="${classes.dir}" verbose="true" source="1.7" argfiles="${list}" When I run this using 'ant bean' I get the following ... | resolved fixed | 89c178f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-17T16:39:41Z | 2012-04-17T16:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | import org.aspectj.bridge.IMessageHandler;
import org.aspectj.bridge.IMessageHolder;
import org.aspectj.bridge.MessageHandler;
import org.aspectj.bridge.MessageUtil;
import org.aspectj.tools.ajc.Main;
import org.aspectj.util.FileUtil;
import org.aspectj.util.LangUtil;
/**
* This runs the AspectJ 1.1 compiler, supporti... |
376,990 | Bug 376990 iajc does not support source compliance level 1.7 | Build Identifier: Version: 3.7.2 Build id: M20120208-0800 I am using AspectJ 1.7.0.M1. I changed the examples build.xml to use a source compliance level of 1.7 and verbose=true as follows: <iajc destdir="${classes.dir}" verbose="true" source="1.7" argfiles="${list}" When I run this using 'ant bean' I get the following ... | resolved fixed | 89c178f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-17T16:39:41Z | 2012-04-17T16:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | /**
* This method extracts javac arguments to ajc, and add arguments to make ajc behave more like javac in copying resources.
* <p>
* Pass ajc-specific options using compilerarg sub-element:
*
* <pre>
* <javac srcdir="src">
* <compilerarg compiler="..." line="-argfil... |
376,990 | Bug 376990 iajc does not support source compliance level 1.7 | Build Identifier: Version: 3.7.2 Build id: M20120208-0800 I am using AspectJ 1.7.0.M1. I changed the examples build.xml to use a source compliance level of 1.7 and verbose=true as follows: <iajc destdir="${classes.dir}" verbose="true" source="1.7" argfiles="${list}" When I run this using 'ant bean' I get the following ... | resolved fixed | 89c178f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-17T16:39:41Z | 2012-04-17T16:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | *
* @param javac the Javac command to implement (not null)
* @param ajc the AjcTask to adapt (not null)
* @param destDir the File class destination directory (may be null)
* @return null if no error, or String error otherwise
*/
public String setupAjc(Javac javac) {
if (null == javac) {
return "null ja... |
376,990 | Bug 376990 iajc does not support source compliance level 1.7 | Build Identifier: Version: 3.7.2 Build id: M20120208-0800 I am using AspectJ 1.7.0.M1. I changed the examples build.xml to use a source compliance level of 1.7 and verbose=true as follows: <iajc destdir="${classes.dir}" verbose="true" source="1.7" argfiles="${list}" When I run this using 'ant bean' I get the following ... | resolved fixed | 89c178f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-17T16:39:41Z | 2012-04-17T16:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | if (null != javacDestDir) {
ajc.setDestdir(javacDestDir);
ajc.setSourceRootCopyFilter("**/CVS/*,**/*.java,**/*.aj");
}
ajc.setBootclasspath(javac.getBootclasspath());
ajc.setExtdirs(javac.getExtdirs());
ajc.setClasspath(javac.getClasspath());
ajc.addFiles(javac.getFileList());
ajc.rea... |
376,990 | Bug 376990 iajc does not support source compliance level 1.7 | Build Identifier: Version: 3.7.2 Build id: M20120208-0800 I am using AspectJ 1.7.0.M1. I changed the examples build.xml to use a source compliance level of 1.7 and verbose=true as follows: <iajc destdir="${classes.dir}" verbose="true" source="1.7" argfiles="${list}" When I run this using 'ant bean' I get the following ... | resolved fixed | 89c178f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-17T16:39:41Z | 2012-04-17T16:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | for (int i = 0; (i < cps.length) && (null == result); i++) {
result = isAspectjtoolsjar(cps[i]);
}
}
if (null == result) {
final Path classpath = Path.systemClasspath;
final String[] paths = classpath.list();
for (int i = 0; (i < paths.length) && (null == result); i++) {
result = isAspectjtoolsj... |
376,990 | Bug 376990 iajc does not support source compliance level 1.7 | Build Identifier: Version: 3.7.2 Build id: M20120208-0800 I am using AspectJ 1.7.0.M1. I changed the examples build.xml to use a source compliance level of 1.7 and verbose=true as follows: <iajc destdir="${classes.dir}" verbose="true" source="1.7" argfiles="${list}" When I run this using 'ant bean' I get the following ... | resolved fixed | 89c178f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-17T16:39:41Z | 2012-04-17T16:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | String rest = path.substring(loc + prefixLength);
if (-1 != rest.indexOf(File.pathSeparator)) {
return null;
}
if (rest.startsWith(infix) || rest.startsWith(altInfix)) {
File result = new File(path);
if (result.canRead() && result.isFile()) {
return result;
}
}
}
return null;
}
/*... |
376,990 | Bug 376990 iajc does not support source compliance level 1.7 | Build Identifier: Version: 3.7.2 Build id: M20120208-0800 I am using AspectJ 1.7.0.M1. I changed the examples build.xml to use a source compliance level of 1.7 and verbose=true as follows: <iajc destdir="${classes.dir}" verbose="true" source="1.7" argfiles="${list}" When I run this using 'ant bean' I get the following ... | resolved fixed | 89c178f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-17T16:39:41Z | 2012-04-17T16:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | /**
* -Xlint variants (error, warning, ignore)
*
* @see org.aspectj.weaver.Lint
*/
private static final List VALID_XLINT;
public static final String COMMAND_EDITOR_NAME = AjcTask.class.getName() + ".COMMAND_EDITOR";
static final String[] TARGET_INPUTS = new String[] { "1.1", "1.2", "1.3", "1.4", "1.5", "1.6... |
376,990 | Bug 376990 iajc does not support source compliance level 1.7 | Build Identifier: Version: 3.7.2 Build id: M20120208-0800 I am using AspectJ 1.7.0.M1. I changed the examples build.xml to use a source compliance level of 1.7 and verbose=true as follows: <iajc destdir="${classes.dir}" verbose="true" source="1.7" argfiles="${list}" When I run this using 'ant bean' I get the following ... | resolved fixed | 89c178f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-17T16:39:41Z | 2012-04-17T16:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | ICommandEditor editor = null;
try {
String editorClassName = System.getProperty(COMMAND_EDITOR_NAME);
if (null != editorClassName) {
ClassLoader cl = AjcTask.class.getClassLoader();
Class editorClass = cl.loadClass(editorClassName);
editor = (ICommandEditor) editorClass.newInstance();
}
} catch... |
376,990 | Bug 376990 iajc does not support source compliance level 1.7 | Build Identifier: Version: 3.7.2 Build id: M20120208-0800 I am using AspectJ 1.7.0.M1. I changed the examples build.xml to use a source compliance level of 1.7 and verbose=true as follows: <iajc destdir="${classes.dir}" verbose="true" source="1.7" argfiles="${list}" When I run this using 'ant bean' I get the following ... | resolved fixed | 89c178f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-17T16:39:41Z | 2012-04-17T16:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | private Path forkclasspath;
private Path extdirs;
private Path aspectpath;
private Path argfiles;
private Path inxmlfiles;
private List ignored;
private Path sourceRoots;
private File xweaveDir;
private String xdoneSignal;
private List adapterFiles;
private String[] adapterArguments;
private IMessageHolder... |
376,990 | Bug 376990 iajc does not support source compliance level 1.7 | Build Identifier: Version: 3.7.2 Build id: M20120208-0800 I am using AspectJ 1.7.0.M1. I changed the examples build.xml to use a source compliance level of 1.7 and verbose=true as follows: <iajc destdir="${classes.dir}" verbose="true" source="1.7" argfiles="${list}" When I run this using 'ant bean' I get the following ... | resolved fixed | 89c178f | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2012-04-17T16:39:41Z | 2012-04-17T16:26:40Z | taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java | * modification time of the output jar when copying injars/inpath into the actual outjar.
*/
private File tmpOutjar;
private boolean executing;
private Main main;
private boolean executingInOtherVM;
private boolean inIncrementalMode;
private boolean inIncrementalFileMode;
private boolean logCommand;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.