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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | */
protected World() {
super();
if (trace.isTraceEnabled()) trace.enter("<init>", this);
Dump.registerNode(this.getClass(),this);
typeMap.put("B", ResolvedType.BYTE);
typeMap.put("S", ResolvedType.SHORT);
typeMap.put("I", ResolvedType.INT);
typeMap.put("J", Re... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | visitor.visitList(dumpState_cantFindTypeExceptions);
dumpState_cantFindTypeExceptions = null;
}
}
/**
* Resolve a type that we require to be present in the world
*/
public ResolvedType resolve(UnresolvedType ty) {
return resolve(ty, false);
}
... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | }
return ret;
}
/**
* Convenience method for resolving an array of unresolved types
* in one hit. Useful for e.g. resolving type parameters in signatures.
*/
public ResolvedType[] resolve(UnresolvedType[] types) {
if (types == null) return new ResolvedType[0];
... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | if (ty.isTypeVariableReference()) {
return ty.resolve(this);
}
String signature = ty.getSignature();
ResolvedType ret = typeMap.get(signature);
if (ret != null) {
ret.world = this;
return ret;
} else if ( signature.equals("?") || signatu... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | ret = resolveToReferenceType(ty,allowMissing);
if (!allowMissing && ret.isMissing()) {
ret = handleRequiredMissingTypeDuringResolution(ty);
}
if (completeBinaryTypes) {
completeBinaryType(ret);
}
}
if (typeMap.get(signa... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | /**
* We tried to resolve a type and couldn't find it...
*/
private ResolvedType handleRequiredMissingTypeDuringResolution(UnresolvedType ty) {
if (dumpState_cantFindTypeExceptions==null) {
dumpState_cantFindTypeExceptions = new ArrayList();
}
dumpState_cantFindTypeExceptions.add(new Run... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | /**
* 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 ResolvedType resolve(String name,boolean allowMissing) {
return resolve... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | } else if (ty.isGenericType()) {
ReferenceType genericType = (ReferenceType)resolveGenericTypeFor(ty,false);
return genericType;
} else if (ty.isGenericWildcard()) {
return resolveGenericWildcardFor(ty);
} else {
String erasedSignature = ty.getErasureSignature();
ReferenceType s... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | return simpleOrRawType;
}
}
}
/**
* Attempt to resolve a type that should be a generic type.
*/
public ResolvedType resolveGenericTypeFor(UnresolvedType anUnresolvedType, boolean allowMissing) {
String rawSignature = anUnresolvedType.getRawType().getSignature();
Resolv... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | }
if (genericType != null) {
genericType.world = this;
return genericType;
} else {
ReferenceTypeDelegate delegate = resolveDelegate((ReferenceType)rawType);
ReferenceType genericRefType = makeGenericTypeFrom(delegate,((ReferenceType)rawType));
((ReferenceType)rawT... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | BoundedReferenceType ret = null;
if (aType.isExtends()) {
ReferenceType upperBound = (ReferenceType)resolve(aType.getUpperBound());
ret = new BoundedReferenceType(upperBound,true,this);
} else if (aType.isSuper()) {
ReferenceType lowerBound = (ReferenceType) resolve(aType.getLowerBo... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | }
return coreTy;
}
/**
* Lookup a type by signature, if not found then build one and put it in the
* map.
*/
public ReferenceType lookupOrCreateName(UnresolvedType ty) {
String signature = ty.getSignature();
ReferenceType ret = lookupBySignature(signature);
if (ret == null... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | */
public ResolvedMember resolve(Member member) {
ResolvedType declaring = member.getDeclaringType().resolve(this);
if (declaring.isRawType()) declaring = declaring.getGenericType();
ResolvedMember ret;
if (member.getKind() == Member.FIELD) {
ret = declaring.lookupField(m... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | public final Advice createAdviceMunger(
AdviceKind kind,
Pointcut p,
Member signature,
int extraParameterFlags,
IHasSourceLocation loc)
{
AjAttribute.AdviceAttribute attribute =
new AjAttribute.AdviceAttribute(kind, p, extraParameterFlags, loc.getStart(), loc.getEnd... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | /**
* compares by precedence with the additional rule that a super-aspect is
* sorted before its sub-aspects
*/
public int compareByPrecedenceAndHierarchy(ResolvedType aspect1, ResolvedType aspect2) {
return precedenceCalculator.compareByPrecedenceAndHierarchy(aspect1, aspect2);
}
/**
* Nob... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | Kind kind,
String message,
ISourceLocation loc1,
ISourceLocation loc2)
{
if (loc1 != null) {
messageHandler.handleMessage(new Message(message, kind, null, loc1));
if (loc2 != null) {
messageHandler.handleMessage(new Message(message, kind, null, loc2));
}
} else {
messageHandler.han... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | public TypeVariableDeclaringElement getTypeVariableLookupScope() {
return typeVariableLookupScope;
}
public List getDeclareParents() {
return crosscuttingMembersSet.getDeclareParents();
}
public List getDeclareAnnotationOnTypes() {
return crosscuttingMembersSet.getDeclareAnnotationOnTypes();
}
pub... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | public Lint getLint() {
return lint;
}
public void setLint(Lint lint) {
this.lint = lint;
}
public boolean isXnoInline() {
return XnoInline;
}
public void setXnoInline(boolean xnoInline) {
XnoInline = xnoInline;
}
public boolean isXlazyTjp() {
return XlazyTjp;
}
public void setXlazyTjp(boolean b) ... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | public void setPinpointMode(boolean b) {
this.Xpinpoint = b;
}
public void setBehaveInJava5Way(boolean b) {
behaveInJava5Way = b;
}
/**
* Set the error and warning threashold which can be taken from
* CompilerOptions (see bug 129282)
*
* @param errorThreshold
* @param warningThreshold
*/... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | return false;
return true;
}
public void performExtraConfiguration(String config) {
if (config==null) return;
extraConfiguration = new Properties();
int pos =-1;
while ((pos=config.indexOf(","))!=-1) {
String nvpair = config.substring(0,pos);
int pos2 = nvpair.indexOf("=");
if (pos2!=-1) {
... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | /**
* may return null
*/
public Properties getExtraConfiguration() {
return extraConfiguration;
}
public final static String xsetWEAVE_JAVA_PACKAGES = "weaveJavaPackages";
public final static String xsetWEAVE_JAVAX_PACKAGES = "weaveJavaxPackages";
public final static String xsetCAPTURE_ALL_CONTEXT = ... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | if (jps.indexOf("arrayconstruction")!=-1) optionalJoinpoint_ArrayConstruction = true;
if (jps.indexOf("synchronization")!=-1) optionalJoinpoint_Synchronization = true;
}
public boolean isJoinpointArrayConstructionEnabled() {
return optionalJoinpoint_ArrayConstruction;
}
public boolean isJoinpointSynchroniza... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | private static boolean debug = false;
public static int DONT_USE_REFS = 0;
public static int USE_WEAK_REFS = 1;
public static int USE_SOFT_REFS = 2;
public static int policy = USE_SOFT_REFS;
private Map tMap = new HashMap();
private Map expendableMap = new WeakHashMap();
private... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | }
/**
* Add a new type into the map, the key is the type signature.
* Some types do *not* go in the map, these are ones involving
* *member* type variables. The reason is that when all you have is the
* signature which gives you a type variable name, you cannot
* guarantee you are using the type ... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | if (type instanceof BoundedReferenceType) {
if (debug)
System.err.println("Not putting a bounded reference type into the typemap: key="+key+" type="+type);
return type;
}
if (type instanceof MissingResolvedTypeWithKnownSignature) {
if (debug)
System.err.println("Not putting a missing type ... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | }
return type;
} else {
return (ResolvedType) tMap.put(key,type);
}
}
public void report() {
if (!memoryProfiling) return;
checkq();
w.getMessageHandler().handleMessage(MessageUtil.info("MEMORY: world expendable type map reached maximum size of #"+maxExpendableMapSize+" entries"));
w... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | ret = (ResolvedType) ref.get();
}
} else if (policy==USE_SOFT_REFS) {
SoftReference ref = (SoftReference)expendableMap.get(key);
if (ref != null) {
ret = (ResolvedType) ref.get();
}
} else {
return (ResolvedType)expendableMap.get(key);
}
}
return ret;
}
publ... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | public String toString() {
StringBuffer sb = new StringBuffer();
sb.append("types:\n");
sb.append(dumpthem(tMap));
sb.append("expendables:\n");
sb.append(dumpthem(expendableMap));
return sb.toString();
}
private String dumpthem(Map m) {
StringBuffer sb = new Str... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | bcelDel++;
} else if (refType.getDelegate() instanceof ReflectionBasedReferenceTypeDelegate) {
refDel++;
} else {
otherTypes++;
}
} else {
otherTypes++;
}
}
sb.append("# BCEL = "+bcelDel+", # REF = "+refDel+", # Other = "+otherTypes);
return sb.toString();
... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | String key = (String) iterator.next();
ResolvedType type = get((String)key);
if (type!=null) results.add(type);
else System.err.println("null!:"+key);
}
}
}
/** Reference types we don't intend to weave may be ejected from
* the cache if we need the space.
*/
protected boolean isExpendable(Res... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | this.cachedResults = new HashMap();
}
/**
* Ask every declare precedence in the world to order the two aspects.
* If more than one declare precedence gives an ordering, and the orderings
* conflict, then that's an error.
*/
public int compareByPrecedence(ResolvedType firstAspect, ResolvedType seco... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | }
}
}
cachedResults.put(key, new Integer(order));
return order;
}
}
public Integer getPrecedenceIfAny(ResolvedType aspect1,ResolvedType aspect2) {
return (Integer)cachedResults.get(new PrecedenceCacheKey(aspect1,aspect2));
}
public int compareByPrecedenceAndHierarchy(ResolvedType ... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | this.aspect2 = a2;
}
public boolean equals(Object obj) {
if (!(obj instanceof PrecedenceCacheKey)) return false;
PrecedenceCacheKey other = (PrecedenceCacheKey) obj;
return (aspect1 == other.aspect1 && aspect2 == other.aspect2);
}
public int hashCode() {
return aspect1.hashCode() + a... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | public void setAddSerialVerUID(boolean b) { addSerialVerUID=b;}
public boolean isAddSerialVerUID() { return addSerialVerUID;}
public void flush() {
typeMap.expendableMap.clear();
}
public void ensureAdvancedConfigurationProcessed() {
if (!checkedAdvancedConfiguration) {
Prop... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | completeBinaryTypes = s.equalsIgnoreCase("true");
if (completeBinaryTypes) {
getMessageHandler().handleMessage(MessageUtil.info("[completeBinaryTypes=true] Completion of binary types activated"));
}
s = p.getProperty(xsetRUN_MINIMAL_MEMORY,"false");
runMinimalMemory = s.equalsIgnoreCase(... |
220,686 | Bug 220686 unsynchronized access to WeakHashMap | null | resolved fixed | caf8960 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-02-28T20:50:38Z | 2008-02-28T00:53:20Z | weaver/src/org/aspectj/weaver/World.java | public void setFastDelegateSupport(boolean b) {
if (b && !isASMAround) {
throw new BCException("Unable to activate fast delegate support, ASM classes cannot be found");
}
fastDelegateSupportEnabled = b;
}
public boolean isFastDelegateSupportEnabled() {
return fal... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | /* *******************************************************************
* Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC).
* 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 distribut... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.jar.Attributes;
import java.util.jar.Ja... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | import org.aspectj.util.FileUtil;
import org.aspectj.util.FuzzyBoolean;
import org.aspectj.weaver.Advice;
import org.aspectj.weaver.AnnotationOnTypeMunger;
import org.aspectj.weaver.AnnotationX;
import org.aspectj.weaver.AsmRelationshipProvider;
import org.aspectj.weaver.BCException;
import org.aspectj.weaver.ConcreteT... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | import org.aspectj.weaver.patterns.DeclareAnnotation;
import org.aspectj.weaver.patterns.DeclareParents;
import org.aspectj.weaver.patterns.FastMatchInfo;
import org.aspectj.weaver.patterns.IfPointcut;
import org.aspectj.weaver.patterns.KindedPointcut;
import org.aspectj.weaver.patterns.NameBindingPointcut;
import org.... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | public BcelWeaver() {
this(new BcelWorld());
}
private List addedClasses = new ArrayList();
private List deletedTypenames = new ArrayList();
private Manifest manifest = null;
private boolean needToReweaveWorld = false;
private boolean isBatchWeave = true;
private List shadowMu... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | public ResolvedType addLibraryAspect(String aspectName) {
if (trace.isTraceEnabled()) trace.enter("addLibraryAspect",this,aspectName);
UnresolvedType unresolvedT = UnresolvedType.forName(aspectName);
unresolvedT.setNeedsModifiableDelegate(true);
ResolvedType type = world.resolve(unresolvedT... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | BcelObjectType classType = getClassType(type.getName());
JavaClass wovenJavaClass = classType.getJavaClass();
JavaClass unwovenJavaClass = Utility.makeJavaClass(wovenJavaClass.getFileName(),
wsi.getUnwovenClassFileData(wovenJavaClass.getBytes()));
world.storeClass(unwovenJavaClass);
classType.setJ... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | } else {
addedAspects = addAspectsFromJarFile(inFile);
}
for (Iterator i = addedAspects.iterator(); i.hasNext();) {
ResolvedType aspectX = (ResolvedType) i.next();
xcutSet.addOrReplaceAspect(aspectX);
}
}
private List addAspectsFromJarFile(File inFile) throws FileNotFoundException, IOException {
Z... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
inStream.close();
return addedAspects;
}
private List addAspectsFromDirectory(File dir) throws FileNotFoundException, IOException{
List addedAspects = new ArrayList();
File[] classFiles = FileUtil.listFiles(dir,new FileFilter(){
public boolean accept(File pathname) {
return pathname.getName().e... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | String binaryPath = name.substring(0,end-1);
type.setBinaryPath(binaryPath);
if (type.isAspect()) {
toList.add(type);
}
}
/**
* Add any .class files in the directory to the outdir. Anything other than .class files in
* the directory (or its subdirectories) are considered resources and are also copied.... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | */
public List addJarFile(File inFile, File outDir, boolean canBeDirectory){
List addedClassFiles = new ArrayList();
needToReweaveWorld = true;
JarFile inJar = null;
try {
if (inFile.isDirectory() && canBeDirectory) {
addedClassFiles.addAll(addDirectoryContents(inFile,outDir));
} else {
... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | inJar.close();
}
} catch (FileNotFoundException ex) {
IMessage message = new Message(
"Could not find input jar file " + inFile.getPath() + ", ignoring",
new SourceLocation(inFile,0),
false);
world.getMessageHandler().handleMessage(message);
} catch (IOException ex) {
IMessage message = n... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
public boolean needToReweaveWorld() {
return needToReweaveWorld;
}
/** Should be addOrReplace
*/
public void addClassFile(UnwovenClassFile classFile) {
addedClasses.add(classFile);
}
world.addSourceObjectType(classFile.getJavaClass());
}
public UnwovenClassFile addClassF... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | public void deleteClassFile(String typename) {
deletedTypenames.add(typename);
world.deleteSourceObjectType(UnresolvedType.forName(typename));
}
}
}
}
public void setIsBatchWeave(boolean b) {
isBatchWeave=b;
}
public void prepareForWeave() {
if (trace.isTraceEnabled()) t... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
shadowMungerList = xcutSet.getShadowMungers();
rewritePointcuts(shadowMungerList);
typeMungerList = xcutSet.getTypeMungers();
lateTypeMungerList = xcutSet.getLateTypeMungers();
declareParentsList = xcutSet.getDeclareParents();
addCustomMungers();
Col... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | return (sm2.getSourceLocation().getOffset()-sm1.getSourceLocation().getOffset());
}
});
if (inReweavableMode)
world.showMessage(IMessage.INFO,
WeaverMessages.format(WeaverMessages.REWEAVABLE_MODE),
null, null);
if (trace.isTraceEnabled()) trace.exit("prepareForWeave");
}
priva... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
public void setCustomMungerFactory(CustomMungerFactory factory) {
customMungerFactory = factory;
}
/*
* Rewrite all of the pointcuts in the world into their most efficient
* form for subsequent matching. Also ensure that if pc1.equals(pc2)
* then pc1 == pc2 (for non-binding p... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | if (advice.getConcreteAspect().isAnnotationStyleAspect()
&& advice.getDeclaringAspect()!=null
&& advice.getDeclaringAspect().resolve(world).isAnnotationStyleAspect()) {
numFormals = advice.getBaseParameterCount();
int numArgs = a... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | Pointcut p = munger.getPointcut();
munger.setPointcut(shareEntriesFromMap(p,pcMap));
}
}
private Pointcut shareEntriesFromMap(Pointcut p,Map pcMap) {
if (p instanceof NameBindingPointcut) return p;
if (p instanceof IfPointcut) return p;
if (p instanceof ConcreteCflowPointcut)... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | return p;
}
}
}
private void validateBindings(Pointcut dnfPointcut, Pointcut userPointcut, int numFormals, String[] names) {
if (numFormals == 0) return;
if (dnfPointcut.couldMatchKinds()==Shadow.NO_SHADOW_KINDS_BITS) return;
if (dnfPointcut insta... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | Pointcut[] newRightBindings = new Pointcut[numFormals];
validateOrBranch((OrPointcut)left,userPointcut,numFormals,names,leftBindings,newRightBindings);
} else {
if (left.couldMatchKinds()!=Shadow.NO_SHADOW_KINDS_BITS)
validateSingleBranch(left, userPointcut, numFormals, names, leftBindings... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
private void validateSingleBranch(Pointcut pc, Pointcut userPointcut, int numFormals, String[] names, Pointcut[] bindings) {
boolean[] foundFormals = new boolean[numFormals];
for (int i = 0; i < foundFormals.length; i++) {
foundFormals[i] = false;
}
validateSingleBranchRecursi... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | if (pc instanceof NotPointcut) {
NotPointcut not = (NotPointcut) pc;
if (not.getNegatedPointcut() instanceof NameBindingPointcut) {
NameBindingPointcut nnbp = (NameBindingPointcut) not.getNegatedPointcut();
if (!nnbp.getBindingAnnotationTypePatterns().isEmpty() && !nnbp.getBindingTypePa... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | raiseAmbiguousBindingError(names[index],userPointcut);
} else {
foundFormals[index] = true;
}
}
} else if (pc instanceof ConcreteCflowPointcut) {
ConcreteCflowPointcut cfp = (ConcreteCflowPointcut) pc;
int[] slots = cfp.getUsedFormalSlots();
for (int i = 0; i < slots.length; i++) ... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | if (couldEverMatchSameJoinPoints(leftOrPointcut.getRight(),right)) return true;
return false;
}
if (right instanceof OrPointcut) {
OrPointcut rightOrPointcut = (OrPointcut)right;
if (couldEverMatchSameJoinPoints(left,rightOrPointcut.getLeft())) return true;
if (couldEverMatch... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | Pointcut left = findFirstPointcutIn(apc.getLeft(),toLookFor);
if (left != null) return left;
return findFirstPointcutIn(apc.getRight(),toLookFor);
}
return null;
}
/**
* @param userPointcut
*/
private void raiseNegationBindingError(Pointcut userPointcut) {
world.showMessage(IMe... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | for (int i = 1; i < names.size(); i++) {
formalNames.append(", ");
formalNames.append(names.get(i));
}
world.showMessage(IMessage.ERROR,
WeaverMessages.format(WeaverMessages.AMBIGUOUS_BINDING_IN_OR,formalNames),
userPointcut.getSourceContext().makeSourceLocation(userPointcut),null);
}
/**
* @pa... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | public void addManifest (Manifest newManifest) {
if (manifest == null) {
manifest = newManifest;
}
}
public static final String MANIFEST_NAME = "META-INF/MANIFEST.MF";
private static final String WEAVER_MANIFEST_VERSION = "1.0";
private static final Attributes.Name CREATED_BY = new Name("Created-By");
p... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | prepareForWeave();
Collection c = weave( new IClassFileProvider() {
public boolean isApplyAtAspectJMungersOnly() {
return false;
}
public Iterator getClassFileIterator() {
return addedClasses.iterator();
}
public IWeaveRequestor getRequestor() {
ret... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
public Collection weave(IClassFileProvider input) throws IOException {
if (trace.isTraceEnabled()) trace.enter("weave",this,input);
ContextToken weaveToken = CompilationAndWeavingContext.enteringPhase(CompilationAndWeavingContext.WEAVING, "");
Collection wovenClassNames = new ArrayList();... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | String className = classFile.getClassName();
ResolvedType theType = world.resolve(className);
if (theType!=null) {
BcelObjectType classType = BcelWorld.getBcelObjectType(theType);
if (classType!=null) classType.ensureDelegateConsistent();
}
}
... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
}
requestor.weaveCompleted();
CompilationAndWeavingContext.leavingPhase(atAspectJMungersOnly);
return wovenClassNames;
}
requestor.processingReweavableState();
ContextToken reweaveToken = CompilationAndWeavingContext.enteringPhase(CompilationAndWeav... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | List typesToProcess = new ArrayList();
for (Iterator iter = input.getClassFileIterator(); iter.hasNext();) {
UnwovenClassFile clf = (UnwovenClassFile) iter.next();
typesToProcess.add(clf.getClassName());
}
while (typesToProcess.size()>0) {
weaveParentsFor(typesToProces... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | if (classType==null) {
ReferenceTypeDelegate theDelegate = ((ReferenceType)theType).getDelegate();
if (theDelegate.getClass().getName().endsWith("EclipseSourceType")) continue;
throw new BCException("Can't find bcel delegate for "+className+" type="+theType.getClass());
... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | if (theDelegate.getClass().getName().endsWith("EclipseSourceType")) continue;
throw new BCException("Can't find bcel delegate for "+className+" type="+theType.getClass());
}
weaveAndNotify(classFile, classType, requestor);
wovenClassNames.add(className);
}
}
CompilationAndWeavingC... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | private int lineNo;
private UnresolvedType inAspect;
public AdviceLocation(BcelAdvice advice) {
this.lineNo = advice.getSourceLocation().getLine();
this.inAspect = advice.getDeclaringAspect();
}
public boolean equals(Object obj) {
if (!(obj instanceof AdviceLocation)) return false;
Advi... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | List l = world.getCrosscuttingMembersSet().getShadowMungers();
Set alreadyWarnedLocations = new HashSet();
for (Iterator iter = l.iterator(); iter.hasNext();) {
ShadowMunger element = (ShadowMunger) iter.next();
if (element instanceof BcelAdvice) {
Bcel... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
}
/**
* 'typeToWeave' is one from the 'typesForWeaving' list. This routine ensures we process
* supertypes (classes/interfaces) of 'typeToWeave' that are in the
* 'typesForWeaving' list before 'typeToWeave' itself. 'typesToWeave' is then removed from
* the 'typesForWeaving' list.
... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
ContextToken tok = CompilationAndWeavingContext.enteringPhase(CompilationAndWeavingContext.PROCESSING_DECLARE_PARENTS,rtx.getName());
weaveParentTypeMungers(rtx);
CompilationAndWeavingContext.leavingPhase(tok);
typesForWeaving.remove(typeToWeave);
}
public void pre... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | } else {
if(!xcutSet.containsAspect(rtx)){
world.showMessage(
IMessage.ERROR,
WeaverMessages.... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | private void weaveAndNotify(UnwovenClassFile classFile, BcelObjectType classType,
IWeaveRequestor requestor) throws IOException {
trace.enter("weaveAndNotify",this,new Object[] {classFile,classType,requestor});
ContextToken tok = CompilationAndWeavingContext.enteringPhase(Compi... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | }
public void addNormalTypeMungers(String typeName) {
weaveNormalTypeMungers(world.resolve(typeName));
}
public UnwovenClassFile[] getClassFilesFor(LazyClassGen clazz) {
List childClasses = clazz.getChildClasses(world);
UnwovenClassFile[] ret = new UnwovenClassFile[1 + childClasses.si... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | if (onType.isRawType()) onType = onType.getGenericType();
onType.clearInterTypeMungers();
List decpToRepeat = new ArrayList();
boolean aParentChangeOccurred = false;
boolean anAnnotationChangeOccurred = false;
for (Iterator i = declareParentsList.iterator(); i.hasNext(); ) {
DeclareParents decp... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | boolean typeChanged = applyDeclareParents(decp,onType);
if (typeChanged) {
aParentChangeOccurred = true;
} else {
decpToRepeatNextTime.add(decp);
}
}
for (Iterator iter = xcutSet.getDeclareAnnotationOnTypes().iterator(); iter.hasNext();) {
DeclareAnnotation decA = (DeclareAnnotation)... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | AnnotationX annoX = decA.getAnnotationX();
boolean problemReported = verifyTargetIsOK(decA, onType, annoX,reportProblems);
if (!problemReported) {
AsmRelationshipProvider.getDefault().addDeclareAnnotationRelationship(decA.getSourceLocation(),onType.getSourceLocation());
if (!getWorld().getMe... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | * Checks for an @target() on the annotation and if found ensures it allows the annotation
* to be attached to the target type that matched.
*/
private boolean verifyTargetIsOK(DeclareAnnotation decA, ResolvedType onType, AnnotationX annoX,boolean outputProblems) {
boolean problemReported = false;
if (annoX.spe... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | boolean didSomething = false;
List newParents = p.findMatchingNewParents(onType,true);
if (!newParents.isEmpty()) {
didSomething=true;
BcelObjectType classType = BcelWorld.getBcelObjectType(onType);
for (Iterator j = newParents.iterator(); j.hasNext(); ) {
ResolvedType newParent = (ResolvedType)j.n... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | CompilationAndWeavingContext.leavingPhase(tok);
}
public LazyClassGen weaveWithoutDump(UnwovenClassFile classFile, BcelObjectType classType) throws IOException {
return weave(classFile, classType, false);
}
LazyClassGen weave(UnwovenClassFile classFile, BcelObjectType classType) throws IOException {
LazyCla... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | shadowMungers.size() > 0 ||
typeMungers.size() > 0 ||
classType.isAspect() ||
world.getDeclareAnnotationOnMethods().size()>0 ||
world.getDeclareAnnotationOnFields().size()>0;
boolean mightNeedBridgeMethods =
world.isInJava5Mode() &&
!classType.isInterface() &&
classType... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | } catch (Exception e) {
classDebugInfo = clazz.getClassName();
}
String messageText = "trouble in: \n" + classDebugInfo;
getWorld().getMessageHandler().handleMessage(
new Message(messageText,IMessage.ABORT,re,null)
);
} catch (Error re) {
String classDebugInfo = null;
try {... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | if (clazz != null && !clazz.getChildClasses(world).isEmpty()) {
return clazz;
}
return null;
}
}
private void dumpUnchanged(UnwovenClassFile classFile) throws IOException {
if (zipOutputStream != null) {
writeZipEntry(getEntryName(classFile.getJavaClass().getClassName()), class... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | } else {
classFile.writeWovenBytes(
clazz.getJavaClass(world).getBytes(),
clazz.getChildClasses(world)
);
}
}
private void writeZipEntry(String name, byte[] bytes) throws IOException {
ZipEntry newEntry = new ZipEntry(name);
zipOutputStream.putNextEntry(newEntry);
zipOutputStream.write(b... |
193,348 | Bug 193348 NPE on attempt to compile | I can't really pinpoint any code that trigger this. It happens on for an incremental, and only some of the time. If I do a full build of the project then I do not get the error and all seems to work. ---- java.lang.NullPointerException at org.aspectj.weaver.bcel.BcelWeaver.raiseUnboundFormalError(BcelWeaver.java:833) a... | resolved fixed | a31b3de | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-10T18:09:16Z | 2007-06-19T16:20:00Z | weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | return result;
}
public void setProgressListener(IProgressListener listener, double previousProgress, double progressPerClassFile) {
progressListener = listener;
this.progressMade = previousProgress;
this.progressPerClassFile = progressPerClassFile;
}
public void setReweavableMode(boolean xNotReweavable) {
... |
222,437 | Bug 222437 MANIFEST.MF copying is not always reliable | Sometimes an AJDT project gets into a state where it has a meta-inf/manifest.mf - and this file fails to make it out to the destination folder. | resolved fixed | 906c849 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-12T17:51:13Z | 2008-03-12T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | /* *******************************************************************
* Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC).
* 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 distri... |
222,437 | Bug 222437 MANIFEST.MF copying is not always reliable | Sometimes an AJDT project gets into a state where it has a meta-inf/manifest.mf - and this file fails to make it out to the destination folder. | resolved fixed | 906c849 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-12T17:51:13Z | 2008-03-12T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | import java.util.jar.JarFile;
import java.util.jar.JarInputStream;
import java.util.jar.JarOutputStream;
import java.util.jar.Manifest;
import java.util.zip.ZipEntry;
import org.aspectj.ajdt.internal.compiler.AjCompilerAdapter;
import org.aspectj.ajdt.internal.compiler.AjPipeliningCompilerAdapter;
import org.aspectj.aj... |
222,437 | Bug 222437 MANIFEST.MF copying is not always reliable | Sometimes an AJDT project gets into a state where it has a meta-inf/manifest.mf - and this file fails to make it out to the destination folder. | resolved fixed | 906c849 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-12T17:51:13Z | 2008-03-12T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | import org.aspectj.bridge.Version;
import org.aspectj.bridge.context.CompilationAndWeavingContext;
import org.aspectj.bridge.context.ContextFormatter;
import org.aspectj.bridge.context.ContextToken;
import org.aspectj.org.eclipse.jdt.core.compiler.CharOperation;
import org.aspectj.org.eclipse.jdt.core.compiler.IProblem... |
222,437 | Bug 222437 MANIFEST.MF copying is not always reliable | Sometimes an AJDT project gets into a state where it has a meta-inf/manifest.mf - and this file fails to make it out to the destination folder. | resolved fixed | 906c849 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-12T17:51:13Z | 2008-03-12T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | public class AjBuildManager implements IOutputClassFileNameProvider,IBinarySourceProvider,ICompilerAdapterFactory {
private static final String CROSSREFS_FILE_NAME = "build.lst";
private static final String CANT_WRITE_RESULT = "unable to write compilation result";
private static final String MANIFEST_NAME = "META-IN... |
222,437 | Bug 222437 MANIFEST.MF copying is not always reliable | Sometimes an AJDT project gets into a state where it has a meta-inf/manifest.mf - and this file fails to make it out to the destination folder. | resolved fixed | 906c849 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-12T17:51:13Z | 2008-03-12T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | private IProgressListener progressListener = null;
private boolean environmentSupportsIncrementalCompilation = false;
private int compiledCount;
private int sourceFileCount;
private JarOutputStream zos;
private boolean batchCompile = true;
private INameEnvironment environment;
private Map binarySourcesForTh... |
222,437 | Bug 222437 MANIFEST.MF copying is not always reliable | Sometimes an AJDT project gets into a state where it has a meta-inf/manifest.mf - and this file fails to make it out to the destination folder. | resolved fixed | 906c849 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-12T17:51:13Z | 2008-03-12T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | public BcelWorld getBcelWorld() { return state.getBcelWorld();}
public CountingMessageHandler handler;
private CustomMungerFactory customMungerFactory;
public AjBuildManager(IMessageHandler holder) {
super();
this.handler = CountingMessageHandler.makeCountingMessageHandler(holder);
}
public void envi... |
222,437 | Bug 222437 MANIFEST.MF copying is not always reliable | Sometimes an AJDT project gets into a state where it has a meta-inf/manifest.mf - and this file fails to make it out to the destination folder. | resolved fixed | 906c849 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-12T17:51:13Z | 2008-03-12T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | protected boolean doBuild(
AjBuildConfig buildConfig,
IMessageHandler baseHandler,
boolean batch) throws IOException, AbortException {
boolean ret = true;
batchCompile = batch;
wasFullBuild = batch;
if (baseHandler instanceof ILifecycleAware) {
((ILifecycleAware)ba... |
222,437 | Bug 222437 MANIFEST.MF copying is not always reliable | Sometimes an AJDT project gets into a state where it has a meta-inf/manifest.mf - and this file fails to make it out to the destination folder. | resolved fixed | 906c849 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-12T17:51:13Z | 2008-03-12T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | if (check != null) {
if (FAIL_IF_RUNTIME_NOT_FOUND) {
MessageUtil.error(handler, check);
CompilationAndWeavingContext.leavingPhase(ct);
return false;
} else {
MessageUtil.warn(handler,... |
222,437 | Bug 222437 MANIFEST.MF copying is not always reliable | Sometimes an AJDT project gets into a state where it has a meta-inf/manifest.mf - and this file fails to make it out to the destination folder. | resolved fixed | 906c849 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-12T17:51:13Z | 2008-03-12T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | }
if (batch) {
if (buildConfig.isEmacsSymMode() || buildConfig.isGenerateModelMode()) {
getWorld().setModel(AsmManager.getDefault().getHierarchy());
}
binarySourcesForTheNextCompile = sta... |
222,437 | Bug 222437 MANIFEST.MF copying is not always reliable | Sometimes an AJDT project gets into a state where it has a meta-inf/manifest.mf - and this file fails to make it out to the destination folder. | resolved fixed | 906c849 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-12T17:51:13Z | 2008-03-12T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | if (state.listenerDefined())
state.getListener().recordInformation("Starting incremental compilation loop "+(i+1)+" of possibly 5");
performCompilation(files);
if (handler.hasErrors() || (progressListener!=null && progres... |
222,437 | Bug 222437 MANIFEST.MF copying is not always reliable | Sometimes an AJDT project gets into a state where it has a meta-inf/manifest.mf - and this file fails to make it out to the destination folder. | resolved fixed | 906c849 | AspectJ | https://github.com/eclipse/org.aspectj | eclipse/org.aspectj | java | null | null | null | 2008-03-12T17:51:13Z | 2008-03-12T16:40:00Z | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | if (!files.isEmpty()) {
CompilationAndWeavingContext.leavingPhase(ct);
return batchBuild(buildConfig, baseHandler);
} else {
if (AsmManager.isReporting())
AsmManager.getDefault().reportModelInfo("After an incremental b... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.