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
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
resolved fixed
522911e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-19T17:08:48Z
2005-11-17T01:13:20Z
weaver/testsrc/org/aspectj/weaver/tools/PointcutParserTest.java
q.add(PointcutPrimitive.ARGS); parser = new PointcutParser(q); assertEquals("Should have only one element in set",1,parser.getSupportedPrimitives().size()); assertEquals("Should only have ARGS pcd",PointcutPrimitive.ARGS, parser.getSupportedPrimitives().iterator().next()); } public void testParsePointcutE...
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
resolved fixed
522911e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-19T17:08:48Z
2005-11-17T01:13:20Z
weaver/testsrc/org/aspectj/weaver/tools/PointcutParserTest.java
fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException ex) { assertTrue("Pointcut is not well-formed message",ex.getMessage().startsWith("Pointcut is not well-formed: expecting ')' at character position 24")); } } public void testParseIfPCD() { PointcutParser p = new PointcutParser(...
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
resolved fixed
522911e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-19T17:08:48Z
2005-11-17T01:13:20Z
weaver/testsrc/org/aspectj/weaver/tools/PointcutParserTest.java
} public void testParseReferencePCDs() { Set pcKinds = PointcutParser.getAllSupportedPointcutPrimitives(); pcKinds.remove(PointcutPrimitive.REFERENCE); PointcutParser p = new PointcutParser(pcKinds); try { p.parsePointcutExpression("bananas(String)"); fail("Expected UnsupportedPointcutPrimitiveExceptio...
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
resolved fixed
522911e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-19T17:08:48Z
2005-11-17T01:13:20Z
weaver/testsrc/org/aspectj/weaver/tools/PointcutParserTest.java
fail("Expected UnsupportedPointcutPrimitiveException"); } catch(UnsupportedPointcutPrimitiveException ex) { assertEquals("Withincode",PointcutPrimitive.WITHIN_CODE,ex.getUnsupportedPrimitive()); } try { p.parsePointcutExpression("handler(Exception)"); fail("Expected UnsupportedPointcutPrimitiveException...
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
resolved fixed
522911e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-19T17:08:48Z
2005-11-17T01:13:20Z
weaver/testsrc/org/aspectj/weaver/tools/PointcutParserTest.java
fail("Expected UnsupportedPointcutPrimitiveException"); } catch(UnsupportedPointcutPrimitiveException ex) { assertEquals("This",PointcutPrimitive.THIS,ex.getUnsupportedPrimitive()); } try { p.parsePointcutExpression("!this(X)"); fail("Expected UnsupportedPointcutPrimitiveException"); } catch(Unsupport...
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
resolved fixed
522911e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-19T17:08:48Z
2005-11-17T01:13:20Z
weaver/testsrc/org/aspectj/weaver/tools/PointcutParserTest.java
fail("Expected UnsupportedPointcutPrimitiveException"); } catch(UnsupportedPointcutPrimitiveException ex) { assertEquals("Set",PointcutPrimitive.SET,ex.getUnsupportedPrimitive()); } try { p.parsePointcutExpression("initialization(new(..))"); fail("Expected UnsupportedPointcutPrimitiveException"); } ca...
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
resolved fixed
522911e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-19T17:08:48Z
2005-11-17T01:13:20Z
weaver/testsrc/org/aspectj/weaver/tools/PointcutParserTest.java
try { pc = parser.parsePointcutExpression("args(String)", null, new PointcutParameter[] {param} ); fail("Expecting IllegalArgumentException"); } catch (IllegalArgumentException ex) { assertTrue("formal unbound",ex.getMessage().indexOf("formal unbound") != -1); } try { pc = parser.parsePointcutExpre...
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
resolved fixed
522911e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-19T17:08:48Z
2005-11-17T01:13:20Z
weaver/testsrc/org/aspectj/weaver/tools/ToolsTests.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 * h...
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
resolved fixed
522911e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-19T17:08:48Z
2005-11-17T01:13:20Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15AnnotationFinder.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 * htt...
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
resolved fixed
522911e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-19T17:08:48Z
2005-11-17T01:13:20Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15AnnotationFinder.java
* Find the given annotation (if present) on the given object * */ public class Java15AnnotationFinder implements AnnotationFinder { private Repository bcelRepository; public Java15AnnotationFinder() { this.bcelRepository = new ClassLoaderRepository(getClass().getClassLoader()); } /* (non-Javadoc) * @see o...
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
resolved fixed
522911e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-19T17:08:48Z
2005-11-17T01:13:20Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15AnnotationFinder.java
} catch (ClassNotFoundException ex) { } return null; } public Object getAnnotationFromMember(ResolvedType annotationType, Member aMember) { if (!(aMember instanceof AccessibleObject)) return null; AccessibleObject ao = (AccessibleObject) aMember; try { Class annotationClass = Class.forName(annotati...
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
resolved fixed
522911e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-19T17:08:48Z
2005-11-17T01:13:20Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15AnnotationFinder.java
anns = bcelMethod.getAnnotations(); } else if (onMember instanceof Constructor) { org.aspectj.apache.bcel.classfile.Method bcelCons = jc.getMethod((Constructor)onMember); anns = bcelCons.getAnnotations(); } else if (onMember instanceof Field) { org.aspectj.apache.bcel.classfile.Field bcelField = jc.ge...
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
resolved fixed
522911e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-19T17:08:48Z
2005-11-17T01:13:20Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15AnnotationFinder.java
public ResolvedType[] getAnnotations(Class forClass, World inWorld) { try { JavaClass jc = bcelRepository.loadClass(forClass); org.aspectj.apache.bcel.classfile.annotation.Annotation[] anns =jc.getAnnotations(); bcelRepository.clear(); if (anns == null) return new ResolvedType[0]; ResolvedType...
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
resolved fixed
522911e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-19T17:08:48Z
2005-11-17T01:13:20Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.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 * htt...
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
resolved fixed
522911e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-19T17:08:48Z
2005-11-17T01:13:20Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
import java.lang.reflect.Field; import java.lang.reflect.GenericArrayType; import java.lang.reflect.Method; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.lang.reflect.WildcardType; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.reflect.AjType; import org.aspe...
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
resolved fixed
522911e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-19T17:08:48Z
2005-11-17T01:13:20Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
ReflectionBasedReferenceTypeDelegate { private AjType myType; private ResolvedType[] annotations; private ResolvedMember[] pointcuts; private ResolvedMember[] methods; private ResolvedMember[] fields; private TypeVariable[] typeVariables; private ResolvedType superclass; private ResolvedType[] superInterfaces...
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
resolved fixed
522911e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-19T17:08:48Z
2005-11-17T01:13:20Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
public ReferenceType buildGenericType() { return (ReferenceType) UnresolvedType.forGenericTypeVariables( getResolvedTypeX().getSignature(), getTypeVariables()).resolve(getWorld()); } public AnnotationX[] getAnnotations() { throw new UnsupportedOperationException("getAnnotations on Ja...
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
resolved fixed
522911e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-19T17:08:48Z
2005-11-17T01:13:20Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
if (fields == null) { Field[] reflectFields = this.myType.getDeclaredFields(); this.fields = new ResolvedMember[reflectFields.length]; for (int i = 0; i < reflectFields.length; i++) { this.fields[i] = createGenericFieldMember(reflectFields[i]); } } return fields; } public String getDeclaredGener...
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
resolved fixed
522911e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-19T17:08:48Z
2005-11-17T01:13:20Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
public TypeVariable[] getTypeVariables() { if (this.typeVariables == null) { java.lang.reflect.TypeVariable[] tVars = this.getBaseClass().getTypeParameters(); this.typeVariables = new TypeVariable[tVars.length]; for (int i = 0; i < tVars.length; i++) { this.typeVariables[i] = ((TypeVariableReferenceType)...
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
resolved fixed
522911e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-19T17:08:48Z
2005-11-17T01:13:20Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
ReflectionBasedResolvedMemberImpl ret = new ReflectionBasedResolvedMemberImpl(org.aspectj.weaver.Member.METHOD, getResolvedTypeX(), forMethod.getModifiers(), fromType(forMethod.getGenericReturnType()), forMethod.getName(), fromTypes(forMethod.getGenericParameterTypes()), fromTypes(forMethod.getGene...
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
resolved fixed
522911e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-19T17:08:48Z
2005-11-17T01:13:20Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
forField.getModifiers(), fromType(forField.getGenericType()), forField.getName(), new UnresolvedType[0], forField); } public ResolvedMember[] getDeclaredPointcuts() { if (pointcuts == null) { Pointcut[] pcs = this.myType.getDeclaredPointcuts(); pointcuts = new ResolvedMember[pcs.length]; Po...
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
resolved fixed
522911e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-19T17:08:48Z
2005-11-17T01:13:20Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
} return pointcuts; } public boolean isAnnotation() { return getBaseClass().isAnnotation(); } public boolean isAnnotationStyleAspect() { return getBaseClass().isAnnotationPresent(Aspect.class); } public boolean isAnnotationWithRuntimeRetention() { if (!isAnnotation()) return false; if (getBaseClas...
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
resolved fixed
522911e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-19T17:08:48Z
2005-11-17T01:13:20Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
public boolean isGeneric() { return getBaseClass().getTypeParameters().length > 0; } private ResolvedType fromType(Type aType) { if (aType instanceof Class) { return getWorld().resolve(((Class)aType).getName()); } else if (aType instanceof ParameterizedType) { ParameterizedType pt = (ParameterizedTyp...
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
resolved fixed
522911e
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-19T17:08:48Z
2005-11-17T01:13:20Z
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java
Type[] upperBounds = wildType.getUpperBounds(); ResolvedType bound = null; boolean isExtends = lowerBounds.length == 0; if (isExtends) { bound = fromType(upperBounds[0]); } else { bound = fromType(lowerBounds[0]); } return new BoundedReferenceType((ReferenceType)bound,isExtends,getWorld()); ...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceLocation.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 Common Public License v1.0 * which accompanies this distrib...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceLocation.java
private static String NO_CONTEXT = "USE_NULL--NO_CONTEXT_AVAILABLE"; CompilationResult result; int startPos, endPos; File file; int startLine = -1; int endLine = -1; int column = -1; String context; public EclipseSourceLocation(CompilationResult result, int startPos, int endPos) { su...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceLocation.java
} public CompilationResult getCompilationResult() { return result; } public int getOffset() { return startPos; } public int getStartPos() { return startPos; } public int getEndPos() { return endPos; } public File getSourceFile() { if (null == file) { if ((null == result) ...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceLocation.java
if (-1 == startLine) { startLine = ProblemHandler.searchLineNumber(result.lineSeparatorPositions, startPos); } return startLine; } public int getColumn() { if (-1 == column) { int lineNumber = getLine(); if (0 < lineNumber && lineNumber < result...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceLocation.java
ICompilationUnit compilationUnit = result.compilationUnit; IProblem[] problems = result.problems; if ((null == compilationUnit) || (null == problems) || (1 != problems.length)) { context = NO_CONTEXT; } else { context = EclipseAdapterU...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
/******************************************************************************* * Copyright (c) 2004 IBM * 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 * http://ww...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
import java.io.IOException; import java.io.PrintWriter; import java.util.Iterator; import java.util.List; import junit.framework.Test; import org.aspectj.apache.bcel.classfile.JavaClass; import org.aspectj.apache.bcel.classfile.Method; import org.aspectj.apache.bcel.classfile.Signature; import org.aspectj.apache.bcel.u...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
*/ public void testGenericAspects_pr115237() { runTest("aspectOf and generic aspects");} public void testClassFormatError_pr114436() { runTest("ClassFormatError binary weaving perthis");} public void testParserException_pr115788() { runTest("parser exception");} public void testPossibleStaticImports_pr113066...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
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...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} public void test_ambiguousBindingsDetection() { runTest("Various kinds of ambiguous bindings"); } public void test_ambiguousArgsDetection() { runTest("ambiguous args"); } public void testIncorrectExceptionTableWhenBreakInMethod_pr78021() { runTest("Injecting exception into while loop with ...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
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...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
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 type not found"); } public void testNoRuntimeExceptionSoftening() { runTes...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
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...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
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...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
} public void testIntermediateAnnotationMatching() { runTest("intermediate annotation matching"); } public void testBadRuntimeTestGeneration() { runTest("target(@Foo *)"); } public void testErrorMessageOnITDWithTypePatterns() { runTest("clear error message on itd with type pattern"); } ...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
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...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
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"); } ...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
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 testTypeVarWithTypeVarBound() { runTest("type var...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
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() { ...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
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...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
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 itds"); ...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
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 testRawAndGeneric...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testCantProvideDefaultImplViaITD_pr110307_2() {runTest("Cant provide default implementation via ITD - 2");} public void testCantProvideDefaultImplViaITD_pr110307_3() {runTest("Cant provide default implementation via ITD - 3");} public void testCantProvideDefaultImplViaITD_pr110307_4() {runTest("Cant pro...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
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(), ...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
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().getHierarchy().findElementForHandle((String)targets.get(0));...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
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(): p..",target.toLabelString()); IProgramElement adviceIP...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
IHierarchy top = AsmManager.getDefault().getHierarchy(); IProgramElement pe = top.findElementForLabel(top.getRoot(), IProgramElement.Kind.CODE,"method-call(void pack.Test.someMethod())"); assertNotNull("Couldn't find 'method-call(void pack.Test.someMethod())' element in the tree",pe); } pu...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
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...
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
resolved fixed
9ed75a1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T16:33:56Z
2005-11-09T09:53:20Z
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
public void testNoStackOverflowWithCircularPCDInGenericAspect2() { runTest("no StackOverflowError with circular pcd in generic aspect - 2"); } /* * Load-time weaving bugs */ public void testNPEinWeavingAdaptor_pr116626() { runTest("NPE in WeavingAdaptor");} public void testXlintMessageForImproperAnn...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.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 * htt...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
* * Contributors: * Adrian Colyer Initial implementation * ******************************************************************/ package org.aspectj.internal.lang.reflect; import java.lang.annotation.Annotation; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.Metho...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
import org.aspectj.lang.annotation.DeclareError; import org.aspectj.lang.annotation.DeclareWarning; import org.aspectj.lang.reflect.Advice; import org.aspectj.lang.reflect.AdviceKind; import org.aspectj.lang.reflect.AjType; import org.aspectj.lang.reflect.AjTypeSystem; import org.aspectj.lang.reflect.DeclareAnnotation;...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
private Advice[] declaredAdvice = null; private Advice[] advice = null; private InterTypeMethodDeclaration[] declaredITDMethods = null; private InterTypeMethodDeclaration[] itdMethods = null; private InterTypeFieldDeclaration[] declaredITDFields = null; private InterTypeFieldDeclaration[] itdFields = null; privat...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
} /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getModifiers() */ public int getModifiers() { return clazz.getModifiers(); } public Class<T> getJavaClass() { return clazz; } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getSupertype() */ public AjType<?> getSupertype() { retur...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
* @see org.aspectj.lang.reflect.AjType#getEnclosingConstructor() */ public Constructor getEnclosingConstructor() { return clazz.getEnclosingConstructor(); } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getEnclosingType() */ public AjType<?> getEnclosingType() { Class<?> enc = clazz.getEnclosing...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
return new PointcutBasedPerClauseImpl(PerClauseKind.PERTHIS,perClause.substring("perthis(".length(),perClause.length() - 1)); } else if (perClause.startsWith("pertarget(")) { return new PointcutBasedPerClauseImpl(PerClauseKind.PERTARGET,perClause.substring("pertarget(".length(),perClause.length() - 1)); }...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
return clazz.getAnnotations(); } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getDeclaredAnnotations() */ public Annotation[] getDeclaredAnnotations() { return clazz.getDeclaredAnnotations(); } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getAspects() */ public AjType<?>[] getAjTyp...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
*/ public Constructor[] getConstructors() { return clazz.getConstructors(); } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getDeclaredConstructor(java.lang.Class...) */ public Constructor getDeclaredConstructor(AjType<?>... parameterTypes) throws NoSuchMethodException { return clazz.getDeclaredCo...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
for (Field field : fields) if (!field.getName().startsWith(ajcMagic) && !field.isAnnotationPresent(DeclareWarning.class) && !field.isAnnotationPresent(DeclareError.class)) { filteredFields.add(field); } Field[] ret = new Field[filteredFields.size()]; filteredFields.toArray(ret); return ret; }...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
Field[] ret = new Field[filteredFields.size()]; filteredFields.toArray(ret); return ret; } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getDeclaredMethod(java.lang.String, java.lang.Class...) */ public Method getDeclaredMethod(String name, AjType<?>... parameterTypes) throws NoSuchMethodException ...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
filteredMethods.toArray(ret); return ret; } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getMethods() */ public Method[] getMethods() { Method[] methods = clazz.getMethods(); List<Method> filteredMethods = new ArrayList<Method>(); for (Method method : methods) { if (isReallyAMethod(method))...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
public Pointcut getDeclaredPointcut(String name) throws NoSuchPointcutException { Pointcut[] pcs = getDeclaredPointcuts(); for (Pointcut pc : pcs) if (pc.getName().equals(name)) return pc; throw new NoSuchPointcutException(name); } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getPointcut(java.la...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
} /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getPointcuts() */ public Pointcut[] getPointcuts() { if (pointcuts != null) return pointcuts; List<Pointcut> pcuts = new ArrayList<Pointcut>(); Method[] methods = clazz.getMethods(); for (Method method : methods) { Pointcut pc = asPointcut(metho...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
return null; } } public Advice[] getDeclaredAdvice(AdviceKind... ofType) { Set<AdviceKind> types; if (ofType.length == 0) { types = EnumSet.allOf(AdviceKind.class); } else { types = EnumSet.noneOf(AdviceKind.class); types.addAll(Arrays.asList(ofType)); } return getDeclaredAdvice(types); } ...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
if (declaredAdvice == null) initDeclaredAdvice(); List<Advice> adviceList = new ArrayList<Advice>(); for (Advice a : declaredAdvice) { if (ofAdviceTypes.contains(a.getKind())) adviceList.add(a); } Advice[] ret = new Advice[adviceList.size()]; adviceList.toArray(ret); return ret; } private void initDecl...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
return ret; } private void initAdvice() { Method[] methods = clazz.getMethods(); List<Advice> adviceList = new ArrayList<Advice>(); for (Method method : methods) { Advice advice = asAdvice(method); if (advice != null) adviceList.add(advice); } advice = new Advice[adviceList.size()]; adviceList.toArr...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
private Advice asAdvice(Method method) { if (method.getAnnotations().length == 0) return null; Before beforeAnn = method.getAnnotation(Before.class); if (beforeAnn != null) return new AdviceImpl(method,beforeAnn.value(),AdviceKind.BEFORE); After afterAnn = method.getAnnotation(After.class); if (afterAnn != nu...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
try { if (!itdm.getName().equals(name)) continue; AjType<?> itdTarget = itdm.getTargetType(); if (itdTarget.equals(target)) { AjType<?>[] ptypes = itdm.getParameterTypes(); if (ptypes.length == parameterTypes.length) { for (int i = 0; i < ptypes.length; i++) { if (!ptypes[i].equals(pa...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
InterTypeMethodDeclaration itdm = new InterTypeMethodDeclarationImpl( this,ann.targetType(),ann.modifiers(), ann.name(),m); itdms.add(itdm); } } addAnnotationStyleITDMethods(itdms,false); this.declaredITDMethods = new InterTypeMethodDeclaration[itdms.size()]; itdms.toArra...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
} return itdm; } } } catch (ClassNotFoundException cnf) { } } throw new NoSuchMethodException(name); } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getITDMethods() */ public InterTypeMethodDeclaration[] getITDMethods() { if (this.itdMethods == null) { List<InterTypeM...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
this.itdMethods = new InterTypeMethodDeclaration[itdms.size()]; itdms.toArray(this.itdMethods); } return this.itdMethods; } private void addAnnotationStyleITDMethods(List<InterTypeMethodDeclaration> toList, boolean publicOnly) { if (isAspect()) { for (Field f : clazz.getDeclaredFields()) { ...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
*/ public InterTypeConstructorDeclaration getDeclaredITDConstructor( AjType<?> target, AjType<?>... parameterTypes) throws NoSuchMethodException { InterTypeConstructorDeclaration[] itdcs = getDeclaredITDConstructors(); outer: for (InterTypeConstructorDeclaration itdc : itdcs) { try { AjType<?> itdTarget ...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
for (Method m : baseMethods) { if (!m.getName().contains("ajc$postInterConstructor")) continue; if (m.isAnnotationPresent(ajcITD.class)) { ajcITD ann = m.getAnnotation(ajcITD.class); InterTypeConstructorDeclaration itdc = new InterTypeConstructorDeclarationImpl(this,ann.targetType(),ann.modifie...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
return itdc; } } } catch (ClassNotFoundException cnf) { } } throw new NoSuchMethodException(); } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getITDConstructors() */ public InterTypeConstructorDeclaration[] getITDConstructors() { if (this.itdCons == null) { List<InterTypeC...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
/* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getDeclaredITDField(java.lang.String, java.lang.Class) */ public InterTypeFieldDeclaration getDeclaredITDField(String name, AjType<?> target) throws NoSuchFieldException { InterTypeFieldDeclaration[] itdfs = getDeclaredITDFields(); for (InterTypeFieldD...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
String interFieldGetDispatchMethodName = interFieldInitMethodName.replace("FieldInit","FieldGetDispatch"); try { Method dispatch = clazz.getDeclaredMethod(interFieldGetDispatchMethodName, m.getParameterTypes()); InterTypeFieldDeclaration itdf = new InterTypeFieldDeclarationImpl( this,ann...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
if (itdTarget.equals(target)) return itdf; } catch (ClassNotFoundException cnfEx) { } } } throw new NoSuchFieldException(name); } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getITDFields() */ public InterTypeFieldDeclaration[] getITDFields() { List<InterTypeFieldDeclaratio...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
} catch (NoSuchMethodException nsmEx) { throw new IllegalStateException("Can't find field get dispatch method for " + m.getName()); } } } addAnnotationStyleITDFields(itdfs, true); this.itdFields = new InterTypeFieldDeclaration[itdfs.size()]; itdfs.toArray(this.itdFields); } return this.it...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
deows.add(deow); } } } catch (IllegalArgumentException e) { } catch (IllegalAccessException e) { } } for (Method method : clazz.getDeclaredMethods()) { if (method.isAnnotationPresent(ajcDeclareEoW.class)) { ajcDeclareEoW deowAnn = method.getAnnotation(ajcDeclareEoW.class); ...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
decPAnn.parentTypes(), decPAnn.isExtends(), this ); decps.add(decp); } } addAnnotationStyleDeclareParents(decps); if (getSupertype().isAspect()) { decps.addAll(Arrays.asList(getSupertype().getDeclareParents())); } DeclareParents[] ret = new DeclareParents[decps.size()]; decps.toA...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
if (f.isAnnotationPresent(org.aspectj.lang.annotation.DeclareParents.class) && Modifier.isStatic(f.getModifiers()) && Modifier.isPublic(f.getModifiers())) { if (!f.getType().isInterface()) continue; org.aspectj.lang.annotation.DeclareParents ann = f.getAnn...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
} } if (getSupertype().isAspect()) { decs.addAll(Arrays.asList(getSupertype().getDeclareSofts())); } DeclareSoft[] ret = new DeclareSoft[decs.size()]; decs.toArray(ret); return ret; } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#getDeclareAnnotations() */ public DeclareAnnotation[] getD...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
decAnn.pattern(), targetAnnotation, decAnn.annotation() ); decAs.add(da); } } if (getSupertype().isAspect()) { decAs.addAll(Arrays.asList(getSupertype().getDeclareAnnotations())); } DeclareAnnotation[] ret = new DeclareAnnotation[decAs.size()]; decAs.toArray(ret); return ret; } ...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
for (Method method : clazz.getDeclaredMethods()) { if (method.isAnnotationPresent(ajcDeclarePrecedence.class)) { ajcDeclarePrecedence decPAnn = method.getAnnotation(ajcDeclarePrecedence.class); DeclarePrecedenceImpl decp = new DeclarePrecedenceImpl( decPAnn.value(), this ); decps.add(de...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
} /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#isEnum() */ public boolean isEnum() { return clazz.isEnum(); } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#isInstance(java.lang.Object) */ public boolean isInstance(Object o) { return clazz.isInstance(o); } /* (non-Javadoc) * @se...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
} /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#isArray() */ public boolean isArray() { return clazz.isArray(); } /* (non-Javadoc) * @see org.aspectj.lang.reflect.AjType#isPrimitive() */ public boolean isPrimitive() { return clazz.isPrimitive(); } /* (non-Javadoc) * @see org.aspectj.lang....
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java
public boolean equals(Object obj) { if (!(obj instanceof AjTypeImpl)) return false; AjTypeImpl other = (AjTypeImpl) obj; return other.clazz.equals(clazz); } @Override public int hashCode() { return clazz.hashCode(); } private AjType<?>[] toAjTypeArray(Class<?>[] classes) { AjType<?>[] ajtypes = new A...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/InterTypeConstructorDeclarationImpl.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 * htt...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/InterTypeConstructorDeclarationImpl.java
InterTypeDeclarationImpl implements InterTypeConstructorDeclaration { private Method baseMethod; /** * @param decType * @param target * @param mods */ public InterTypeConstructorDeclarationImpl(AjType<?> decType, String target, int mods, Method baseMethod) { super(decType, target, mods); this.baseMe...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/InterTypeConstructorDeclarationImpl.java
return ret; } /* (non-Javadoc) * @see org.aspectj.lang.reflect.InterTypeConstructorDeclaration#getGenericParameters() */ public Type[] getGenericParameterTypes() { Type[] baseTypes = baseMethod.getGenericParameterTypes(); Type[] ret = new AjType<?>[baseTypes.length-1]; for (int i = 1; i < baseTypes.length;...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/InterTypeDeclarationImpl.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 * htt...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/InterTypeDeclarationImpl.java
private AjType<?> declaringType; private String targetTypeName; private AjType<?> targetType; private int modifiers; public InterTypeDeclarationImpl(AjType<?> decType, String target, int mods) { this.declaringType = decType; this.targetTypeName = target; this.modifiers = mods; try { this.targetType = (...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/InterTypeDeclarationImpl.java
} } public InterTypeDeclarationImpl(AjType<?> decType, AjType<?> targetType, int mods) { this.declaringType = decType; this.targetType = targetType; this.targetTypeName = targetType.getName(); this.modifiers = mods; } /* (non-Javadoc) * @see org.aspectj.lang.reflect.InterTypeDeclaration#getDeclaringType...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/InterTypeFieldDeclarationImpl.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 * htt...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/InterTypeFieldDeclarationImpl.java
implements InterTypeFieldDeclaration { private String name; private AjType<?> type; private Type genericType; /** * @param decType * @param target * @param mods */ public InterTypeFieldDeclarationImpl(AjType<?> decType, String target, int mods, String name, AjType<?> type, Type genericType) { super(...
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
resolved fixed
735d94f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2005-11-21T22:05:46Z
2005-10-31T09:13:20Z
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/InterTypeFieldDeclarationImpl.java
super(decType,targetType,base.getModifiers()); this.name = base.getName(); this.type = AjTypeSystem.getAjType(base.getType()); Type gt = base.getGenericType(); if (gt instanceof Class) { this.genericType = AjTypeSystem.getAjType((Class<?>)gt); } else { this.genericType = gt; } } /* (non-Javadoc) *...