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
148,727
Bug 148727 Can't call synthetic aspectOf method on aspect in library jar
Separate compilation of the following program breaks on 1.5.2rc1 because of the recent change to marking aspect methods as synthetic: public aspect Asp { } public class Client { public static void main(String argz[]) { System.out.println("Can call aspectOf? "+Asp.aspectOf()); } } C:\devel\scratch\synthetic>ajc -classpa...
resolved fixed
21e06a6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T09:16:01Z
2006-06-26T19:26:40Z
weaver/src/org/aspectj/weaver/NameMangler.java
public static String makeName(String s1, String s2, String s3, String s4) { return "ajc$" + s1 + "$" + s2 + "$" + s3 + "$" + s4; } public static String cflowStack(CrosscuttingMembers xcut) { return makeName("cflowStack", Integer.toHexString(xcut.getCflowEntries().size())); } public static String cflowCounter(C...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
/******************************************************************************* * Copyright (c) 2006 IBM * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http:www...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
public void testSeparateCallAspectOf_pr148727() { runTest("separate compilation calling aspectOf and hasAspect"); } public void testIntegratedCallAspectOf_pr148727() { runTest("integrated compilation calling aspectOf and hasAspect"); } public void testFreakyNewArrayJoinpoint_pr148786() { runTest("freaky new array j...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
public void testDuplicateBridgeMethods_pr147801_1() { runTest("duplicate bridge methods");} public void testPackageIgnoredForException_pr147701_1() { runTest("package for exception ignored");} public void testPackageIgnoredForException_pr147701_2() { runTest("package for exception ignored - 2");} public void test...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
public void testCompletelyBrokenAopConcretization_pr142165_1() { runTest("broken concretization");} public void testCompletelyBrokenAopConcretization_pr142165_2() { runTest("broken concretization - 2");} public void testCompletelyBrokenAopConcretization_pr142165_3() { runTest("broken concretization - 3");} public...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
public void testReferencePCutInPerClause_pr138219() { runTest("Can't use a FQ Reference pointcut in any pointcut expression referenced by a per-clause");} public void testReferencePCutInPerClause_pr130722() { runTest("FQ Reference pointcut from perclause ref pc"); } public void testDoubleAnnotationMatching_pr138223...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
+ target.toLabelString(),method,target); matches = AsmManager.getDefault().getRelationshipMap().get(method); assertNotNull("'debit(java.lang.String,long)' should have some relationships but does not",matches); assertTrue("'debit(java.lang.String,long)' should have one relationships but has "...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
IHierarchy top = AsmManager.getDefault().getHierarchy(); IProgramElement twoArgsMethod = top.findElementForLabel( top.getRoot(),IProgramElement.Kind.METHOD,"twoArgsMethod(int,java.lang.String)"); assertNotNull("Couldn't find 'twoArgsMethod(int,java.lang.String)' element in the tree",twoArgsMetho...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
checkSignatureOfIPE("method()",IProgramElement.Kind.METHOD); checkSignatureOfIPE("p()",IProgramElement.Kind.POINTCUT); checkSignatureOfIPE("before(): p..",IProgramElement.Kind.ADVICE,"before()"); checkSignatureOfIPE("MyClass.method()",IProgramElement.Kind.INTER_TYPE_METHOD); checkSignatureOfIPE("multiMethod...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
assertEquals("expected two sources of relationships but only found " + asmRelMap.getEntries().size(),2,asmRelMap.getEntries().size()); for (Iterator iter = asmRelMap.getEntries().iterator(); iter.hasNext();) { String sourceOfRelationship = (String) iter.next(); IProgramElement ipe = top.findElement...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
+ rel.getName(), "advised by", rel.getName()); List targets = rel.getTargets(); assertEquals("expected one target but found " + targets.size(),1,targets.size()); IProgramElement link = top.findElementForHandle((String)targets.get(0)); assertEquals("expected target 'MyBar.aj' but target " + link....
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
IRelationshipMap relMap = AsmManager.getDefault().getRelationshipMap(); assertEquals("expected 3 entries in the relationship map but found " + relMap.getEntries().size(), 3, relMap.getEntries().size()); } finally { World.createInjarHierarchy = true; } } public void testPCDInClassAppearsInMod...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
pcd = top.findElementForLabel(top.getRoot(),IProgramElement.Kind.POINTCUT,"pointcutInAspect()"); relationships = relMap.get(pcd); assertNotNull("expected relationships for pointcut " + pcd.toLinkLabelString() + " but didn't", relationships); } finally { World.createInjarHierarchy = true; } } ...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
l = ipe.getParameterTypes(); } boolean eq = CharOperation.equals(((char[])l.get(0)),expectedParm.toCharArray()); assertTrue("expected parameter to be '" + expectedParm + "' but found '" + new String(((char[])l.get(0))) + "'",eq); } private void checkSignatureOfIPE(String ipeLabel, IProgramE...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.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...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
* * Contributors: * PARC initial implementation * Alexandre Vasseur @AspectJ ITDs * ******************************************************************/ package org.aspectj.weaver.bcel; import java.lang.reflect.Modifier; import java.util.Iterator; import java.util.List; import java.util.Set; import...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
import org.aspectj.weaver.AnnotationOnTypeMunger; import org.aspectj.weaver.AnnotationX; import org.aspectj.weaver.AsmRelationshipProvider; import org.aspectj.weaver.BCException; import org.aspectj.weaver.ConcreteTypeMunger; import org.aspectj.weaver.Member; import org.aspectj.weaver.MethodDelegateTypeMunger; import or...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
return "(BcelTypeMunger " + getMunger() + ")"; } public boolean munge(BcelClassWeaver weaver) { ContextToken tok = CompilationAndWeavingContext.enteringPhase(CompilationAndWeavingContext.MUNGING_WITH, this); boolean changed = false; boolean worthReporting = true; if (munger.getKind() == ResolvedTypeMunger....
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
changed = mungeNewAnnotationOnType(weaver,(AnnotationOnTypeMunger)munger); worthReporting=false; } else { throw new RuntimeException("unimplemented"); } if (changed && munger.changesPublicSignature()) { WeaverStateInfo info = weaver.getLazyClassGen().getOrCreateWeaverStateInfo(BcelClassWeav...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
weaver.getWorld().getMessageHandler().handleMessage(WeaveMessage.constructWeavingMessage(WeaveMessage.WEAVEMESSAGE_DECLAREPARENTSIMPLEMENTS, new String[]{weaver.getLazyClassGen().getType().getName(), tName,parentTM.getNewParent().getName(),fName}, weaver.getLazyClassGen().getClassName(), getAspectType()....
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
int takefrom = path.lastIndexOf('/'); if (takefrom == -1) { takefrom = path.lastIndexOf('\\'); } return path.substring(takefrom+1); } private boolean mungeNewAnnotationOnType(BcelClassWeaver weaver,AnnotationOnTypeMunger munger) { weaver.getLazyClassGen().addAnnotation(munger.getNewAnnotation().getBce...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (!(subMethod.isSynthetic() && superMethod.isSynthetic())) { cont = enforceDecpRule3_visibilityChanges(weaver, newParent, superMethod, subMethod) && cont; cont = enforceDecpRule4_compatibleReturnTypes(weaver, superMethod, subMethod) && cont; cont = enforceDecpRule5_...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
List newParentTargetMethods = newParentTarget.getType().getMethodsWithoutIterator(false,true); for (Iterator ii = newParentTargetMethods.iterator(); ii.hasNext() && discoveredImpl==null;) { ResolvedMember gen2 = (ResolvedMember) ii.next(); if (gen2.get...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} } else if (m.getMunger().getKind() == ResolvedTypeMunger.MethodDelegate) { satisfiedByITD = true; } } if (!satisfiedByITD) { error(weaver, ...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} /** * Rule 3. Can't narrow visibility of methods when overriding */ private boolean enforceDecpRule3_visibilityChanges(BcelClassWeaver weaver, ResolvedType newParent, ResolvedMember superMethod, LazyMethodGen subMethod) { boolean cont = true; if (superMethod.isPublic()) { if (subMethod.isPr...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
/** * Rule 4. Can't have incompatible return types */ private boolean enforceDecpRule4_compatibleReturnTypes(BcelClassWeaver weaver, ResolvedMember superMethod, LazyMethodGen subMethod) { boolean cont = true; String superReturnTypeSig = superMethod.getReturnType().getSignature(); ...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
" cannot override the static method from "+superMethod.getDeclaringType().getName(), subMethod.getSourceLocation(),new ISourceLocation[]{mungerLoc}); return false; } else if (!superMethod.isStatic() && subMethod.isStatic()) { error(weaver,"The static method "+subMethod.getName()+subM...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
* The main part of implementing declare parents extends. Modify super ctor calls to target the new type. */ public boolean attemptToModifySuperCalls(BcelClassWeaver weaver,LazyClassGen newParentTarget, ResolvedType newParent) { String currentParent = newParentTarget.getSuperClassname(); if (newPa...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (m.getMunger() instanceof NewConstructorTypeMunger) { if (m.getSignature().getSignature().equals(invokeSpecial.getSignature(cpg))) { satisfiedByITDC = true; } ...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
StringBuffer sb = new StringBuffer(); Type[] ctorArgs = invokeSpecial.getArgumentTypes(cpg); sb.append(newParent.getClassName()); sb.append("("); for (int i = 0; i < ctorArgs.length; i++) { String argtype = ctorArgs[i].toString(); if (argtype.lastIndexOf(".")!=-1) sb.append(argtype.substring(ar...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
{ LazyClassGen gen = weaver.getLazyClassGen(); ResolvedMember member = munger.getMember(); ResolvedType onType = weaver.getWorld().resolve(member.getDeclaringType(),munger.getSourceLocation()); if (onType.isRawType()) onType = onType.getGenericType(); if (onType.equals(gen.getType())) { if (member.ge...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} else if (member.getKind() == Member.STATIC_INITIALIZATION) { gen.forcePublic(); return true; } else { throw new RuntimeException("unimplemented"); } } return false; } private void addFieldGetter( LazyClassGen gen, ResolvedMember field, ResolvedMember accessMethod) { LazyMethodGen mg =...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
il.append(InstructionFactory.createReturn(BcelWorld.makeBcelType(field.getType()))); mg.getBody().insert(il); gen.addMethodGen(mg,getSignature().getSourceLocation()); } private void addFieldSetter( LazyClassGen gen, ResolvedMember field, ResolvedMember accessMethod) { LazyMethodGen mg = makeMethod...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
il.append(InstructionFactory.createReturn(Type.VOID)); mg.getBody().insert(il); gen.addMethodGen(mg,getSignature().getSourceLocation()); } private void addMethodDispatch( LazyClassGen gen, ResolvedMember method, ResolvedMember accessMethod) { LazyMethodGen mg = makeMethodGen(gen, accessMethod); ...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
il.append(InstructionFactory.createReturn(BcelWorld.makeBcelType(method.getReturnType()))); mg.getBody().insert(il); gen.addMethodGen(mg); } protected LazyMethodGen makeMethodGen(LazyClassGen gen, ResolvedMember member) { LazyMethodGen ret = new LazyMethodGen( member.getModifiers(), BcelWorld.mak...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
PerObjectInterfaceTypeMunger munger) { LazyClassGen gen = weaver.getLazyClassGen(); if (couldMatch(gen.getBcelObjectType(), munger.getTestPointcut())) { FieldGen fg = makeFieldGen(gen, AjcMemberMaker.perObjectField(gen.getType(), aspectType)); gen.addField(fg.getField(),getSourceLocation()); ...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
LazyMethodGen mg1 = new LazyMethodGen( Modifier.PUBLIC, Type.VOID, NameMangler.perObjectInterfaceSet(aspectType), new Type[]{fieldType,}, new String[0], gen); InstructionList il1 = new InstructionList(); il1.append(InstructionConstants.ALOAD_0); il1.append(InstructionFactory.createLoad...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
FieldGen fg = makeFieldGen(gen, AjcMemberMaker.perTypeWithinField(gen.getType(), aspectType)); gen.addField(fg.getField(),getSourceLocation()); Type fieldType = BcelWorld.makeBcelType(aspectType); LazyMethodGen mg = new LazyMethodGen( Modifier.PUBLIC | Modifier.STATIC,fieldType...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
return !bcelObjectType.isInterface(); } private boolean mungeNewMethod(BcelClassWeaver weaver, NewMethodTypeMunger munger) { World w = weaver.getWorld(); ResolvedMember unMangledInterMethod = munger.getSignature().resolve(w); ResolvedMember interMethodBody = munger.getDeclaredInterMethodBody(aspectType,...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (onInterface && gen.getLazyMethodGen(unMangledInterMethod.getName(), unMangledInterMethod.getSignature(),true) != null) { return false; } if (onType.equals(gen.getType())) { ResolvedMember mangledInterMethod = AjcMemberMaker.interMethod(unMangledInterMethod, aspectType, onInterface); ...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (annotationsOnRealMember!=null) { for (int i = 0; i < annotationsOnRealMember.length; i++) { AnnotationX annotationX = annotationsOnRealMember[i]; Annotation a = annotationX.getBcelAnnotation(); AnnotationGen ag = new AnnotationGen(a,weaver.getLazyClassGen().getConstantPoolGen(),true); n...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} Type[] paramTypes = BcelWorld.makeBcelTypes(mangledInterMethod.getParameterTypes()); for (int i = 0, len = paramTypes.length; i < len; i++) { Type paramType = paramTypes[i]; body.append(InstructionFactory.createLoad(paramType, pos)); pos+=paramType.getSize(); } body.append(Utility.creat...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (!gen.getType().isTopmostImplementor(onType)) { ResolvedType rtx = gen.getType().getTopmostImplementor(onType); if (!rtx.isExposedToWeaver()) { ISourceLocation sLoc = munger.getSourceLocation(); weaver.getWorld().getMessageHandler().handleMessage(MessageUtil.error( Weave...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (realMember==null) throw new BCException("Couldn't find ITD holder member '"+ memberHoldingAnyAnnotations+"' on aspect "+aspectType); annotationsOnRealMember = realMember.getAnnotations(); if (annotationsOnRealMember!=null) { for (int i = 0; i < annotationsOnRealMember.length; i++) { ...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
Type paramType = paramTypes[i]; body.append(InstructionFactory.createLoad(paramType, pos)); pos+=paramType.getSize(); } body.append(Utility.createInvoke(fact, weaver.getWorld(), interMethodBody)); Type t= BcelWorld.makeBcelType(interMethodBody.getReturnType()); if (!t.equals(returnType)...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
LazyMethodGen bridgeMethod = makeMethodGen(gen,bridgingSetter); paramTypes = BcelWorld.makeBcelTypes(bridgingSetter.getParameterTypes()); Type[] bridgingToParms = BcelWorld.makeBcelTypes(unMangledInterMethod.getParameterTypes()); returnType = BcelWorld.makeBcelType(bridgingSetter.getReturnType()); ...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
return true; } } else { return false; } } /** * Create any bridge method required because of covariant returns being used. This method is used in the case * where an ITD is applied to some type and it may be in an override relationship with a method from the supertype - but * due to covariance t...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
ResolvedMember[] localMethods = onType.getDeclaredMethods(); for (int i = 0; i < localMethods.length; i++) { ResolvedMember member = localMethods[i]; if (member.getName().equals(localMethodName)) { if (member.getParameterSignature().equals(localParameterSig)) alreadyDone = true; } } if (!a...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
* @param clazz the class in which to put the bridge method * @param paramTypes Parameter types for the bridge method, passed in as an optimization since the caller is likely to have already created them. * @param theBridgeMethod */ private void createBridgeMethod(BcelWorld world, NewMethodTypeMunger munger, ...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
private boolean mungeMethodDelegate(BcelClassWeaver weaver, MethodDelegateTypeMunger munger) { ResolvedMember introduced = munger.getSignature(); LazyClassGen gen = weaver.getLazyClassGen(); ResolvedType fromType = weaver.getWorld().resolve(introduced.getDeclaringType(),munger.getSourceLocation(...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} } if (annotationsOnRealMember!=null) { for (int i = 0; i < annotationsOnRealMember.length; i++) { AnnotationX annotationX = annotationsOnRealMember[i]; Annotation a = annotationX.getBcelAnnotation(); ...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
int pos = 0; if (!introduced.isStatic()) { pos++; } Type[] paramTypes = BcelWorld.makeBcelTypes(introduced.getParameterTypes()); for (int i = 0, len = paramTypes.length; i < len; i++) { Type paramType = paramTypes[i]; body.append(Inst...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} boolean shouldApply = munger.matches(weaver.getLazyClassGen().getType(), aspectType); ResolvedMember host = AjcMemberMaker.itdAtDeclareParentsField( weaver.getLazyClassGen().getType(), munger.getSignature().getType(), aspectType); weaver.getLazyC...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (isCtorRelated) { for (int j = 0; j < memberParams.length && matchOK; j++){ ResolvedType pMember = memberParams[j].resolve(world); ResolvedType pLookingFor = lookingForParams[j].resolve(world); if (pMember.isTypeVariableReference()) pMember = ((TypeVariableReference)pMember)....
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
private void addNeededSuperCallMethods( BcelClassWeaver weaver, ResolvedType onType, Set neededSuperCalls) { LazyClassGen gen = weaver.getLazyClassGen(); for (Iterator iter = neededSuperCalls.iterator(); iter.hasNext();) { ResolvedMember superMethod = (ResolvedMember) iter.next(); if (weaver.addDisp...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} } private void signalError(String msgid,BcelClassWeaver weaver,UnresolvedType onType) { IMessage msg = MessageUtil.error( WeaverMessages.format(msgid,onType.getName()),getSourceLocation()); weaver.getWorld().getMessageHandler().handleMessage(msg); } private boolean mungeNewConstructor( BcelClassWeaver w...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
LazyMethodGen mg = makeMethodGen(currentClass, newConstructorMember); mg.setEffectiveSignature(newConstructorTypeMunger.getSignature(),Shadow.ConstructorExecution,true); if (weaver.getWorld().isInJava5Mode()){ ResolvedMember interMethodDispatcher =AjcMemberMaker.postIntroducedConstructor(a...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
&& mg.getEnclosingClass().getType() == aspectType) { mg.addAnnotation(decaMC.getAnnotationX()); } } } currentClass.addMethodGen(mg); InstructionList body = mg.getBody(); UnresolvedType[] declaredParams = newConstructorTypeMunger.getSignature().getParameterTypes(); Type[] paramTy...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
body.append(InstructionConstants.ALOAD_0); UnresolvedType[] superParamTypes = explicitConstructor.getParameterTypes(); for (int i = 0, len = superParamTypes.length; i < len; i++) { body.append(InstructionFactory.createLoad(Type.OBJECT, arraySlot)); body.append(Utility.createConstant(fact, i)); bod...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
body.append(InstructionFactory.createArrayLoad(Type.OBJECT)); body.append( Utility.createConversion( fact, Type.OBJECT, BcelWorld.makeBcelType(postParamTypes[i]))); } body.append(Utility.createInvoke(fact, null, postMethod)); body.append(InstructionConstants.RETURN); retur...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
new LazyMethodGen( modifiers, returnType, dispatchName, paramTypes, UnresolvedType.getNames(superMethod.getExceptions()), onGen); InstructionList body = mg.getBody(); if (onGen.isInterface()) return mg; InstructionFactory fact = onGen.getFactory(); int pos = 0; body.a...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
private boolean mungeNewField(BcelClassWeaver weaver, NewFieldTypeMunger munger) { munger.getInitMethod(aspectType); LazyClassGen gen = weaver.getLazyClassGen(); ResolvedMember field = munger.getSignature(); ResolvedType onType = weaver.getWorld().resolve(field.getDeclaringType(),munger.getSourceLocation());...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
ResolvedMember realMember = getRealMemberForITDFromAspect(toLookOn,interMethodBody,false); if (realMember==null) throw new BCException("Couldn't find ITD init member '"+ interMethodBody+"' on aspect "+aspectType); annotationsOnRealMember = realMember.getAnnotations(); } if (onType.equals(gen.getTyp...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} return true; } else if (onInterface && gen.getType().isTopmostImplementor(onType)) { if (field.isStatic()) throw new RuntimeException("unimplemented"); weaver.addInitializer(this); Type fieldType = BcelWorld.makeBcelType(field.getType()); FieldGen fg = makeFieldGen(gen,AjcMem...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
InstructionFactory fact = gen.getFactory(); if (field.isStatic()) { il.append(fact.createFieldAccess( gen.getClassName(), fg.getName(), fieldType, Constants.GETSTATIC)); } else { il.append(InstructionConstants.ALOAD_0); il.append(fact.createFieldAccess( gen.getClassName(), f...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
LazyMethodGen mg1 = makeMethodGen(gen, itdfieldSetter); InstructionList il1 = new InstructionList(); if (field.isStatic()) { il1.append(InstructionFactory.createLoad(fieldType, 0)); il1.append(fact.createFieldAccess( gen.getClassName(), fg.getName(), fieldType, Constants.PUTSTATIC)); } ...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
return true; } else { return false; } } private void createBridgeMethodForITDF(BcelClassWeaver weaver, LazyClassGen gen, ResolvedMember itdfieldSetter, ResolvedMember bridgingSetter) { InstructionFactory fact; LazyMethodGen bridgeMethod = makeMethodGen(gen,bridgingSetter); Type[] paramTypes = BcelWorl...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
body.append(Utility.createInvoke(fact, weaver.getWorld(), itdfieldSetter)); body.append(InstructionFactory.createReturn(returnType)); gen.addMethodGen(bridgeMethod); } public ConcreteTypeMunger parameterizedFor(ResolvedType target) { return new BcelTypeMunger(munger.parameterizedFor(target),aspectType); ...
148,972
Bug 148972 problems with binary weaving declare parents in mixed environment.
These have been reported to me on a large system doing some intricate weaving where some classes are 1.2, some 1.4, some 1.5 and the VM is 1.5. Binary weaving declare parents sometimes refuses to allow the modification of the hierarchy because it sees a clash between two methods when there is none. The two cases I'm fi...
resolved fixed
2f2f568
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-06-28T11:44:10Z
2006-06-28T10:20:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (hashCode == 0) { int result = 17; result = 37*result + ((getMunger() == null) ? 0 : getMunger().hashCode()); result = 37*result + ((getAspectType() == null) ? 0 : getAspectType().hashCode()); hashCode = result; } return hashCode; } /** * Some type m...
148,737
Bug 148737 IllegalStateException for non-generic type
I believe this is similar to 112880. The message and stack trace I am getting are -- (IllegalStateException) Can't ask to parameterize a member of non-generic type: com...object kind(raw) Can't ask to parameterize a member of non-generic type: com...object kind(raw) java.lang.IllegalStateException: Can't ask to paramet...
resolved fixed
f6834c7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-03T13:49:07Z
2006-06-27T01:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.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...
148,737
Bug 148737 IllegalStateException for non-generic type
I believe this is similar to 112880. The message and stack trace I am getting are -- (IllegalStateException) Can't ask to parameterize a member of non-generic type: com...object kind(raw) Can't ask to parameterize a member of non-generic type: com...object kind(raw) java.lang.IllegalStateException: Can't ask to paramet...
resolved fixed
f6834c7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-03T13:49:07Z
2006-06-27T01:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
private static final String BUNDLE_NAME = "org.aspectj.ajdt.ajc.messages"; private static boolean LOADED_BUNDLE = false; static { bundle = ResourceBundle.getBundle(BUNDLE_NAME); if (!LOADED_BUNDLE) { LOADED_BUNDLE = true; } } private static class StringPrintWriter extends PrintWrite...
148,737
Bug 148737 IllegalStateException for non-generic type
I believe this is similar to 112880. The message and stack trace I am getting are -- (IllegalStateException) Can't ask to parameterize a member of non-generic type: com...object kind(raw) Can't ask to parameterize a member of non-generic type: com...object kind(raw) java.lang.IllegalStateException: Can't ask to paramet...
resolved fixed
f6834c7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-03T13:49:07Z
2006-06-27T01:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
public final StringWriter stringWriter; StringPrintWriter(StringWriter sw) { super(sw); this.stringWriter = sw; } } public static String getUsage() { return Main.bind("misc.usage",Main.bind("compiler.name")); } public static String getXOptionU...
148,737
Bug 148737 IllegalStateException for non-generic type
I believe this is similar to 112880. The message and stack trace I am getting are -- (IllegalStateException) Can't ask to parameterize a member of non-generic type: com...object kind(raw) Can't ask to parameterize a member of non-generic type: com...object kind(raw) java.lang.IllegalStateException: Can't ask to paramet...
resolved fixed
f6834c7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-03T13:49:07Z
2006-06-27T01:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
private IMessageHandler handler; /** * Overrides super's bundle. */ public BuildArgParser(PrintWriter writer, IMessageHandler handler) { super(writer, writer, false); if (writer instanceof StringPrintWriter) { errorSink = ((StringPrintWriter) writer).stringWriter.getBuffer(); } ...
148,737
Bug 148737 IllegalStateException for non-generic type
I believe this is similar to 112880. The message and stack trace I am getting are -- (IllegalStateException) Can't ask to parameterize a member of non-generic type: com...object kind(raw) Can't ask to parameterize a member of non-generic type: com...object kind(raw) java.lang.IllegalStateException: Can't ask to paramet...
resolved fixed
f6834c7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-03T13:49:07Z
2006-06-27T01:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
/** * Generate build configuration for the input args, * passing to handler any error messages. * @param args the String[] arguments for the build configuration * @param setClasspath determines if the classpath should be parsed and set on the build configuration * @param configFile can be null ...
148,737
Bug 148737 IllegalStateException for non-generic type
I believe this is similar to 112880. The message and stack trace I am getting are -- (IllegalStateException) Can't ask to parameterize a member of non-generic type: com...object kind(raw) Can't ask to parameterize a member of non-generic type: com...object kind(raw) java.lang.IllegalStateException: Can't ask to paramet...
resolved fixed
f6834c7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-03T13:49:07Z
2006-06-27T01:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
} boolean incrementalMode = buildConfig.isIncrementalMode() || buildConfig.isIncrementalFileMode(); List fileList = new ArrayList(); List files = parser.getFiles(); if (!LangUtil.isEmpty(files)) { if (incrementalMode) { ...
148,737
Bug 148737 IllegalStateException for non-generic type
I believe this is similar to 112880. The message and stack trace I am getting are -- (IllegalStateException) Can't ask to parameterize a member of non-generic type: com...object kind(raw) Can't ask to parameterize a member of non-generic type: com...object kind(raw) java.lang.IllegalStateException: Can't ask to paramet...
resolved fixed
f6834c7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-03T13:49:07Z
2006-06-27T01:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
if (!proceed) { buildConfig.doNotProceed(); return buildConfig; } if (buildConfig.getSourceRoots() != null) { for (Iterator i = buildConfig.getSourceRoots().iterator(); i.hasNext(); ) { fileList.addAll(collectSourceRootFiles((File)i.next())); } } buildConfig.setFiles(fileList);...
148,737
Bug 148737 IllegalStateException for non-generic type
I believe this is similar to 112880. The message and stack trace I am getting are -- (IllegalStateException) Can't ask to parameterize a member of non-generic type: com...object kind(raw) Can't ask to parameterize a member of non-generic type: com...object kind(raw) java.lang.IllegalStateException: Can't ask to paramet...
resolved fixed
f6834c7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-03T13:49:07Z
2006-06-27T01:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
if (outjar != null) { for (Iterator i = buildConfig.getInJars().iterator(); i.hasNext(); ) { File injar = (File)i.next(); if (injar.equals(outjar)) { String message = WeaverMessages.format(WeaverMessages.OUTJAR_IN_INPUT_PATH); MessageUtil.error(handler,message); } } ...
148,737
Bug 148737 IllegalStateException for non-generic type
I believe this is similar to 112880. The message and stack trace I am getting are -- (IllegalStateException) Can't ask to parameterize a member of non-generic type: com...object kind(raw) Can't ask to parameterize a member of non-generic type: com...object kind(raw) java.lang.IllegalStateException: Can't ask to paramet...
resolved fixed
f6834c7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-03T13:49:07Z
2006-06-27T01:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
} catch (InvalidInputException iie) { ISourceLocation location = null; if (buildConfig.getConfigFile() != null) { location = new SourceLocation(buildConfig.getConfigFile(), 0); } IMessage m = new Message(iie.getMessage(), IMessage.ERROR, null, location); handler.handleMessage(m); } r...
148,737
Bug 148737 IllegalStateException for non-generic type
I believe this is similar to 112880. The message and stack trace I am getting are -- (IllegalStateException) Can't ask to parameterize a member of non-generic type: com...object kind(raw) Can't ask to parameterize a member of non-generic type: com...object kind(raw) java.lang.IllegalStateException: Can't ask to paramet...
resolved fixed
f6834c7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-03T13:49:07Z
2006-06-27T01:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
String result = errorSink.toString().trim(); if (0 == result.length()) { result = null; } if (flush) { errorSink.setLength(0); } return result; } private void setDebugOptions() { options.put( CompilerOptions.OPTION_LocalVariableAttribute, Co...
148,737
Bug 148737 IllegalStateException for non-generic type
I believe this is similar to 112880. The message and stack trace I am getting are -- (IllegalStateException) Can't ask to parameterize a member of non-generic type: com...object kind(raw) Can't ask to parameterize a member of non-generic type: com...object kind(raw) java.lang.IllegalStateException: Can't ask to paramet...
resolved fixed
f6834c7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-03T13:49:07Z
2006-06-27T01:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
} else { addClasspath(parser.bootclasspath, ret); } return ret; } /** * If the classpath is not set, we use the environment's java.class.path, but remove * the aspectjtools.jar entry from that list in order to prevent wierd bootstrap issues * (refer to bug#39959). */ publi...
148,737
Bug 148737 IllegalStateException for non-generic type
I believe this is similar to 112880. The message and stack trace I am getting are -- (IllegalStateException) Can't ask to parameterize a member of non-generic type: com...object kind(raw) Can't ask to parameterize a member of non-generic type: com...object kind(raw) java.lang.IllegalStateException: Can't ask to paramet...
resolved fixed
f6834c7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-03T13:49:07Z
2006-06-27T01:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
} else { addClasspath(parser.classpath, ret); } return ret; } private void addExtDirs(String extdirs, List classpathCollector) { StringTokenizer tokenizer = new StringTokenizer(extdirs, File.pathSeparator); while (tokenizer.hasMoreTokens()) { File dirFile = new File((String)tokenize...
148,737
Bug 148737 IllegalStateException for non-generic type
I believe this is similar to 112880. The message and stack trace I am getting are -- (IllegalStateException) Can't ask to parameterize a member of non-generic type: com...object kind(raw) Can't ask to parameterize a member of non-generic type: com...object kind(raw) java.lang.IllegalStateException: Can't ask to paramet...
resolved fixed
f6834c7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-03T13:49:07Z
2006-06-27T01:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
private String bootclasspath = null; private String classpath = null; private String extdirs = null; private List unparsedArgs = new ArrayList(); private AjBuildConfig buildConfig; private IMessageHandler handler; public AjcConfigParser(AjBuildConfig buildConfig, IMessageHandler handler...
148,737
Bug 148737 IllegalStateException for non-generic type
I believe this is similar to 112880. The message and stack trace I am getting are -- (IllegalStateException) Can't ask to parameterize a member of non-generic type: com...object kind(raw) Can't ask to parameterize a member of non-generic type: com...object kind(raw) java.lang.IllegalStateException: Can't ask to paramet...
resolved fixed
f6834c7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-03T13:49:07Z
2006-06-27T01:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
buildConfig.setXlazyTjp(true); if (LangUtil.isEmpty(arg)) { showWarning("empty arg found"); } else if (arg.equals("-inpath")) {; if (args.size() > nextArgIndex) { List inPath = buildConfig.getInpath(); StringTokenizer st = new StringTokenizer( ...
148,737
Bug 148737 IllegalStateException for non-generic type
I believe this is similar to 112880. The message and stack trace I am getting are -- (IllegalStateException) Can't ask to parameterize a member of non-generic type: com...object kind(raw) Can't ask to parameterize a member of non-generic type: com...object kind(raw) java.lang.IllegalStateException: Can't ask to paramet...
resolved fixed
f6834c7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-03T13:49:07Z
2006-06-27T01:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
((ConfigParser.Arg)args.get(nextArgIndex)).getValue(), File.pathSeparator); while (st.hasMoreTokens()) { String filename = st.nextToken(); File jarFile = makeFile(filename); if (FileUtil.isZipFile(jarFile)) { buildConfig.getInJars().add(j...
148,737
Bug 148737 IllegalStateException for non-generic type
I believe this is similar to 112880. The message and stack trace I am getting are -- (IllegalStateException) Can't ask to parameterize a member of non-generic type: com...object kind(raw) Can't ask to parameterize a member of non-generic type: com...object kind(raw) java.lang.IllegalStateException: Can't ask to paramet...
resolved fixed
f6834c7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-03T13:49:07Z
2006-06-27T01:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
showWarning("skipping missing, empty or corrupt aspectpath entry: " + filename); } } args.remove(args.get(nextArgIndex)); } } else if (arg.equals("-sourceroots")) { if (args.size() > nextArgIndex) { List sourceRoots = new ArrayList(); StringTokenizer st = ...
148,737
Bug 148737 IllegalStateException for non-generic type
I believe this is similar to 112880. The message and stack trace I am getting are -- (IllegalStateException) Can't ask to parameterize a member of non-generic type: com...object kind(raw) Can't ask to parameterize a member of non-generic type: com...object kind(raw) java.lang.IllegalStateException: Can't ask to paramet...
resolved fixed
f6834c7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-03T13:49:07Z
2006-06-27T01:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
if (!jarFile.isDirectory()) { try { if (!jarFile.exists()) { jarFile.createNewFile(); } buildConfig.setOutputJar(jarFile); } catch (IOException ioe) { showError("unable to create out...
148,737
Bug 148737 IllegalStateException for non-generic type
I believe this is similar to 112880. The message and stack trace I am getting are -- (IllegalStateException) Can't ask to parameterize a member of non-generic type: com...object kind(raw) Can't ask to parameterize a member of non-generic type: com...object kind(raw) java.lang.IllegalStateException: Can't ask to paramet...
resolved fixed
f6834c7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-03T13:49:07Z
2006-06-27T01:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
args.remove(args.get(nextArgIndex)); }else if (arg.equals("-incremental")) { buildConfig.setIncrementalMode(true); } else if (arg.equals("-XincrementalFile")) { if (args.size() > nextArgIndex) { File file = makeFile(((Conf...
148,737
Bug 148737 IllegalStateException for non-generic type
I believe this is similar to 112880. The message and stack trace I am getting are -- (IllegalStateException) Can't ask to parameterize a member of non-generic type: com...object kind(raw) Can't ask to parameterize a member of non-generic type: com...object kind(raw) java.lang.IllegalStateException: Can't ask to paramet...
resolved fixed
f6834c7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-03T13:49:07Z
2006-06-27T01:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
buildConfig.setXdevPinpointMode(true); } else if (arg.startsWith("-Xjoinpoints:")) { buildConfig.setXJoinpoints(arg.substring(13)); } else if (arg.equals("-noWeave") || arg.equals( "-XnoWeave")) { showWarning("the noweave option is no longer required and is being ignored"); } el...
148,737
Bug 148737 IllegalStateException for non-generic type
I believe this is similar to 112880. The message and stack trace I am getting are -- (IllegalStateException) Can't ask to parameterize a member of non-generic type: com...object kind(raw) Can't ask to parameterize a member of non-generic type: com...object kind(raw) java.lang.IllegalStateException: Can't ask to paramet...
resolved fixed
f6834c7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-03T13:49:07Z
2006-06-27T01:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
if (lintSpecFile.canRead() && lintSpecFile.getName().endsWith(".properties")) { buildConfig.setLintSpecFile(lintSpecFile); } else { showError("bad -Xlintfile file: " + lintSpecFile); buildConfig.setLintSpecFile(null); } args.remove(args.get(nextArgIndex)); } else { showError("...
148,737
Bug 148737 IllegalStateException for non-generic type
I believe this is similar to 112880. The message and stack trace I am getting are -- (IllegalStateException) Can't ask to parameterize a member of non-generic type: com...object kind(raw) Can't ask to parameterize a member of non-generic type: com...object kind(raw) java.lang.IllegalStateException: Can't ask to paramet...
resolved fixed
f6834c7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-03T13:49:07Z
2006-06-27T01:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
bootclasspath = bcp.toString(); args.remove(args.get(nextArgIndex)); } else { showError("-bootclasspath requires classpath entries"); } } else if (arg.equals("-classpath") || arg.equals("-cp")) { if (args.size() > nextArgIndex) { String cpArg = ((ConfigParser.Arg)args.get(nextArgIndex)).g...
148,737
Bug 148737 IllegalStateException for non-generic type
I believe this is similar to 112880. The message and stack trace I am getting are -- (IllegalStateException) Can't ask to parameterize a member of non-generic type: com...object kind(raw) Can't ask to parameterize a member of non-generic type: com...object kind(raw) java.lang.IllegalStateException: Can't ask to paramet...
resolved fixed
f6834c7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-03T13:49:07Z
2006-06-27T01:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
} } extdirs = ed.toString(); args.remove(args.get(nextArgIndex)); } else { showError("-extdirs requires list of external directories"); } } else if (arg.equals("-d")) { dirLookahead(arg, args, nextArgIndex);...
148,737
Bug 148737 IllegalStateException for non-generic type
I believe this is similar to 112880. The message and stack trace I am getting are -- (IllegalStateException) Can't ask to parameterize a member of non-generic type: com...object kind(raw) Can't ask to parameterize a member of non-generic type: com...object kind(raw) java.lang.IllegalStateException: Can't ask to paramet...
resolved fixed
f6834c7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-03T13:49:07Z
2006-06-27T01:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
} unparsedArgs.add("-source"); unparsedArgs.add(level); args.remove(args.get(nextArgIndex)); } } else { unparsedA...
148,737
Bug 148737 IllegalStateException for non-generic type
I believe this is similar to 112880. The message and stack trace I am getting are -- (IllegalStateException) Can't ask to parameterize a member of non-generic type: com...object kind(raw) Can't ask to parameterize a member of non-generic type: com...object kind(raw) java.lang.IllegalStateException: Can't ask to paramet...
resolved fixed
f6834c7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-03T13:49:07Z
2006-06-27T01:00:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
public void showError(String message) { ISourceLocation location = null; if (buildConfig.getConfigFile() != null) { location = new SourceLocation(buildConfig.getConfigFile(), 0); } IMessage errorMessage = new Message(CONFIG_MSG + message, IMessage.ERROR, null, location); handler.handleMessage(error...
148,737
Bug 148737 IllegalStateException for non-generic type
I believe this is similar to 112880. The message and stack trace I am getting are -- (IllegalStateException) Can't ask to parameterize a member of non-generic type: com...object kind(raw) Can't ask to parameterize a member of non-generic type: com...object kind(raw) java.lang.IllegalStateException: Can't ask to paramet...
resolved fixed
f6834c7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-03T13:49:07Z
2006-06-27T01:00:00Z
tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
/******************************************************************************* * Copyright (c) 2006 IBM * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://w...
148,693
Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier
null
resolved fixed
82f217f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-05T08:22:55Z
2006-06-26T16:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.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...
148,693
Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier
null
resolved fixed
82f217f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-05T08:22:55Z
2006-06-26T16:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java
import org.aspectj.org.eclipse.jdt.internal.compiler.ast.MethodDeclaration; import org.aspectj.org.eclipse.jdt.internal.compiler.ast.TypeDeclaration; import org.aspectj.org.eclipse.jdt.internal.compiler.codegen.CodeStream; import org.aspectj.org.eclipse.jdt.internal.compiler.codegen.ExceptionLabel; import org.aspectj.o...
148,693
Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier
null
resolved fixed
82f217f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-05T08:22:55Z
2006-06-26T16:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java
import org.aspectj.weaver.patterns.PerSingleton; import org.aspectj.weaver.patterns.TypePattern; public class AspectDeclaration extends TypeDeclaration { private AjAttribute.Aspect aspectAttribute; public PerClause perClause; public ResolvedMember aspectOfMethod; public ResolvedMember hasAspectMethod; public...
148,693
Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier
null
resolved fixed
82f217f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-05T08:22:55Z
2006-06-26T16:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java
public boolean isAbstract() { return (modifiers & AccAbstract) != 0; } public void resolve() { declaredModifiers = modifiers; if (binding == null) { ignoreFurtherInvestigation = true; return; } super.resolve(); } public void checkSpec(ClassScope scope) { if (ignoreFurtherInvestigation) r...
148,693
Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier
null
resolved fixed
82f217f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-05T08:22:55Z
2006-06-26T16:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java
if (m.isConstructor()) { methods[i] = new MethodBinding(m, binding) { public boolean canBeSeenBy( InvocationSite invocationSite, Scope scope) { return false; } }; if (m.parameters != null && m.parameters.length != 0) { scope.problemReporter().signa...
148,693
Bug 148693 woven class does not pass org.apache.bcel.verifier.statics.Pass2Verifier
null
resolved fixed
82f217f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-07-05T08:22:55Z
2006-06-26T16:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java
return; } } EclipseFactory world = EclipseFactory.fromScopeLookupEnvironment(scope); ResolvedType myType = typeX; ResolvedType superType = myType.getSuperclass(); if (!world.isXSerializableAspects()) { if (world.getWorld().getCoreType(UnresolvedType.SERIALIZABLE).isAssignableFrom(myType...