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
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
* The new method always static. * It may take some extra arguments: this, target. * If it's argsOnStack, then it must take both this/target * If it's argsOnFrame, it shares this and target. * ??? rewrite this to do less array munging, please */ private LazyMethodGen createMethodGen(String ...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
throw new BCException("bad bytecode"); } targetType = getThisType(); } parameterTypes = addType(BcelWorld.makeBcelType(targetType), parameterTypes); } if (thisVar != null) { UnresolvedType thisType = getThisType(); parameterTypes = addT...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
newMethodName, parameterTypes, new String[0], getEnclosingClass()); } private boolean samePackage(String p1, String p2) { if (p1 == null) return p2 == null; if (p2 == null) return false; return p1.equals(p2); } private Type[] addType(Type type, Ty...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
} public BcelVar genTempVar(UnresolvedType typeX, String localName) { BcelVar tv = genTempVar(typeX); } } return tv; } private int genTempVarIndex(int size) { return enclosingMethod.allocateLocal(size); } public InstructionFactory getFactory() { return getEnclo...
120,351
Bug 120351 cflowbelow issue when binding, in @AJ
null
resolved fixed
979124d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T10:48:46Z
2005-12-12T09:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
(kind == AdviceExecution) || (kind == StaticInitialization) || (kind == PreInitialization) || (kind == Initialization)) { if (getEnclosingMethod().hasDeclaredLineNumberInfo()) { offset = getEnclosingMethod().getDeclarationOffset(); } } return getEnclosingClass()...
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
/******************************************************************************* * Copyright (c) 2005 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 ...
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
import java.util.ArrayList; import java.util.Enumeration; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Properties; import java.util.StringTokenizer; import org.aspectj.asm.IRelationship; import org.aspectj.bridge.ISourceLocation; import org.aspectj.util.LangUtil; import o...
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
private final static String AOP_XML = "META-INF/aop.xml"; private List m_dumpTypePattern = new ArrayList(); private boolean m_dumpBefore = false; private List m_includeTypePattern = new ArrayList(); private List m_excludeTypePattern = new ArrayList(); private List m_includeStartsWith = new ArrayList...
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
this.generatedClassHandler = new GeneratedClassHandler() { /** * Callback when we need to define a Closure in the JVM * * @param name * @param bytes */ public void acceptClass(String name, byte[] bytes) { try { ...
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
public void addCrossReference(ISourceLocation from, ISourceLocation to, IRelationship.Kind kind, boolean runtimeTest) { ; } } ); weaver = new BcelWeaver(bcelWorld); registerDefinitions(weaver, loader, definitions); mess...
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
definitions.add(DocumentParser.parse((new File(file)).toURL())); } } String resourcePath = System.getProperty("org.aspectj.weaver.loadtime.configuration",AOP_XML); StringTokenizer st = new StringTokenizer(resourcePath,";"); while(st.hasMoreTokens()){ Enumeratio...
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
registerIncludeExclude(weaver, loader, definitions); registerDump(weaver, loader, definitions); } catch (Exception e) { enabled = false; warn("register definition failed",e); } } private String getClassLoaderName (ClassLoader loader) { return weavingConte...
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
world.setXlazyTjp(weaverOption.lazyTjp); world.setXHasMemberSupportEnabled(weaverOption.hasMember); world.setPinpointMode(weaverOption.pinpoint); weaver.setReweavableMode(weaverOption.notReWeavable); world.setXnoInline(weaverOption.noInline); world.setBehaveInJava5Way(La...
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
} } finally { try { resource.close(); } catch (Throwable t) {;} } } if (weaverOption.lint != null) { if (weaverOption.lint.equals("default")) { bcelWorld.getLint().loadDefaultProperties(); } else { ...
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
} private void registerAspectInclude(final BcelWeaver weaver, final ClassLoader loader, final List definitions) { String fastMatchInfo = null; for (Iterator iterator = definitions.iterator(); iterator.hasNext();) { Definition definition = (Definition) iterator.next(); for (It...
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
for (Iterator iterator = definitions.iterator(); iterator.hasNext();) { Definition definition = (Definition) iterator.next(); for (Iterator aspects = definition.getAspectClassNames().iterator(); aspects.hasNext();) { String aspectClassName = (String) aspects.next(); ...
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
ConcreteAspectCodeGen gen = new ConcreteAspectCodeGen(concreteAspect, weaver.getWorld()); if (!gen.validate()) { error("Concrete-aspect '"+concreteAspect.name+"' could not be registered"); break; } this.generated...
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
for (Iterator iterator = definitions.iterator(); iterator.hasNext();) { Definition definition = (Definition) iterator.next(); for (Iterator iterator1 = definition.getIncludePatterns().iterator(); iterator1.hasNext();) { String include = (String) iterator1.next(); ...
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
*/ private String looksLikeStartsWith(String typePattern) { if (typePattern.indexOf('@') >= 0 || typePattern.indexOf('+') >= 0 || typePattern.indexOf(' ') >= 0 || typePattern.charAt(typePattern.length()-1) != '*') { return null; } ...
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
Definition definition = (Definition) iterator.next(); for (Iterator iterator1 = definition.getDumpPatterns().iterator(); iterator1.hasNext();) { String dump = (String) iterator1.next(); TypePattern pattern = new PatternParser(dump).parseTypePattern(); m_dumpTy...
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
if (fastAccept) { return true; } BcelObjectType bct = ((BcelWorld)weaver.getWorld()).addSourceObjectType(Utility.makeJavaClass(null, bytes)); ResolvedType classInfo = bct.getResolvedTypeX(); for ...
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
} return accept; } private boolean acceptAspect(String aspectClassName) { if (m_aspectExcludeTypePattern.isEmpty() && m_aspectIncludeTypePattern.isEmpty()) { return true; } String fastClassName = aspectClassName.replace('/', '.').r...
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
return false; } } boolean accept = true; for (Iterator iterator = m_aspectIncludeTypePattern.iterator(); iterator.hasNext();) { TypePattern typePattern = (TypePattern) iterator.next(); accept = typePattern.matchesStatically(classInfo); if ...
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
TypePattern typePattern = (TypePattern) iterator.next(); if (typePattern.matchesStatically(classInfo)) { return true; } } return false; } /* * shared classes methods */ /** * @return Returns the key. */ public String ge...
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
* Flush the generated classes cache */ public void flushGeneratedClasses(){ generatedClasses = new HashMap(); } private void defineClass(ClassLoader loader, String name, byte[] bytes) { info("generating class '" + name + "'"); try { Method defineClass = ClassLoader.class.getDeclaredMeth...
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
tests/java5/ataspectj/ataspectj/Test$$EnhancerByCGLIB$$12345.java
/******************************************************************************* * Copyright (c) 2005 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is a...
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java
/******************************************************************************* * Copyright (c) 2005 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 ...
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java
public static Test suite() { return XMLBasedAjcTestCase.loadSuite(org.aspectj.systemtest.ajc150.ataspectj.AtAjLTWTests.class); } protected File getSpecFile() { return new File("../tests/src/org/aspectj/systemtest/ajc150/ataspectj/ltw.xml"); } public void testRunThemAllWithJavacCompiledAndLTW() { runTest("...
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java
} public void testAjcLTWAroundInlineMungerTest_XnoInline_Xreweavable() { runTest("AjcLTW AroundInlineMungerTest -XnoInline -Xreweavable"); } public void testAjcLTWAroundInlineMungerTest2() { runTest("AjcLTW AroundInlineMungerTest2"); } public void testLTWDumpNone() { runTest(...
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java
} public void testLTWDumpBeforeAndAfter() { runTest("LTW DumpTest before and after"); File f = new File("_ajdump/_before/ataspectj/Test$$EnhancerByCGLIB$$12345.class"); assertTrue(f.exists()); f = new File("_ajdump/ataspectj/Test$$EnhancerByCGLIB$$12345.class"); assertTrue(f....
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java
f.listFiles(cff); assertEquals("Expected dump file in " + f.getAbsolutePath(),1,cff.getCount()); f = new File(dir,"_ajdump"); System.out.println("AtAjLTWTests.testLTWDumpProxy() f=" + f.getAbsolutePath()); cff = new CountingFilenameFilter(); f.listFiles(cff); assertEquals...
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java
runTest("LTW Unweavable"); } public void testLTWDecp() { runTest("LTW Decp"); } public void testLTWDecp2() { runTest("LTW Decp2"); } public void testCompileTimeAspectsDeclaredToLTWWeaver() { runTest("Compile time aspects declared to ltw weaver"); } public void tes...
120,363
Bug 120363 LTW weaver include and exclude does not behave correctly
null
resolved fixed
9edb4b6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T15:42:19Z
2005-12-12T15:06:40Z
tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java
private int count; public boolean accept(File dir, String name) { if (name.endsWith(".class")) count++; return false; } public int getCount() { return count; } } }
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
/* ******************************************************************* * Copyright (c) 2002,2005 Contributors * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Common Public License v1.0 * which accompanies this distribution and is available at * ...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
import org.aspectj.apache.bcel.classfile.GenericSignatureParser; import org.aspectj.apache.bcel.classfile.Signature; import org.aspectj.apache.bcel.classfile.Signature.ClassSignature; /** * A UnresolvedType represents a type to the weaver. It has a basic signature that knows * nothing about type variables, type para...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
* * following the Generic signature grammar in the JVM spec., but with the * addition of the ClassSignature (which is not in the generic signature). In addition * type variable names are replaced by a simple number which represents their * declaration order in the type declaration. * * e.g. public class Foo<T e...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
* List has signature: * * <1:>Ljava/util/List;Ljava/lang/Object; * * and the erasure signature * * Ljava/util/List; * * Generics wildcards introduce their own special signatures for type parameters. * The wildcard ? has signature * * The wildcard ? extends Foo has signature +LFoo; * The wildcard ? super ...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
public static final UnresolvedType SUPPRESS_AJ_WARNINGS = forSignature("Lorg/aspectj/lang/annotation/SuppressAjWarnings;"); public static final UnresolvedType AT_TARGET = forSignature("Ljava/lang/annotation/Target;"); public static final UnresolvedType SOMETHING = new UnresolvedType("?"); public sta...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
private UnresolvedType upperBound; /** * Iff isGenericWildcard, then this is the lower bound type for ? super Foo */ private UnresolvedType lowerBound; /** * for wildcards '? extends' or for type variables 'T extends' */ private boolean isSuper = false; private boolean isExtends = false; /** ...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
public boolean isSimpleType() { return typeKind == TypeKind.SIMPLE; } public boolean isRawType() { return typeKind == TypeKind.RAW; } public boolean isGenericType() { return typeKind == TypeKind.GENERIC; } public boolean isParameterizedType() { return typeKind == T...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
* Return a version of this parameterized type in which any type parameters * that are type variable references are replaced by their matching type variable * binding. */ public UnresolvedType parameterize(Map typeBindings) { throw new UnsupportedOperationException("resolve this type first"); ...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
protected UnresolvedType(String signature) { super(); this.signature = signature; this.signatureErasure = signature; if (signature.charAt(0)=='-') isSuper = true; if (signature.charAt(0)=='+') isExtends = true; } protected UnresolvedType(String signature, String si...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
} public static UnresolvedType makeArray(UnresolvedType base, int dims) { StringBuffer sig = new StringBuffer(); for (int i=0; i < dims; i++) sig.append("["); sig.append(base.getSignature()); return UnresolvedType.forSignature(sig.toString()); } /** * NOTE: Use forSignature() i...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
/** Constructs a UnresolvedType for each java language type name in an incoming array. * * @param names an array of java language type names. * @return an array of UnresolvedType objects. * @see #forName(String) */ public static UnresolvedType[] forNames(String[] names) { Unresolve...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
Signature.FormalTypeParameter[] ftps = csig.formalTypeParameters; ret.typeVariables = new TypeVariable[ftps.length]; for (int i = 0; i < ftps.length; i++) { Signature.FormalTypeParameter parameter = ftps[i]; Signature.ClassTypeSignature cts = (Signature.ClassTypeSignature)parameter.classBound; ret.ty...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
* * @param types the left hand side of the new array * @param end the right hand side of the new array */ public static UnresolvedType[] add(UnresolvedType[] types, UnresolvedType end) { int len = types.length; UnresolvedType[] ret = new UnresolvedType[len + 1]; System.arraycopy(types, 0, ret, 0, len);...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
* UnresolvedType.forSignature("[Ljava/lang/Thread;") * UnresolvedType.forSignature("I"); * </pre></blockquote> * * Types may equivalently be produced by this or by {@link #forName(String)}. * * <blockquote><pre> * UnresolvedType.forName("java.lang.Thread[]").equals(Type.forSign...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
case '?' : return TypeFactory.createTypeFromSignature(signature); case 'T' : return TypeFactory.createTypeFromSignature(signature); default: throw new BCException("Bad type signature " + signature); } } /** Constructs a UnresolvedType for each JVM bytecode type signat...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
String name = getRawName(); int lastDot = name.lastIndexOf('.'); if (lastDot != -1) { name = name.substring(lastDot+1); } if (isParameterizedType()) { StringBuffer sb = new StringBuffer(name); sb.append("<"); for (int i = 0; i < (typeParameters.length -1); i++) { sb.appen...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
} } public String getSimpleBaseName() { String name = getBaseName(); int lastDot = name.lastIndexOf('.'); if (lastDot != -1) { name = name.substring(lastDot+1); } return name; } /** * Returns an array of strings representing the java langauge names of * an array of t...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
* * <blockquote><pre> * UnresolvedType.forSignature(t.getSignature()).equals(t) * </pre></blockquote> * * and for all String s where s is a lexically valid JVM type signature string: * * <blockquote><pre> * UnresolvedType.forSignature(s).getSignature().equals(s) * </pre...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
/** * Get the upper bound for a generic wildcard */ public UnresolvedType getUpperBound() { return upperBound; } /** * Get the lower bound for a generic wildcard */ public UnresolvedType getLowerBound() { return lowerBound; } /** * Set the upper bound for a generic wildcard */ public void set...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
* Returns a UnresolvedType object representing the effective outermost enclosing type * for a name type. For all other types, this will return the type itself. * * The only guarantee is given in JLS 13.1 where code generated according to * those rules will have type names that can be split apart i...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
/** * Returns a java language string representation of this type. */ public String toString() { return getName(); } public String toDebugString() { return getName(); } /** * Returns a resolved version of this type according to a particular world. * * @...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
case 'L': String name = signature.substring(1, signature.length() - 1).replace('/', '.'); return name; case 'T': StringBuffer nameBuff2 = new StringBuffer(); int colon = signature.indexOf(";"); String tvarName = signature.substring(1,colon); na...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
if (signature.charAt(i+1) != '>') nameBuff.append(','); innerBuff = new StringBuffer(); } } nameBuff.append(">"); break; case ';' : break; default: nameBuff.append(c); } } return nameBuff.toString(); case 'S': return "short"; ...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
if (name.equals("double")) return "D"; if (name.equals("float")) return "F"; if (name.equals("int")) return "I"; if (name.equals("long")) return "J"; if (name.equals("short")) return "S"; if (name.equals("boolean")) return "Z"; if (name.equals("void")) return "V"; ...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
nestLevel++; StringBuffer innerBuff = new StringBuffer(); while(nestLevel > 0) { c = name.charAt(++i); if (c == '<') nestLevel++; if (c == '>') nestLevel--; if (c == ',' && nestLevel == 1) { nameBuff.append(nameToSignature(innerBuff.toString())); innerBuff = new S...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
public void write(DataOutputStream s) throws IOException { s.writeUTF(getSignature()); } public static UnresolvedType read(DataInputStream s) throws IOException { String sig = s.readUTF(); if (sig.equals(MISSING_NAME)) { return ResolvedType.MISSING; } else { UnresolvedType ret = UnresolvedType.forSign...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
} public String getNameAsIdentifier() { return getName().replace('.', '_'); } public String getPackageNameAsIdentifier() { String name = getName(); int index = name.lastIndexOf('.'); if (index == -1) { return ""; } else { return name.substring(0, index).replace('.', '_'); } } public String ge...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
/** * Doesn't include the package */ public String getClassName() { String name = getName(); int index = name.lastIndexOf('.'); if (index == -1) { return name; } else { return name.substring(index+1); } } public TypeVariable[] getTypeVariables() { return typeVariables; } public static cla...
120,401
Bug 120401 add signature to UnresolvedType.parameterize(..) exception
I keep getting UnresolvedType UnsupportedOperationException unhelpful message "resolve this type first," so I'm adding the signature to the message (without permission, hence the bug as notice). throw new UnsupportedOperationException("unable to parameterize unresolved type: " + signature); ----------------------------...
resolved fixed
3ac4627
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-12T17:13:35Z
2005-12-12T17:53:20Z
weaver/src/org/aspectj/weaver/UnresolvedType.java
return type; } private TypeKind(String type) { this.type = type; } private final String type; } /** * Will return true if the type being represented is parameterized with a type variable * from a generic method/ctor rather than a type variable from a generic type. * Only subclasses know the an...
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
/******************************************************************************* * Copyright (c) 2004 IBM * All rights reserved. This program and the accompanying materials
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
* are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html * * Contributors: * Andy Clement - initial API and implementation ***********************************************************************...
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
return XMLBasedAjcTestCase.loadSuite(Ajc150Tests.class); } protected File getSpecFile() { return new File("../tests/src/org/aspectj/systemtest/ajc150/ajc150.xml"); } public void testDollarClasses_pr120474() { runTest("Dollar classes");} public void testGenericPTW_pr119539_1() { runTest("generic pertypewit...
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testITDCtor_pr112783() { runTest("Problem with constructor ITDs");} public void testAnnotatedITDFs_pr114005_1() { runTest("Annotated ITDFs - 1");} public void testAnnotatedITDFs_pr114005_2() { runTest("Annotated ITDFs - 2");} public void testCantCallSuperMethods_pr90143()...
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testIncompatibleClassChangeError_pr113630_1() {runTest("IncompatibleClassChangeError - errorscenario");} public void testIncompatibleClassChangeError_pr113630_2() {runTest("IncompatibleClassChangeError - workingscenario");} public void testFieldGetProblemWithGenericField_pr113861() {runTest("field-ge...
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
runTest("method called around in aspect"); } public void test_ambiguousBindingsDetection() { runTest("Various kinds of ambiguous bindings"); } public void test_ambiguousArgsDetection() { runTest("ambiguous args"); } public void testIncorrectExceptionTableWhenBreakInMethod_pr78021() { runTe...
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} public void testCanOverrideProtectedMethodsViaITDandDecp_pr83303() { runTest("compiler error when mixing inheritance, overriding and polymorphism"); } public void testPerTypeWithin_pr106554() {runTest("Problem in staticinitialization with pertypewithin aspect");} public void testPerTypeWithinMisse...
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AsmManager.dumptree(pw,AsmManager.getDefault().getHierarchy().getRoot(),0); pw.flush(); String tree = baos.toString(); assertTrue("Expected 'Red [enumvalue]' somewhere in here:"+tree,tree.indexOf("Red [enumvalue]")!=-1); } } public void npeOnTypeNotFound() { runTest("structure model npe on typ...
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testIntroSample() { runTest("introduction sample"); } public void testPTWInterface() { runTest("pertypewithin({interface}) illegal field modifier"); } public void testEnumCalledEnumEtc() { runTest("enum called Enum, annotation called Annotation, etc"); } public void testInterna...
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testGenerics_pr99089() {runTest("ArrayIndexOutOfBoundsException - Generics in privileged aspects");} public void testGenerics_pr95993() {runTest("NPE at ClassScope.java:660 when compiling generic class");} public void testItdGenerics_pr99228() {runTest("ITD of a field into a generic class");} publ...
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
runTest("parser crashes on call(void (@a *)(..)"); } public void testIntermediateAnnotationMatching() { runTest("intermediate annotation matching"); } public void testBadRuntimeTestGeneration() { runTest("target(@Foo *)"); } public void testErrorMessageOnITDWithTypePatterns() { runTest("cl...
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testPointcutOverriding() { runTest("overriding final pointcut from super-aspect"); } public void testAtSuppressWarnings() { runTest("@SuppressWarnings should suppress"); } public void testDEOWWithBindingPointcut() { runTest("declare warning : foo(str) : ...;"); } public void te...
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} public void testPrivilegedMethodAccessorsGetRightExceptions_pr82989() { runTest("Compiler error due to a wrong exception check in try blocks"); } public void testAnonymousInnerClassWithMethodReturningTypeParameter_pr107898() { runTest("anonymous inner class with method returning type parameter"); ...
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testAtAfterThrowingWithNoFormal() { runTest("@AfterThrowing with no formal specified"); } public void testParameterizedVarArgsMatch() { runTest("varargs with type variable"); } public void testFieldAccessInsideITDM() { runTest("itd field access inside itd method"); } public void t...
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testInlinedFieldAccessInProceedCall() { runTest("inlined field access in proceed call"); } public void testVisibiltyInSignatureMatchingWithOverridesPart1() { runTest("visibility in signature matching with overrides - 1"); } public void testVisibiltyInSignatureMatchingWithOverridesPart2() { ...
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testOverrideAndCovarianceWithDecPRuntime() { runTest("override and covariance with decp - runtime"); } public void testOverrideAndCovarianceWithDecPRuntimeMultiFiles() { runTest("override and covariance with decp - runtime separate files"); } public void testOverrideAndCovarianceWithDecPRun...
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} public void testPrivatePointcutOverriding() { runTest("can't override private pointcut in abstract aspect"); } public void testAdviceOnCflow() { runTest("advising cflow advice execution"); } public void testNoTypeMismatchOnSameGenericTypes() { runTest("no type mismatch on generic types in itd...
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} public void testCantFindTypeErrorWithGenericReturnTypeOrParameter() { runTest("cant find type error with generic return type or parameter"); } public void testNoVerifyErrorOnGenericCollectionMemberAccess() { runTest("no verify error on generic collection member access"); } public void testRawAnd...
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testCantProvideDefaultImplViaITD_pr110307_1() {runTest("Cant provide default implementation via ITD - 1");} public void testCantProvideDefaultImplViaITD_pr110307_2() {runTest("Cant provide default implementation via ITD - 2");} public void testCantProvideDefaultImplViaITD_pr110307_3() {runTest("Cant pro...
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testAdviceInStructureModelWithAnonymousInnerClass_pr77269() { runTest("advice in structure model with anonymous inner class"); IHierarchy top = AsmManager.getDefault().getHierarchy(); IProgramElement anonRunMethodIPE = top.findElementForLabel(top.getRoot(), ...
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
IRelationship element = (IRelationship) iter.next(); if (element.getName().equals("advises")) { rel = (Relationship) element; break; } } targets = rel.getTargets(); assertTrue("Should have one target but has" + targets.size(), targets.size()==1); target = AsmManager.getDefault().getHi...
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
assertTrue("Should have one target but has" + targets.size(), targets.size()==1); IProgramElement target = AsmManager.getDefault().getHierarchy().findElementForHandle((String)targets.get(0)); assertEquals("target of relationship should be 'before(): p..' but is " + target.toLabelString(),"before...
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
runTest("declare warning in structure model with anonymous inner class"); IHierarchy top = AsmManager.getDefault().getHierarchy(); IProgramElement pe = top.findElementForLabel(top.getRoot(), IProgramElement.Kind.CODE,"method-call(void pack.Test.someMethod())"); assertNotNull("Couldn't find...
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testAssertWithinPointcutExpression() { runTest("pointcut expression containing 'assert'"); } public void testNoVerifyErrorWithTwoThisPCDs_pr113447() { runTest("no verify error with two this pcds"); } public void testNoVerifyErrorWithTwoAtThisPCDs_pr113447() { runTest("no verify error wit...
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} public void testNoStackOverflowWithCircularPCDInGenericAspect2() { runTest("no StackOverflowError with circular pcd in generic aspect - 2"); } public void testNPEInThisJoinPointStaticPart() { runTest("thisJoinPointStaticPart in if test"); } public void testPointcutParsingOfCompiledPointcuts() { ...
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testParameterizedPointcutAndAdvice() { runTest("parameterized pointcut and advice"); } public void testDoublyParameterizedAbstractType() { runTest("double parameter generic abstract type"); } public void testArgNamesInAdviceAnnotations() { runTest("arg names in advice annotations"); ...
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
IHierarchy top = AsmManager.getDefault().getHierarchy(); IProgramElement pe = top.findElementForLabel(top.getRoot(), IProgramElement.Kind.DECLARE_ANNOTATION_AT_TYPE,"declare @type: Simple : @I"); assertNotNull("Couldn't find 'declare @type: Simple : @I' element in the tree",pe); List l = Asm...
120,521
Bug 120521 named pointcut not resolved in pertarget pointcut
Get incorrect error "can't find pointcut ..." when declaring pertarget pointcut using pointcut declared outside the aspect. True of HEAD right now. Not true of pointcuts declared inside the aspect or issingleton aspects. I thought this was reported and fixed, but I couldn't find the bug. Sorry if it is a duplicate. ---...
resolved fixed
ae500c6
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T09:25:38Z
2005-12-13T07:46:40Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} public void testIllegalAccessErrorWithAroundAdviceLTW_pr119657() { runTest("IllegalAccessError with around advice on interface method call using LTW"); } public void testIllegalAccessErrorWithAroundAdviceNotSelfLTW_pr119657() { runTest("IllegalAccessError with around advice on interface method call ...
120,543
Bug 120543 Issue version message during load-time weaving
It would be very useful to know exactly which version of the weaver is being used for LTW. An informational message could be issued when each WeavingAdaptor instance is created (it is possible to have multiple versions of AspectJ in a system). This message could be similar to the that issued by "ajc -version".
resolved fixed
9d32b76
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T14:03:53Z
2005-12-13T10:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
/* ******************************************************************* * Copyright (c) 2004 IBM Corporation * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Common Public License v1.0 * which accompanies this distribution and is available at * ht...
120,543
Bug 120543 Issue version message during load-time weaving
It would be very useful to know exactly which version of the weaver is being used for LTW. An informational message could be issued when each WeavingAdaptor instance is created (it is possible to have multiple versions of AspectJ in a system). This message could be similar to the that issued by "ajc -version".
resolved fixed
9d32b76
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T14:03:53Z
2005-12-13T10:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
import java.util.StringTokenizer; import org.aspectj.bridge.AbortException; import org.aspectj.bridge.IMessage; import org.aspectj.bridge.IMessageHandler; import org.aspectj.bridge.Message; import org.aspectj.bridge.MessageUtil; import org.aspectj.bridge.MessageWriter; import org.aspectj.bridge.IMessage.Kind; import or...
120,543
Bug 120543 Issue version message during load-time weaving
It would be very useful to know exactly which version of the weaver is being used for LTW. An informational message could be issued when each WeavingAdaptor instance is created (it is possible to have multiple versions of AspectJ in a system). This message could be similar to the that issued by "ajc -version".
resolved fixed
9d32b76
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T14:03:53Z
2005-12-13T10:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
/** * System property used to turn on verbose weaving messages */ public static final String WEAVING_ADAPTOR_VERBOSE = "aj.weaving.verbose"; public static final String SHOW_WEAVE_INFO_PROPERTY = "org.aspectj.weaver.showWeaveInfo"; protected boolean enabled = true; protected boolean verbose = getVerbose(); p...
120,543
Bug 120543 Issue version message during load-time weaving
It would be very useful to know exactly which version of the weaver is being used for LTW. An informational message could be issued when each WeavingAdaptor instance is created (it is possible to have multiple versions of AspectJ in a system). This message could be similar to the that issued by "ajc -version".
resolved fixed
9d32b76
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T14:03:53Z
2005-12-13T10:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
* instances to determine the set of aspects to be used ofr weaving. * @param loader instance of <code>ClassLoader</code> */ public WeavingAdaptor (WeavingClassLoader loader) { generatedClassHandler = loader; init(getFullClassPath((ClassLoader)loader),getFullAspectPath((ClassLoader)loader)); } /** * Con...
120,543
Bug 120543 Issue version message during load-time weaving
It would be very useful to know exactly which version of the weaver is being used for LTW. An informational message could be issued when each WeavingAdaptor instance is created (it is possible to have multiple versions of AspectJ in a system). This message could be similar to the that issued by "ajc -version".
resolved fixed
9d32b76
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T14:03:53Z
2005-12-13T10:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
warn("cannot determine classpath"); } } list.addAll(0,makeClasspath(System.getProperty("sun.boot.class.path"))); return list; } private List getFullAspectPath (ClassLoader loader) { List list = new LinkedList(); for (; loader != null; loader = loader.getParent()) { if (loader instanceof WeavingClas...
120,543
Bug 120543 Issue version message during load-time weaving
It would be very useful to know exactly which version of the weaver is being used for LTW. An informational message could be issued when each WeavingAdaptor instance is created (it is possible to have multiple versions of AspectJ in a system). This message could be similar to the that issued by "ajc -version".
resolved fixed
9d32b76
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T14:03:53Z
2005-12-13T10:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
bcelWorld.getLint().loadDefaultProperties(); if (LangUtil.is15VMOrGreater()) { bcelWorld.setBehaveInJava5Way(true); } weaver = new BcelWeaver(bcelWorld); registerAspectLibraries(aspectPath); } private void createMessageHandler() { messageHandler = new WeavingAdaptorMessageHandler(new PrintWriter(System.e...
120,543
Bug 120543 Issue version message during load-time weaving
It would be very useful to know exactly which version of the weaver is being used for LTW. An informational message could be issued when each WeavingAdaptor instance is created (it is possible to have multiple versions of AspectJ in a system). This message could be similar to the that issued by "ajc -version".
resolved fixed
9d32b76
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T14:03:53Z
2005-12-13T10:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
* @return the woven bytes * @exception IOException weave failed */ public byte[] weaveClass (String name, byte[] bytes) throws IOException { if (enabled) { if (shouldWeave(name, bytes)) { info("weaving '" + name + "'"); bytes = getWovenBytes(name, bytes); } else if (shouldWeaveAnnotationStyleAsp...
120,543
Bug 120543 Issue version message during load-time weaving
It would be very useful to know exactly which version of the weaver is being used for LTW. An informational message could be issued when each WeavingAdaptor instance is created (it is possible to have multiple versions of AspectJ in a system). This message could be similar to the that issued by "ajc -version".
resolved fixed
9d32b76
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T14:03:53Z
2005-12-13T10:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
return false; } private boolean shouldWeaveName (String name) { return !((/*(name.startsWith("org.apache.bcel.")//FIXME AV why ? bcel is wrapped in org.aspectj. ||*/ name.startsWith("org.aspectj.") || name.startsWith("java.") || name.startsWith("javax.")) ...
120,543
Bug 120543 Issue version message during load-time weaving
It would be very useful to know exactly which version of the weaver is being used for LTW. An informational message could be issued when each WeavingAdaptor instance is created (it is possible to have multiple versions of AspectJ in a system). This message could be similar to the that issued by "ajc -version".
resolved fixed
9d32b76
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T14:03:53Z
2005-12-13T10:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
private byte[] getWovenBytes(String name, byte[] bytes) throws IOException { WeavingClassFileProvider wcp = new WeavingClassFileProvider(name,bytes); weaver.weave(wcp); return wcp.getBytes(); } /** * Weave a set of bytes defining a class for only what is needed to turn @AspectJ aspect * in a usef...
120,543
Bug 120543 Issue version message during load-time weaving
It would be very useful to know exactly which version of the weaver is being used for LTW. An informational message could be issued when each WeavingAdaptor instance is created (it is possible to have multiple versions of AspectJ in a system). This message could be similar to the that issued by "ajc -version".
resolved fixed
9d32b76
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-12-13T14:03:53Z
2005-12-13T10:33:20Z
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
* classes in the library in response to a <code>findClass()</code> request. * The library is not required to be on the weavingClasspath given when this * classloader was constructed. * @param aspectLibraryJarFile a jar file representing an aspect library * @throws IOException */ private void addAspectLibrar...