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
310,704
Bug 310704 Bug in ProgramElement.getCorrespondingType()
Here is the code for the method: public String getCorrespondingType(boolean getFullyQualifiedType) { String returnType = (String) kvpairs.get("returnType"); if (returnType == null) returnType = ""; if (getFullyQualifiedType) { return returnType; } int index = returnType.lastIndexOf("."); if (index != -1) { return retur...
resolved fixed
a502da8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-28T01:05:35Z
2010-04-27T20:26:40Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
setFormalComment(comment); this.modifiers = modifiers; }
310,704
Bug 310704 Bug in ProgramElement.getCorrespondingType()
Here is the code for the method: public String getCorrespondingType(boolean getFullyQualifiedType) { String returnType = (String) kvpairs.get("returnType"); if (returnType == null) returnType = ""; if (getFullyQualifiedType) { return returnType; } int index = returnType.lastIndexOf("."); if (index != -1) { return retur...
resolved fixed
a502da8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-28T01:05:35Z
2010-04-27T20:26:40Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
public int getRawModifiers() { return this.modifiers; } public List getModifiers() { return genModifiers(this.modifiers); } public Accessibility getAccessibility() { return genAccessibility(this.modifiers); } public void setDeclaringType(String t) { if (t != null && t.length() > 0) { if (kvpairs == Col...
310,704
Bug 310704 Bug in ProgramElement.getCorrespondingType()
Here is the code for the method: public String getCorrespondingType(boolean getFullyQualifiedType) { String returnType = (String) kvpairs.get("returnType"); if (returnType == null) returnType = ""; if (getFullyQualifiedType) { return returnType; } int index = returnType.lastIndexOf("."); if (index != -1) { return retur...
resolved fixed
a502da8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-28T01:05:35Z
2010-04-27T20:26:40Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
} public Kind getKind() { return kind; } public boolean isCode() { return kind.equals(Kind.CODE); } public ISourceLocation getSourceLocation() { return sourceLocation; } public void setSourceLocation(ISourceLocation sourceLocation) { } public IMessage getMessage() { return (IMessage) kvpairs.get...
310,704
Bug 310704 Bug in ProgramElement.getCorrespondingType()
Here is the code for the method: public String getCorrespondingType(boolean getFullyQualifiedType) { String returnType = (String) kvpairs.get("returnType"); if (returnType == null) returnType = ""; if (getFullyQualifiedType) { return returnType; } int index = returnType.lastIndexOf("."); if (index != -1) { return retur...
resolved fixed
a502da8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-28T01:05:35Z
2010-04-27T20:26:40Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
} public boolean isMemberKind() { return kind.isMember(); } public void setRunnable(boolean value) { if (kvpairs == Collections.EMPTY_MAP) kvpairs = new HashMap(); if (value) kvpairs.put("isRunnable", "true"); else kvpairs.remove("isRunnable"); } public boolean isRunnable() { return kvpairs.g...
310,704
Bug 310704 Bug in ProgramElement.getCorrespondingType()
Here is the code for the method: public String getCorrespondingType(boolean getFullyQualifiedType) { String returnType = (String) kvpairs.get("returnType"); if (returnType == null) returnType = ""; if (getFullyQualifiedType) { return returnType; } int index = returnType.lastIndexOf("."); if (index != -1) { return retur...
resolved fixed
a502da8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-28T01:05:35Z
2010-04-27T20:26:40Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
public boolean isOverrider() { return kvpairs.get("isOverrider") != null; } public void setOverrider(boolean value) { if (kvpairs == Collections.EMPTY_MAP) kvpairs = new HashMap(); if (value) kvpairs.put("isOverrider", "true"); else kvpairs.remove("isOverrider"); } public List getRelations() ...
310,704
Bug 310704 Bug in ProgramElement.getCorrespondingType()
Here is the code for the method: public String getCorrespondingType(boolean getFullyQualifiedType) { String returnType = (String) kvpairs.get("returnType"); if (returnType == null) returnType = ""; if (getFullyQualifiedType) { return returnType; } int index = returnType.lastIndexOf("."); if (index != -1) { return retur...
resolved fixed
a502da8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-28T01:05:35Z
2010-04-27T20:26:40Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
return toLabelString(); } private static List genModifiers(int modifiers) { List modifiersList = new ArrayList(); if ((modifiers & AccStatic) != 0) modifiersList.add(IProgramElement.Modifiers.STATIC); if ((modifiers & AccFinal) != 0) modifiersList.add(IProgramElement.Modifiers.FINAL); if ((modifiers & A...
310,704
Bug 310704 Bug in ProgramElement.getCorrespondingType()
Here is the code for the method: public String getCorrespondingType(boolean getFullyQualifiedType) { String returnType = (String) kvpairs.get("returnType"); if (returnType == null) returnType = ""; if (getFullyQualifiedType) { return returnType; } int index = returnType.lastIndexOf("."); if (index != -1) { return retur...
resolved fixed
a502da8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-28T01:05:35Z
2010-04-27T20:26:40Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
return IProgramElement.Accessibility.PACKAGE; } public String getBytecodeName() { String s = (String) kvpairs.get("bytecodeName"); if (s == null) { return UNDEFINED; } return s; } public void setBytecodeName(String s) { if (kvpairs == Collections.EMPTY_MAP) kvpairs = new HashMap(); kvpairs.put("by...
310,704
Bug 310704 Bug in ProgramElement.getCorrespondingType()
Here is the code for the method: public String getCorrespondingType(boolean getFullyQualifiedType) { String returnType = (String) kvpairs.get("returnType"); if (returnType == null) returnType = ""; if (getFullyQualifiedType) { return returnType; } int index = returnType.lastIndexOf("."); if (index != -1) { return retur...
resolved fixed
a502da8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-28T01:05:35Z
2010-04-27T20:26:40Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
return s; } private void initMap() { if (kvpairs == Collections.EMPTY_MAP) { kvpairs = new HashMap(); } } public String getSourceSignature() { return (String) kvpairs.get("sourceSignature"); } public void setSourceSignature(String string) { if (kvpairs == Collections.EMPTY_MAP) kvpairs = new HashMap...
310,704
Bug 310704 Bug in ProgramElement.getCorrespondingType()
Here is the code for the method: public String getCorrespondingType(boolean getFullyQualifiedType) { String returnType = (String) kvpairs.get("returnType"); if (returnType == null) returnType = ""; if (getFullyQualifiedType) { return returnType; } int index = returnType.lastIndexOf("."); if (index != -1) { return retur...
resolved fixed
a502da8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-28T01:05:35Z
2010-04-27T20:26:40Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
kvpairs.put("returnType", s); } public void setParentTypes(List ps) { if (kvpairs == Collections.EMPTY_MAP) kvpairs = new HashMap(); kvpairs.put("parentTypes", ps); } public List getParentTypes() { return (List) (kvpairs == null ? null : kvpairs.get("parentTypes")); } /** * {@inheritDoc} */ publi...
310,704
Bug 310704 Bug in ProgramElement.getCorrespondingType()
Here is the code for the method: public String getCorrespondingType(boolean getFullyQualifiedType) { String returnType = (String) kvpairs.get("returnType"); if (returnType == null) returnType = ""; if (getFullyQualifiedType) { return returnType; } int index = returnType.lastIndexOf("."); if (index != -1) { return retur...
resolved fixed
a502da8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-28T01:05:35Z
2010-04-27T20:26:40Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
String returnType = (String) kvpairs.get("returnType"); if (returnType == null) returnType = ""; if (getFullyQualifiedType) { return returnType; } int index = returnType.lastIndexOf("."); if (index != -1) { return returnType.substring(index); } return returnType; } public String getName() { r...
310,704
Bug 310704 Bug in ProgramElement.getCorrespondingType()
Here is the code for the method: public String getCorrespondingType(boolean getFullyQualifiedType) { String returnType = (String) kvpairs.get("returnType"); if (returnType == null) returnType = ""; if (getFullyQualifiedType) { return returnType; } int index = returnType.lastIndexOf("."); if (index != -1) { return retur...
resolved fixed
a502da8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-28T01:05:35Z
2010-04-27T20:26:40Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
child.setParent(this); } public void addChild(int position, IProgramElement child) { if (children == null || children == Collections.EMPTY_LIST) children = new ArrayList(); children.add(position, child); child.setParent(this); } public boolean removeChild(IProgramElement child) { child.setParent(null); ...
310,704
Bug 310704 Bug in ProgramElement.getCorrespondingType()
Here is the code for the method: public String getCorrespondingType(boolean getFullyQualifiedType) { String returnType = (String) kvpairs.get("returnType"); if (returnType == null) returnType = ""; if (getFullyQualifiedType) { return returnType; } int index = returnType.lastIndexOf("."); if (index != -1) { return retur...
resolved fixed
a502da8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-28T01:05:35Z
2010-04-27T20:26:40Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
buffer.append(' '); buffer.append(node.toString()); buffer.append('\n'); depth += 2; } public void postProcess(IProgramElement node) { depth -= 2; } }; walker.process(this); return buffer.toString(); } public void setModifiers(int i) { this.modifiers = i; } /** * Convenience mecha...
310,704
Bug 310704 Bug in ProgramElement.getCorrespondingType()
Here is the code for the method: public String getCorrespondingType(boolean getFullyQualifiedType) { String returnType = (String) kvpairs.get("returnType"); if (returnType == null) returnType = ""; if (getFullyQualifiedType) { return returnType; } int index = returnType.lastIndexOf("."); if (index != -1) { return retur...
resolved fixed
a502da8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-28T01:05:35Z
2010-04-27T20:26:40Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
if (ptypes != null && (!ptypes.isEmpty() || this.kind.equals(IProgramElement.Kind.METHOD)) || this.kind.equals(IProgramElement.Kind.CONSTRUCTOR) || this.kind.equals(IProgramElement.Kind.ADVICE) || this.kind.equals(IProgramElement.Kind.POINTCUT) || this.kind.equals(IProgramElement.Kind.INTER_TYPE_METHOD) || ...
310,704
Bug 310704 Bug in ProgramElement.getCorrespondingType()
Here is the code for the method: public String getCorrespondingType(boolean getFullyQualifiedType) { String returnType = (String) kvpairs.get("returnType"); if (returnType == null) returnType = ""; if (getFullyQualifiedType) { return returnType; } int index = returnType.lastIndexOf("."); if (index != -1) { return retur...
resolved fixed
a502da8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-28T01:05:35Z
2010-04-27T20:26:40Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
public String toLinkLabelString(boolean getFullyQualifiedArgTypes) { String label; if (kind == Kind.CODE || kind == Kind.INITIALIZER) { label = parent.getParent().getName() + ": "; } else if (kind.isInterTypeMember()) { if (shortITDNames) { label = ""; } else { int dotIndex = name.indexOf('....
310,704
Bug 310704 Bug in ProgramElement.getCorrespondingType()
Here is the code for the method: public String getCorrespondingType(boolean getFullyQualifiedType) { String returnType = (String) kvpairs.get("returnType"); if (returnType == null) returnType = ""; if (getFullyQualifiedType) { return returnType; } int index = returnType.lastIndexOf("."); if (index != -1) { return retur...
resolved fixed
a502da8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-28T01:05:35Z
2010-04-27T20:26:40Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
public String toLabelString() { return toLabelString(true); } public String toLabelString(boolean getFullyQualifiedArgTypes) { String label = toSignatureString(getFullyQualifiedArgTypes); String details = getDetails(); if (details != null) { label += ": " + details; } return label; } public String ge...
310,704
Bug 310704 Bug in ProgramElement.getCorrespondingType()
Here is the code for the method: public String getCorrespondingType(boolean getFullyQualifiedType) { String returnType = (String) kvpairs.get("returnType"); if (returnType == null) returnType = ""; if (getFullyQualifiedType) { return returnType; } int index = returnType.lastIndexOf("."); if (index != -1) { return retur...
resolved fixed
a502da8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-28T01:05:35Z
2010-04-27T20:26:40Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
public void setHandleIdentifier(String handle) { this.handle = handle; } public List getParameterNames() { List parameterNames = (List) kvpairs.get("parameterNames"); return parameterNames; } public void setParameterNames(List list) { if (list == null || list.size() == 0) return; if (kvpairs == Collect...
310,704
Bug 310704 Bug in ProgramElement.getCorrespondingType()
Here is the code for the method: public String getCorrespondingType(boolean getFullyQualifiedType) { String returnType = (String) kvpairs.get("returnType"); if (returnType == null) returnType = ""; if (getFullyQualifiedType) { return returnType; } int index = returnType.lastIndexOf("."); if (index != -1) { return retur...
resolved fixed
a502da8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-28T01:05:35Z
2010-04-27T20:26:40Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
} public List getParameterSignaturesSourceRefs() { List parameters = (List) kvpairs.get("parameterSigsSourceRefs"); return parameters; } /** * Set the parameter signatures for this method/constructor. The bit flags tell us if any were not singletypereferences in the * the source. A singletypereference would ...
310,704
Bug 310704 Bug in ProgramElement.getCorrespondingType()
Here is the code for the method: public String getCorrespondingType(boolean getFullyQualifiedType) { String returnType = (String) kvpairs.get("returnType"); if (returnType == null) returnType = ""; if (getFullyQualifiedType) { return returnType; } int index = returnType.lastIndexOf("."); if (index != -1) { return retur...
resolved fixed
a502da8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-28T01:05:35Z
2010-04-27T20:26:40Z
asm/src/org/aspectj/asm/internal/ProgramElement.java
kvpairs.put("details", string); } public void setFormalComment(String txt) { if (txt != null && txt.length() > 0) { if (kvpairs == Collections.EMPTY_MAP) kvpairs = new HashMap(); kvpairs.put("formalComment", txt); } } public void setExtraInfo(ExtraInformation info) { if (kvpairs == Collections.EMPTY...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
/* ******************************************************************* * Copyright (c) 2003 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 * htt...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Writer; import java.util.ArrayList; import java.util.Collection; import java.util.Enumeration; import java.util.HashMap; import java.util.HashSet; import java.util.Hashtable; import java.util.Iterator; import...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
public static boolean recordingLastActiveStructureModel = true; public static AsmManager lastActiveStructureModel; public static boolean forceSingletonBehaviour = false; public static boolean attemptIncrementalModelRepairs = false; public static boolean dumpModelPostBuild = false; private static boolean du...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
*/ protected Map inpathMap; private IRelationshipMap mapper; private IElementHandleProvider handleProvider; private final CanonicalFilePathMap canonicalFilePathMap = new CanonicalFilePathMap(); private final Set lastBuildChanges = new HashSet(); final Set aspectsWeavingInLastBuild = new HashSet(); pr...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
} public IHierarchy getHierarchy() { return hierarchy; } public IRelationshipMap getRelationshipMap() { return mapper; } public void fireModelUpdated() { notifyListeners(); if (dumpModelPostBuild && hierarchy.getConfigFile() != null) { writeStructureModel(hierarchy.getConfigFile()); } } /** * Cons...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
List entries = new ArrayList(); entries.add(peNode); ISourceLocation sourceLoc = peNode.getSourceLocation(); if (null != sourceLoc) { Integer hash = new Integer(sourceLoc.getLine()); List existingEntry = (List) annotations.get(hash); if (existingEntry != null) { entries.addAll(existingE...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
} public void addListener(IHierarchyListener listener) { structureListeners.add(listener); } public void removeStructureListener(IHierarchyListener listener) { structureListeners.remove(listener); } public void removeAllListeners() { structureListeners.clear(); } private void notifyListeners() { ...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
s.writeObject(hierarchy); s.writeObject(mapper); s.flush(); fos.flush(); fos.close(); s.close(); } catch (IOException e) { } } /** * @param configFilePath path to an ".lst" file */ public void readStructureModel(String configFilePath) { boolean hierarchyReadOK = false; try { ...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
} catch (FileNotFoundException fnfe) { hierarchy.setRoot(IHierarchy.NO_STRUCTURE); } catch (EOFException eofe) { if (!hierarchyReadOK) { System.err.println("AsmManager: Unable to read structure model: " + configFilePath + " because of:"); eofe.printStackTrace(); hierarchy.setRoot(IHierarchy....
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
private static final int MAX_SIZE = 4000; private final Map pathMap = new HashMap(20);
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
public String get(File f) {
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
String ret = (String) pathMap.get(f.getPath()); if (ret == null) { try { ret = f.getCanonicalPath(); } catch (IOException ioEx) { ret = f.getPath(); } pathMap.put(f.getPath(), ret); if (pathMap.size() > MAX_SIZE) { pathMap.clear(); } } return ret; } } public static ...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
public static void setReporting(String filename, boolean dModel, boolean dRels, boolean dDeltaProcessing, boolean deletefile, IModelFilter aFilter) { setReporting(filename, dModel, dRels, dDeltaProcessing, deletefile); modelFilter = aFilter; } public static boolean isReporting() { return reporting; } publi...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
} if (dumpRelationships) { bw.write("=== RELATIONSHIPS REPORT ========= " + reasonForReport + "\n"); dumprels(bw); bw.write("=== END OF RELATIONSHIPS REPORT ==\n"); } Properties p = summarizeModel().getProperties(); Enumeration pkeyenum = p.keys(); bw.write("=== Properties of the model and re...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
} } } w.write(node + " [" + (node == null ? "null" : node.getKind().toString()) + "] " + loc + "\n"); if (node != null) { for (Iterator i = node.getChildren().iterator(); i.hasNext();) { dumptree(w, (IProgramElement) i.next(), indent + 2); } } } public static void dumptree(IProgramElement node, ...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
for (Iterator iter = entries.iterator(); iter.hasNext();) { String hid = (String) iter.next(); List rels = mapper.get(hid); for (Iterator iterator = rels.iterator(); iterator.hasNext();) { IRelationship ir = (IRelationship) iterator.next(); List targets = ir.getTargets(); for (Iterator iterator2 = ...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
System.err.println("Hid:" + (ctr++) + ":(targets=" + targets.size() + ") " + hid + " (" + ir.getName() + ") " + thid); } } } System.err.println("End of relationships dump for: " + key); } /** * Removes the hierarchy structure for the specified files from the structure model. Returns true if it...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
} modelModified = true; } } if (modelModified) { hierarchy.updateHandleMap(deletedNodes); } return modelModified; } public void fixupStructureModel(Writer fw, List filesToBeCompiled, Set files_added, Set files_deleted) throws IOException { boolean modelModified = false; ...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
if (dumpDeltaProcessing) { fw.write("Deleting " + progElem + " node for file " + fileForCompilation + "\n"); } removeNode(progElem); deletedNodes.add(getCanonicalFilePath(progElem.getSourceLocation().getSourceFile())); if (!hierarchy.removeFromFileMap(correctedPath)) { throw new RuntimeExcepti...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
removeStructureModelForFiles(fw, files_deleted); long etime1 = System.currentTimeMillis(); repairRelationships(fw); long etime2 = System.currentTimeMillis(); removeStructureModelForFiles(fw, files_tobecompiled); if (dumpDeltaProcessing) { fw.write("===== Delta Processing timing ========...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
} int hasPackage = handle.indexOf('<'); int typeLocation = handle.indexOf('['); if (typeLocation == -1) { typeLocation = handle.indexOf('}'); } if (typeLocation == -1) { return ""; } StringBuffer qualifiedTypeNameFromHandle = new StringBuffer(); if (hasPackage != -1) { qualifiedTypeNa...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
* What we need to do is when 'B' is going to be woven, remove all relationships that may reoccur when it is woven. So - remove * 'affects' relationships where the target is 'B', remove all 'affectedBy' relationships where the source is 'B'. * */ public void removeRelationshipsTargettingThisType(String typename)...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
Set sourcehandlesSet = mapper.getEntries(); List relationshipsToRemove = new ArrayList(); for (Iterator keyiter = sourcehandlesSet.iterator(); keyiter.hasNext();) { String hid = (String) keyiter.next(); if (isPhantomHandle(hid)) { if (!getTypeNameFromHandle(hid, handleToTypenameCache).equals(typ...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
} if (relationshipsToRemove.size() > 0) { didsomething = true; if (relationshipsToRemove.size() == relationships.size()) { sourcesToRemove.add(hid); } else { for (int i = 0; i < relationshipsToRemove.size(); i++) { relationships.remove(relationshipsToRemove.get(i)); ...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
} } } if (debug) { dumprelsStderr("after processing 'affectedby'"); } if (didsomething) { sourcesToRemove.clear(); if (debug) { dumprelsStderr("before processing 'affects'"); } sourcehandlesSet = mapper.getEntries(); for (Iterator keyiter = sourcehandlesSet.iterator(); keyiter....
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
for (Iterator targetsIter = targets.iterator(); targetsIter.hasNext();) { String targethid = (String) targetsIter.next(); if (isPhantomHandle(hid) && !getTypeNameFromHandle(hid, handleToTypenameCache).equals(typename)) { continue; } IProgramElement existingTarget = hierarchy.getEle...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
sourcesToRemove.add(hid); } else { for (int i = 0; i < relationshipsToRemove.size(); i++) { relationships.remove(relationshipsToRemove.get(i)); } } } } for (Iterator srciter = sourcesToRemove.iterator(); srciter.hasNext();) { String hid = (String) srciter.next(); ...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
} if (debug) { System.err.println("<<removeRelationshipsTargettingThisFile"); } } /** * Return true if the target element is in the type specified. */ private boolean sameType(String hid, IProgramElement target, IProgramElement type) { IProgramElement containingType = target; if (target == null) { ...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
if (type.getSourceLocation() == null) { return false; } if (target.getSourceLocation().getSourceFile() == null) { return false; } if (type.getSourceLocation().getSourceFile() == null) { return false; } return (target.getSourceLocation().getSourceFile().equals(type.getSourceLocation().getSo...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
return handle.indexOf(HandleProviderDelimiter.PHANTOM.getDelimiter()) != -1; } /** * Go through all the relationships in the model, if any endpoints no longer exist (the node it points to has been deleted from * the model) then delete the relationship. */ private void repairRelationships(Writer fw) { try { ...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
if (nonExistingHandles.contains(hid)) { sourcesToRemove.add(hid); } else if (!isPhantomHandle(hid)) { IProgramElement existingElement = hierarchy.getElement(hid); if (dumpDeltaProcessing) { fw.write("Looking for handle [" + hid + "] in model, found: " + existingElement + "\n"); } ...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
fw.write("Target handle [" + targethid + "] for srchid[" + hid + "]rel[" + rel.getName() + "] does not exist\n"); } targetsToRemove.add(targethid); } else if (!isPhantomHandle(targethid)) { IProgramElement existingTarget = hierarchy.getElement(targethid); ...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
for (Iterator targsIter = targetsToRemove.iterator(); targsIter.hasNext();) { String togo = (String) targsIter.next(); targets.remove(togo); } if (targets.size() == 0) { if (dumpDeltaProcessing) { fw.write("No targets remain for srchid[" + h...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
if (relationshipsToRemove.size() == relationships.size()) { sourcesToRemove.add(hid); } else { for (int i = 0; i < relationshipsToRemove.size(); i++) { IRelationship irel = (IRelationship) relationshipsToRemove.get(i); verifyAssumption(mapper....
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
if (ipe.getKind().equals(IProgramElement.Kind.CODE)) { removeSingleNode(ipe); } } } } catch (IOException ioe) { System.err.println("Failed to repair relationships:"); ioe.printStackTrace(); } } /** * Removes a specified program element from the structure model. We go to the parent...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
throw new RuntimeException("Unable to delete the node from the model. trying to delete node for handle " + progElem.getHandleIdentifier()); } } /** * Removes a specified program element from the structure model. Two processing stages: * <p> * First: We go to the parent of the program element, ask for al...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
break; } } if (parent.getChildren().size() == 0 && parent.getParent() != null && (parent.getKind().equals(IProgramElement.Kind.CODE) || parent.getKind().equals(IProgramElement.Kind.PACKAGE))) { removeNode(parent); } } catch (NullPointerException npe) { ...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
throw new RuntimeException("Assertion is false"); } } public static void verifyAssumption(boolean b) { if (!b) { Thread.dumpStack(); throw new RuntimeException("Assertion is false"); } } /** * A ModelInfo object captures basic information about the structure model. It is used for testing and produ...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
} private void countNode(IProgramElement ipe) { String node = ipe.getKind().toString(); Integer ctr = (Integer) nodeTypeCount.get(node); if (ctr == null) { nodeTypeCount.put(node, new Integer(1)); } else { ctr = new Integer(ctr.intValue() + 1); nodeTypeCount.put(node, ctr); } } public S...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
Properties p = new Properties(); Enumeration nodeKeys = nodeTypeCount.keys(); while (nodeKeys.hasMoreElements()) { String key = (String) nodeKeys.nextElement(); Integer ct = (Integer) nodeTypeCount.get(key); p.setProperty(key, ct.toString()); } p.putAll(extraProperties); return p; } publi...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
public static void setCompletingTypeBindings(boolean b) { completingTypeBindings = b; } public static boolean isCompletingTypeBindings() { return completingTypeBindings; } public void resetDeltaProcessing() { lastBuildChanges.clear(); aspectsWeavingInLastBuild.clear(); } /** * @return the ...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
} public void addAspectInEffectThisBuild(File f) { aspectsWeavingInLastBuild.add(f); } public static void setLastActiveStructureModel(AsmManager structureModel) { if (recordingLastActiveStructureModel) { lastActiveStructureModel = structureModel; } } public String getHandleElementForInpath(String binaryPa...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
return s; } } pieces.add(substring); return substring; } /** * What we can rely on: <br> * - it is a method signature of the form (La/B;Lc/D;)LFoo;<br> * - there are no generics<br> * * What we must allow for: - may use primitive refs (single chars rather than L) */ /* * public List compress(...
310,144
Bug 310144 java.lang.RuntimeException at AsmManager.java:1143
Build Identifier: Eclipse AspectJ Development Tools Version: 2.0.3.e35x-20100419-1200 AspectJ version: 1.6.9.20100416110000 java.lang.RuntimeException at org.aspectj.asm.AsmManager.removeSingleNode(AsmManager.java:1143) at org.aspectj.asm.AsmManager.removeRelationshipsTargettingThisType(AsmManager.java:798) at org.aspe...
resolved fixed
728ecb8
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-04-29T19:54:09Z
2010-04-22T15:26:40Z
asm/src/org/aspectj/asm/AsmManager.java
* * char delimiter = '/'; int pos = -1; List compressed = new ArrayList(); int start = 0; while ((pos = * s.indexOf(delimiter, start)) != -1) { String part = s.substring(start, pos); int alreadyRecorded = * pieces.indexOf(part); if (alreadyRecorded != -1) { compressed.add(new Integer(alreadyRecorded)); ...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.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...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
import org.aspectj.asm.IHierarchy; import org.aspectj.asm.IProgramElement; import org.aspectj.asm.IRelationship; import org.aspectj.asm.IRelationshipMap; import org.aspectj.asm.internal.HandleProviderDelimiter; import org.aspectj.asm.internal.ProgramElement; import org.aspectj.bridge.ISourceLocation; import org.aspectj...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
public static final String ADVISES = "advises"; public static final String ADVISED_BY = "advised by"; public static final String DECLARES_ON = "declares on"; public static final String DECLAREDY_BY = "declared by"; public static final String SOFTENS = "softens"; public static final String SOFTENED_BY = "softened b...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
public static void addDeclareErrorOrWarningRelationship(AsmManager model, Shadow affectedShadow, Checker deow) { if (model == null) { return; } if (affectedShadow.getSourceLocation() == null || deow.getSourceLocation() == null) { return; } if (World.createInjarHierarchy) { createHierarchyForBinaryAsp...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
if (sourceNode.getSourceLocation() != null) { model.addAspectInEffectThisBuild(sourceNode.getSourceLocation().getSourceFile()); } } private static boolean isMixinRelated(ResolvedTypeMunger typeTransformer) { Kind kind = typeTransformer.getKind(); return kind == ResolvedTypeMunger.MethodDelegate2 || kind == R...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
sourceNode = closer; } if (sourceNode == null) { if (World.createInjarHierarchy) { createHierarchy(model, typeTransformer, originatingAspect); if (typeTransformer.getSourceLocation() != null && typeTransformer.getSourceLocation().getOffset() != -1 && !isMixinRela...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
sourceHandle = sourceNode.getHandleIdentifier(); } if (sourceHandle == null) { return; } String targetHandle = findOrFakeUpNode(model, onType); if (targetHandle == null) { return; } IRelationshipMap mapper = model.getRelationshipMap(); IRelationship fo...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
} } private static String findOrFakeUpNode(AsmManager model, ResolvedType onType) { IHierarchy hierarchy = model.getHierarchy(); ISourceLocation sourceLocation = onType.getSourceLocation(); String canonicalFilePath = model.getCanonicalFilePath(sourceLocation.getSourceFile()); int lineNumber = sourceLocation.g...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
} } String packageName = onType.getPackageName(); phantomHandle.append(HandleProviderDelimiter.PACKAGEFRAGMENT.getDelimiter()).append(packageName); int dotClassPosition = bpath.lastIndexOf(".class"); if (dotClassPosition == -1) { phantomHandle.append(HandleProviderDelimiter.CLASS...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
} } } public static IProgramElement createFileStructureNode(AsmManager asm, String sourceFilePath) { int lastSlash = sourceFilePath.lastIndexOf('\\'); if (lastSlash == -1) { lastSlash = sourceFilePath.lastIndexOf('/'); } int i = sourceFilePath.lastIndexOf('!'); int j = sourceFilePath.indexOf(".cl...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
*/ private static ISourceLocation getBinarySourceLocation(ResolvedType aspect, ISourceLocation sl) { if (sl == null) { return null; } String sourceFileName = null; if (aspect instanceof ReferenceType) { String s = ((ReferenceType) aspect).getDelegate().getSourcefilename(); int i = s.lastIndexOf('/'); ...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
sourceFileName = s.substring(i + 1); } else { sourceFileName = s; } } return sourceFileName; } /** * Returns the File with pathname to the class file, for example either C:\temp * \ajcSandbox\workspace\ajcTest16957.tmp\simple.jar!pkg\BinaryAspect.class if the class file is in a jar file, or * C:\t...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
IProgramElement filenode = model.getHierarchy().findElementForSourceLine(typeTransformer.getSourceLocation()); if (filenode == null) { if (typeTransformer.getKind() == ResolvedTypeMunger.MethodDelegate2 || typeTransformer.getKind() == ResolvedTypeMunger.FieldHost) { return; } } ...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
if (binaries == null) { binaries = new ProgramElement(model, "binaries", IProgramElement.Kind.SOURCE_FOLDER, new ArrayList()); root.addChild(binaries); } String packagename = aspect.getPackageName() == null ? "" : aspect.getPackageName(); IProgramElement pkgNode = model.getHierarchy().findElementForLa...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
IProgramElement aspectNode = new ProgramElement(model, aspect.getSimpleName(), IProgramElement.Kind.ASPECT, getBinarySourceLocation(aspect, aspect.getSourceLocation()), aspect.getModifiers(), null, null); classFileNode.addChild(aspectNode); addChildNodes(model, aspect, aspectNode, aspect.getDeclaredPointcuts())...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
* Adds a declare annotation relationship, sometimes entities don't have source locs (methods/fields) so use other variants of * this method if that is the case as they will look the entities up in the structure model. */ public static void addDeclareAnnotationRelationship(AsmManager model, ISourceLocation declareA...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
public static void createHierarchyForBinaryAspect(AsmManager asm, ShadowMunger munger) { if (!munger.isBinary()) { return; } IProgramElement sourceFileNode = asm.getHierarchy().findElementForSourceLine(munger.getSourceLocation()); if (!sourceFileNode.getKind().equals(IProgramElement.Kind.FI...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
if (pkgNode == null) { pkgNode = new ProgramElement(asm, packagename, IProgramElement.Kind.PACKAGE, new ArrayList()); binaries.addChild(pkgNode); pkgNode.addChild(classFileNode); } else { pkgNode.addChild(classFileNode); for (Iterator iter = pkgNode.getChildren().iterator(); iter.hasNext();...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
IProgramElement aspectNode = new ProgramElement(asm, aspect.getSimpleName(), IProgramElement.Kind.ASPECT, munger .getBinarySourceLocation(aspect.getSourceLocation()), aspect.getModifiers(), null, null); classFileNode.addChild(aspectNode); String sourcefilename = getSourceFileName(aspect); addPointcuts(asm, so...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
sLoc = rpcd.getSourceLocation(); } ISourceLocation pointcutLocation = createSourceLocation(sourcefilename, aspect, sLoc); ProgramElement pointcutElement = new ProgramElement(model, pointcut.getName(), IProgramElement.Kind.POINTCUT, pointcutLocation, pointcut.getModifiers(), NO_COMMENT, Collections.EMP...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
if (element instanceof DeclareErrorOrWarning) { DeclareErrorOrWarning decl = (DeclareErrorOrWarning) element; int counter = 0; if (decl.isError()) { counter = deCtr++; } else { counter = dwCtr++; } parent.addChild(createDeclareErrorOrWarningChild(asm, aspect, decl, counter)); } else...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
private static IProgramElement createDeclareErrorOrWarningChild(AsmManager model, ResolvedType aspect, DeclareErrorOrWarning decl, int count) { IProgramElement deowNode = new ProgramElement(model, decl.getName(), decl.isError() ? IProgramElement.Kind.DECLARE_ERROR : IProgramElement.Kind.DECLARE_WARNING, getBin...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
* member could still be located so they might be retrievable. */ private static IProgramElement createIntertypeDeclaredChild(AsmManager model, ResolvedType aspect, BcelTypeMunger itd) { ResolvedTypeMunger rtMunger = itd.getMunger(); ResolvedMember sig = rtMunger.getSignature(); Kind kind = rtMunger.getKind(); ...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
} IProgramElement pe = new ProgramElement(model, name, IProgramElement.Kind.INTER_TYPE_CONSTRUCTOR, getBinarySourceLocation(aspect, itd.getSourceLocation()), rtMunger.getSignature().getModifiers(), null, Collections.EMPTY_LIST); setParams(pe, sig); return pe; } ...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
paramSigs.add(ts[i].getSignature().toCharArray()); } pe.setParameterSignatures(paramSigs, Collections.EMPTY_LIST); } pe.setCorrespondingType(sig.getReturnType().getName()); } private static IProgramElement createDeclareParentsChild(AsmManager model, DeclareParents decp) { IProgramElement decpElem...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
if (advice.getKind().isPerEntry() || advice.getKind().isCflow()) { return; } if (World.createInjarHierarchy) { createHierarchyForBinaryAspect(model, advice); } IRelationshipMap mapper = model.getRelationshipMap(); IProgramElement targetNode = getNode(model, matchedShadow); if (targetNode ...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
if (back != null) { back.addTarget(adviceHandle); } } else { IRelationship foreward = mapper.get(adviceHandle, IRelationship.Kind.ADVICE, ADVISES, runtimeTest, true); if (foreward != null) { foreward.addTarget(targetHandle); } IRelationship back = mapper.get(targetHandle, IRelationship....
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
IProgramElement enclosingNode = null; if (shadow instanceof BcelShadow) { Member actualEnclosingMember = ((BcelShadow) shadow).getRealEnclosingCodeSignature(); if (actualEnclosingMember == null) { enclosingNode = lookupMember(model.getHierarchy(), shadow.getEnclosingType(), enclosingMember); } else { ...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
} Member shadowSig = shadow.getSignature(); if (shadow.getKind() == Shadow.MethodCall || shadow.getKind() == Shadow.ConstructorCall || !shadowSig.equals(enclosingMember)) { IProgramElement bodyNode = findOrCreateCodeNode(model, enclosingNode, shadowSig, shadow); return bodyNode; } else { return en...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
int excl = node.getBytecodeName().lastIndexOf('!'); if (((excl != -1 && shadowSig.getName().equals(node.getBytecodeName().substring(0, excl))) || shadowSig.getName() .equals(node.getBytecodeName())) && shadowSig.getSignature().equals(node.getBytecodeSignature()) && sourceLinesMatch(node.getSourceLocat...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
private static IProgramElement lookupMember(IHierarchy model, UnresolvedType declaringType, Member member) { IProgramElement typeElement = model.findElementForType(declaringType.getPackageName(), declaringType.getClassName()); if (typeElement == null) { return null; } for (Iterator it = typeElement.getChildr...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
IHierarchy hierarchy = model.getHierarchy(); IProgramElement typeElem = hierarchy.findElementForType(pkg, type); if (typeElem == null) return; StringBuffer parmString = new StringBuffer("("); UnresolvedType[] args = affectedMethod.getParameterTypes(); for (int i = 0; i < args.length; i++) { String s ...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
if (targetHandle == null) return; IProgramElement sourceNode = hierarchy.findElementForSourceLine(sourceLocation); String sourceHandle = sourceNode.getHandleIdentifier(); if (sourceHandle == null) return; IRelationshipMap mapper = model.getRelationshipMap(); IRelationship foreward = mapper.get(so...
311,910
Bug 311910 AspectJ internal Compiler Error
Stack Trace: java.lang.NullPointerException at org.aspectj.weaver.model.AsmRelationshipProvider.createSourceLocation(AsmRelationshipProvider.java:303) at org.aspectj.weaver.model.AsmRelationshipProvider.addPointcuts(AsmRelationshipProvider.java:580) at org.aspectj.weaver.model.AsmRelationshipProvider.createHierarchyFor...
resolved fixed
3be69a2
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-06T16:34:47Z
2010-05-06T15:33:20Z
weaver/src/org/aspectj/weaver/model/AsmRelationshipProvider.java
pkg = affectedTypeName.substring(0, packageSeparator); type = affectedTypeName.substring(packageSeparator + 1); } IHierarchy hierarchy = model.getHierarchy(); IProgramElement typeElem = hierarchy.findElementForType(pkg, type); if (typeElem == null) { return; } IProgramElement fieldElem = hierarchy.fin...
314,365
Bug 314365 pointcut rewriter can have issues for large hashcode values
AJDT uses a pointcut like this: (persingleton(org.eclipse.ajdt.internal.ui.ras.UIFFDC) && ((handler(java.lang.Throwable+) && args(arg1)) && ((within(org.eclipse.ajdt..*) && (!within(org.eclipse.ajdt.internal.ui.lazystart..*) && (!within(org.eclipse.ajdt.internal.ui.dialogs.OpenTypeSelectionDialog2) && !(within(org.ecli...
resolved fixed
1e28b92
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-25T23:03:13Z
2010-05-25T20:40:00Z
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 * ...
314,365
Bug 314365 pointcut rewriter can have issues for large hashcode values
AJDT uses a pointcut like this: (persingleton(org.eclipse.ajdt.internal.ui.ras.UIFFDC) && ((handler(java.lang.Throwable+) && args(arg1)) && ((within(org.eclipse.ajdt..*) && (!within(org.eclipse.ajdt.internal.ui.lazystart..*) && (!within(org.eclipse.ajdt.internal.ui.dialogs.OpenTypeSelectionDialog2) && !(within(org.ecli...
resolved fixed
1e28b92
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-25T23:03:13Z
2010-05-25T20:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/PointcutEvaluationExpenseComparator.java
private static final int MATCHES_NOTHING = -1; private static final int WITHIN = 1; private static final int ATWITHIN = 2; private static final int STATICINIT = 3; private static final int ADVICEEXECUTION = 4; private static final int HANDLER = 5; private static final int GET_OR_SET = 6; private static final int...
314,365
Bug 314365 pointcut rewriter can have issues for large hashcode values
AJDT uses a pointcut like this: (persingleton(org.eclipse.ajdt.internal.ui.ras.UIFFDC) && ((handler(java.lang.Throwable+) && args(arg1)) && ((within(org.eclipse.ajdt..*) && (!within(org.eclipse.ajdt.internal.ui.lazystart..*) && (!within(org.eclipse.ajdt.internal.ui.dialogs.OpenTypeSelectionDialog2) && !(within(org.ecli...
resolved fixed
1e28b92
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-25T23:03:13Z
2010-05-25T20:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/PointcutEvaluationExpenseComparator.java
public int compare(Pointcut p1, Pointcut p2) { if (p1.equals(p2)) { return 0; } int result = getScore(p1) - getScore(p2); if (result == 0) { result = p1.hashCode() - p2.hashCode(); if (result == 0) { return -1; } } return result; } private int getScore(Pointcut p) { if (p.co...
314,365
Bug 314365 pointcut rewriter can have issues for large hashcode values
AJDT uses a pointcut like this: (persingleton(org.eclipse.ajdt.internal.ui.ras.UIFFDC) && ((handler(java.lang.Throwable+) && args(arg1)) && ((within(org.eclipse.ajdt..*) && (!within(org.eclipse.ajdt.internal.ui.lazystart..*) && (!within(org.eclipse.ajdt.internal.ui.dialogs.OpenTypeSelectionDialog2) && !(within(org.ecli...
resolved fixed
1e28b92
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2010-05-25T23:03:13Z
2010-05-25T20:40:00Z
org.aspectj.matcher/src/org/aspectj/weaver/patterns/PointcutEvaluationExpenseComparator.java
if (kind == Shadow.AdviceExecution) { return ADVICEEXECUTION; } else if ((kind == Shadow.ConstructorCall) || (kind == Shadow.MethodCall)) { return CALL; } else if ((kind == Shadow.ConstructorExecution) || (kind == Shadow.MethodExecution) || (kind == Shadow.Initialization) || (kind == Shadow.PreInitia...