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
171,667
Bug 171667 When ordering a Clean with Build Automatico I receive the error below.
When executing an Clean Project in Eclipse with Automatic Building I receive the error below. line from the top stack, e.g. "SomeFile.jara:243" java.lang.NullPointerException at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOverride(AjProblemReporter.java:380) at org.aspectj.org.eclipse.jdt.int...
resolved fixed
4177bed
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-02-16T10:02:27Z
2007-01-25T15:46:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
if (name.indexOf("interField") != -1) { if ((metaTagBits & TagBits.AnnotationForField) != 0) return; } else if (name.indexOf("interConstructor") != -1) { if ((metaTagBits & TagBits.AnnotationForConstructor) != 0) return; } else if (name.indexOf("interMethod") != -1) { if ((metaTagBits & TagBits....
171,667
Bug 171667 When ordering a Clean with Build Automatico I receive the error below.
When executing an Clean Project in Eclipse with Automatic Building I receive the error below. line from the top stack, e.g. "SomeFile.jara:243" java.lang.NullPointerException at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOverride(AjProblemReporter.java:380) at org.aspectj.org.eclipse.jdt.int...
resolved fixed
4177bed
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-02-16T10:02:27Z
2007-01-25T15:46:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
String[] problemArguments, String[] messageArguments, int severity, int problemStartPosition, int problemEndPosition, ReferenceContext referenceContext, CompilationResult unitResult) { if (severity != Ignore && DUMP_STACK) { Thread.dumpStack(); } super.handle( problemId, problemArguments, ...
171,667
Bug 171667 When ordering a Clean with Build Automatico I receive the error below.
When executing an Clean Project in Eclipse with Automatic Building I receive the error below. line from the top stack, e.g. "SomeFile.jara:243" java.lang.NullPointerException at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOverride(AjProblemReporter.java:380) at org.aspectj.org.eclipse.jdt.int...
resolved fixed
4177bed
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-02-16T10:02:27Z
2007-01-25T15:46:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
if (sName.equals("ajc_aroundClosure")) reportIt = false; if (reportIt) super.javadocMissingParamTag(name,sourceStart,sourceEnd,modifiers); } public void abstractMethodInAbstractClass(SourceTypeBinding type, AbstractMethodDeclaration methodDecl) { String abstractMethodName = new Strin...
171,667
Bug 171667 When ordering a Clean with Build Automatico I receive the error below.
When executing an Clean Project in Eclipse with Automatic Building I receive the error below. line from the top stack, e.g. "SomeFile.jara:243" java.lang.NullPointerException at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOverride(AjProblemReporter.java:380) at org.aspectj.org.eclipse.jdt.int...
resolved fixed
4177bed
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-02-16T10:02:27Z
2007-01-25T15:46:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
IProblem.MethodMustOverride, new String[] {new String(binding.selector), typesAsString(binding.isVarargs(), binding.parameters, false), new String(binding.declaringClass.readableName()), }, new String[] {new String(binding.selector), typesAsString(binding.isVarargs(), binding.parameters, true), new String(bindi...
171,667
Bug 171667 When ordering a Clean with Build Automatico I receive the error below.
When executing an Clean Project in Eclipse with Automatic Building I receive the error below. line from the top stack, e.g. "SomeFile.jara:243" java.lang.NullPointerException at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOverride(AjProblemReporter.java:380) at org.aspectj.org.eclipse.jdt.int...
resolved fixed
4177bed
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-02-16T10:02:27Z
2007-01-25T15:46:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
ResolvedMember rm = AjcMemberMaker.interMethod(sig,m.getAspectType(), sig.getDeclaringType().resolve(factory.getWorld()).isInterface()); if (ResolvedType.matches(rm,possiblyErroneousRm)) { return; } } supertypeToLookAt = supertypeToLookAt.getSuperclass(); } super.method...
171,667
Bug 171667 When ordering a Clean with Build Automatico I receive the error below.
When executing an Clean Project in Eclipse with Automatic Building I receive the error below. line from the top stack, e.g. "SomeFile.jara:243" java.lang.NullPointerException at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOverride(AjProblemReporter.java:380) at org.aspectj.org.eclipse.jdt.int...
resolved fixed
4177bed
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-02-16T10:02:27Z
2007-01-25T15:46:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
if (isIntertypeDeclaration(currentMethod) && isIntertypeDeclaration(inheritedMethod) && Modifier.isPrivate(currentMethod.modifiers) && Modifier.isPrivate(inheritedMethod.modifiers)) { return; } super.visibilityConflict(currentMethod,inheritedMethod); } public void unuse...
171,667
Bug 171667 When ordering a Clean with Build Automatico I receive the error below.
When executing an Clean Project in Eclipse with Automatic Building I receive the error below. line from the top stack, e.g. "SomeFile.jara:243" java.lang.NullPointerException at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOverride(AjProblemReporter.java:380) at org.aspectj.org.eclipse.jdt.int...
resolved fixed
4177bed
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-02-16T10:02:27Z
2007-01-25T15:46:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
} } super.unusedPrivateType(typeDecl); } public void unusedPrivateMethod(AbstractMethodDeclaration methodDecl) { if (!(methodDecl instanceof PointcutDeclaration)) super.unusedPrivateMethod(methodDecl); } public void caseExpressionMustBeConstant(Expression expression) { ...
171,667
Bug 171667 When ordering a Clean with Build Automatico I receive the error below.
When executing an Clean Project in Eclipse with Automatic Building I receive the error below. line from the top stack, e.g. "SomeFile.jara:243" java.lang.NullPointerException at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOverride(AjProblemReporter.java:380) at org.aspectj.org.eclipse.jdt.int...
resolved fixed
4177bed
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-02-16T10:02:27Z
2007-01-25T15:46:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
if (arg.binding!=null && arg.binding.declaringScope!=null) { ReferenceContext context = arg.binding.declaringScope.referenceContext(); if (context!=null && context instanceof PointcutDeclaration) return; } } super.unusedArgument(localDecl); } /** * A side-effect of the way tha...
171,667
Bug 171667 When ordering a Clean with Build Automatico I receive the error below.
When executing an Clean Project in Eclipse with Automatic Building I receive the error below. line from the top stack, e.g. "SomeFile.jara:243" java.lang.NullPointerException at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOverride(AjProblemReporter.java:380) at org.aspectj.org.eclipse.jdt.int...
resolved fixed
4177bed
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-02-16T10:02:27Z
2007-01-25T15:46:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
/** * All problems end up routed through here at some point... */ public IProblem createProblem(char[] fileName, int problemId, String[] problemArguments, String[] messageArguments, int severity, int problemStartPosition, int problemEndPosition, int lineNumber) { IProblem problem = super.createProble...
171,667
Bug 171667 When ordering a Clean with Build Automatico I receive the error below.
When executing an Clean Project in Eclipse with Automatic Building I receive the error below. line from the top stack, e.g. "SomeFile.jara:243" java.lang.NullPointerException at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOverride(AjProblemReporter.java:380) at org.aspectj.org.eclipse.jdt.int...
resolved fixed
4177bed
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-02-16T10:02:27Z
2007-01-25T15:46:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
public PinpointedProblem(IProblem aProblem, String pinpoint) { this.delegate = aProblem; if (delegate.getMessage().indexOf("message issued...") == -1) { this.message = delegate.getMessage() + "\n" + pinpoint; } else { this.message = delegate.getMessage(); } } ...
175,039
Bug 175039 ArrayIndexOutOfBoundException Bug with Nested Type in TypeParameters
I debugged this stack trace from load-time weaving (ajcore files are also available). I found that the signature argument to TypeFactory.createTypeFromSignature(String) is Pjava/lang/Enum<Ljavax/jws/soap/SOAPBinding$ParameterStyle;>; but the method is erroneously using an empty array of parameters, because it thinks th...
resolved fixed
579ec14
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-03-06T09:59:56Z
2007-02-21T20:33:20Z
weaver/src/org/aspectj/weaver/TypeFactory.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...
175,039
Bug 175039 ArrayIndexOutOfBoundException Bug with Nested Type in TypeParameters
I debugged this stack trace from load-time weaving (ajcore files are also available). I found that the signature argument to TypeFactory.createTypeFromSignature(String) is Pjava/lang/Enum<Ljavax/jws/soap/SOAPBinding$ParameterStyle;>; but the method is erroneously using an empty array of parameters, because it thinks th...
resolved fixed
579ec14
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-03-06T09:59:56Z
2007-02-21T20:33:20Z
weaver/src/org/aspectj/weaver/TypeFactory.java
* @return */ public static ReferenceType createParameterizedType( ResolvedType aBaseType, UnresolvedType[] someTypeParameters, World inAWorld ) { ResolvedType baseType = aBaseType; if (!aBaseType.isGenericType()) { if (someTypeParameters != null && someTypeParameters.length>0) { if (!aBaseType....
175,039
Bug 175039 ArrayIndexOutOfBoundException Bug with Nested Type in TypeParameters
I debugged this stack trace from load-time weaving (ajcore files are also available). I found that the signature argument to TypeFactory.createTypeFromSignature(String) is Pjava/lang/Enum<Ljavax/jws/soap/SOAPBinding$ParameterStyle;>; but the method is erroneously using an empty array of parameters, because it thinks th...
resolved fixed
579ec14
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-03-06T09:59:56Z
2007-02-21T20:33:20Z
weaver/src/org/aspectj/weaver/TypeFactory.java
) { if (aBaseType.isRawType()) return (ReferenceType) aBaseType; if (!aBaseType.isGenericType()) { if (!aBaseType.isRawType()) throw new IllegalStateException("Expecting generic type"); } ReferenceType rType = new ReferenceType(aBaseType,inAWorld); return (ReferenceType) rType.resolve(inAWorld); } /...
175,039
Bug 175039 ArrayIndexOutOfBoundException Bug with Nested Type in TypeParameters
I debugged this stack trace from load-time weaving (ajcore files are also available). I found that the signature argument to TypeFactory.createTypeFromSignature(String) is Pjava/lang/Enum<Ljavax/jws/soap/SOAPBinding$ParameterStyle;>; but the method is erroneously using an empty array of parameters, because it thinks th...
resolved fixed
579ec14
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-03-06T09:59:56Z
2007-02-21T20:33:20Z
weaver/src/org/aspectj/weaver/TypeFactory.java
* Used by UnresolvedType.read, creates a type from a full signature. * @param signature * @return */ public static UnresolvedType createTypeFromSignature(String signature) { if (signature.equals(ResolvedType.MISSING_NAME)) return ResolvedType.MISSING; char firstChar = signature.charAt(0); if (firstChar=='P...
175,039
Bug 175039 ArrayIndexOutOfBoundException Bug with Nested Type in TypeParameters
I debugged this stack trace from load-time weaving (ajcore files are also available). I found that the signature argument to TypeFactory.createTypeFromSignature(String) is Pjava/lang/Enum<Ljavax/jws/soap/SOAPBinding$ParameterStyle;>; but the method is erroneously using an empty array of parameters, because it thinks th...
resolved fixed
579ec14
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-03-06T09:59:56Z
2007-02-21T20:33:20Z
weaver/src/org/aspectj/weaver/TypeFactory.java
String lastType = null; int nestedTypePosition = signature.indexOf("$"); if (nestedTypePosition!=-1) lastType = signature.substring(nestedTypePosition+1); else lastType = new String(signature); startOfParams = lastType.indexOf("<"); endOfParams = locateMatchingEndBracket(lastT...
175,039
Bug 175039 ArrayIndexOutOfBoundException Bug with Nested Type in TypeParameters
I debugged this stack trace from load-time weaving (ajcore files are also available). I found that the signature argument to TypeFactory.createTypeFromSignature(String) is Pjava/lang/Enum<Ljavax/jws/soap/SOAPBinding$ParameterStyle;>; but the method is erroneously using an empty array of parameters, because it thinks th...
resolved fixed
579ec14
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-03-06T09:59:56Z
2007-02-21T20:33:20Z
weaver/src/org/aspectj/weaver/TypeFactory.java
ret.typeKind = TypeKind.WILDCARD; ret.setLowerBound(convertSigToType(signature.substring(1))); return ret; } else if (firstChar=='T') { String typeVariableName = signature.substring(1); if (typeVariableName.endsWith(";")) { typeVariableName = typeVariableName.substring(0, typeVariableName.length() -1)...
175,039
Bug 175039 ArrayIndexOutOfBoundException Bug with Nested Type in TypeParameters
I debugged this stack trace from load-time weaving (ajcore files are also available). I found that the signature argument to TypeFactory.createTypeFromSignature(String) is Pjava/lang/Enum<Ljavax/jws/soap/SOAPBinding$ParameterStyle;>; but the method is erroneously using an empty array of parameters, because it thinks th...
resolved fixed
579ec14
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-03-06T09:59:56Z
2007-02-21T20:33:20Z
weaver/src/org/aspectj/weaver/TypeFactory.java
private static int locateMatchingEndBracket(String signature, int startOfParams) { if (startOfParams==-1) return -1; int count =1; int idx = startOfParams; while (count>0 && idx<signature.length()) { idx++; if (signature.charAt(idx)=='<') count++; if (signature.charAt(idx)=='>') count--; } return i...
175,039
Bug 175039 ArrayIndexOutOfBoundException Bug with Nested Type in TypeParameters
I debugged this stack trace from load-time weaving (ajcore files are also available). I found that the signature argument to TypeFactory.createTypeFromSignature(String) is Pjava/lang/Enum<Ljavax/jws/soap/SOAPBinding$ParameterStyle;>; but the method is erroneously using an empty array of parameters, because it thinks th...
resolved fixed
579ec14
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-03-06T09:59:56Z
2007-02-21T20:33:20Z
weaver/src/org/aspectj/weaver/TypeFactory.java
return -1; } private static UnresolvedType[] createTypeParams(String typeParameterSpecification) { String remainingToProcess = typeParameterSpecification; List types = new ArrayList(); while(!remainingToProcess.equals("")) { int endOfSig = 0; int anglies = 0; boolean sigFound = false; for (endOfSig ...
175,039
Bug 175039 ArrayIndexOutOfBoundException Bug with Nested Type in TypeParameters
I debugged this stack trace from load-time weaving (ajcore files are also available). I found that the signature argument to TypeFactory.createTypeFromSignature(String) is Pjava/lang/Enum<Ljavax/jws/soap/SOAPBinding$ParameterStyle;>; but the method is erroneously using an empty array of parameters, because it thinks th...
resolved fixed
579ec14
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-03-06T09:59:56Z
2007-02-21T20:33:20Z
weaver/testsrc/org/aspectj/weaver/TypeXTestCase.java
/* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distri...
175,039
Bug 175039 ArrayIndexOutOfBoundException Bug with Nested Type in TypeParameters
I debugged this stack trace from load-time weaving (ajcore files are also available). I found that the signature argument to TypeFactory.createTypeFromSignature(String) is Pjava/lang/Enum<Ljavax/jws/soap/SOAPBinding$ParameterStyle;>; but the method is erroneously using an empty array of parameters, because it thinks th...
resolved fixed
579ec14
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-03-06T09:59:56Z
2007-02-21T20:33:20Z
weaver/testsrc/org/aspectj/weaver/TypeXTestCase.java
public TypeXTestCase(String name) { super(name); } public void testUnresolvedTypes() { String[] testNames = new String[] {"int", "long", "int[]", "boolean[][]", "java.lang.String", "java.lang.String[]", "void" }; String[] testSigs = ...
175,039
Bug 175039 ArrayIndexOutOfBoundException Bug with Nested Type in TypeParameters
I debugged this stack trace from load-time weaving (ajcore files are also available). I found that the signature argument to TypeFactory.createTypeFromSignature(String) is Pjava/lang/Enum<Ljavax/jws/soap/SOAPBinding$ParameterStyle;>; but the method is erroneously using an empty array of parameters, because it thinks th...
resolved fixed
579ec14
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-03-06T09:59:56Z
2007-02-21T20:33:20Z
weaver/testsrc/org/aspectj/weaver/TypeXTestCase.java
String[] componentNames = new String[] {null, null, "int", "boolean[]", null, "java.lang.String", null }; int[] sizes = new int[] {1, 2, 1, 1, 1, 1, 0}; boolean[] isPrimitive = new boolean[] { true, true, false, false, false, false, true }; ...
175,039
Bug 175039 ArrayIndexOutOfBoundException Bug with Nested Type in TypeParameters
I debugged this stack trace from load-time weaving (ajcore files are also available). I found that the signature argument to TypeFactory.createTypeFromSignature(String) is Pjava/lang/Enum<Ljavax/jws/soap/SOAPBinding$ParameterStyle;>; but the method is erroneously using an empty array of parameters, because it thinks th...
resolved fixed
579ec14
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-03-06T09:59:56Z
2007-02-21T20:33:20Z
weaver/testsrc/org/aspectj/weaver/TypeXTestCase.java
assertEquals(t.getName(),"java.util.List<java.lang.String>"); assertEquals(t.getSignature(),"Pjava/util/List<Ljava/lang/String;>;"); t = UnresolvedType.forName("java.util.Map<java.util.String,java.util.List<java.lang.Integer>>"); assertEquals(t.getName(),"java.util.Map<java.util.String,java.util.List<java.lang.In...
175,039
Bug 175039 ArrayIndexOutOfBoundException Bug with Nested Type in TypeParameters
I debugged this stack trace from load-time weaving (ajcore files are also available). I found that the signature argument to TypeFactory.createTypeFromSignature(String) is Pjava/lang/Enum<Ljavax/jws/soap/SOAPBinding$ParameterStyle;>; but the method is erroneously using an empty array of parameters, because it thinks th...
resolved fixed
579ec14
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-03-06T09:59:56Z
2007-02-21T20:33:20Z
weaver/testsrc/org/aspectj/weaver/TypeXTestCase.java
tx = UnresolvedType.forSignature("Pjava/util/Map<Pjava/util/List<Ljava/lang/String;>;Ljava/lang/String;>;"); checkTX(tx,true,2); checkTX(tx.getTypeParameters()[0],true,1); checkTX(tx.getTypeParameters()[1],false,0); } public void testTypeXForParameterizedTypes() { if (LangUtil.is15VMOrGreater()) { World...
175,039
Bug 175039 ArrayIndexOutOfBoundException Bug with Nested Type in TypeParameters
I debugged this stack trace from load-time weaving (ajcore files are also available). I found that the signature argument to TypeFactory.createTypeFromSignature(String) is Pjava/lang/Enum<Ljavax/jws/soap/SOAPBinding$ParameterStyle;>; but the method is erroneously using an empty array of parameters, because it thinks th...
resolved fixed
579ec14
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-03-06T09:59:56Z
2007-02-21T20:33:20Z
weaver/testsrc/org/aspectj/weaver/TypeXTestCase.java
} private void isPrimitiveTest(UnresolvedType[] types, boolean[] isPrimitives) { for (int i = 0, len = types.length; i < len; i++) { UnresolvedType type = types[i]; boolean b = isPrimitives[i]; assertEquals(type + " is primitive: ", b, type.isPrimitiveType()); }...
175,039
Bug 175039 ArrayIndexOutOfBoundException Bug with Nested Type in TypeParameters
I debugged this stack trace from load-time weaving (ajcore files are also available). I found that the signature argument to TypeFactory.createTypeFromSignature(String) is Pjava/lang/Enum<Ljavax/jws/soap/SOAPBinding$ParameterStyle;>; but the method is erroneously using an empty array of parameters, because it thinks th...
resolved fixed
579ec14
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-03-06T09:59:56Z
2007-02-21T20:33:20Z
weaver/testsrc/org/aspectj/weaver/TypeXTestCase.java
UnresolvedType tn = UnresolvedType.forName(n); UnresolvedType ts = UnresolvedType.forSignature(s); assertEquals("forName(n).getName()", n, tn.getName()); assertEquals("forSignature(s).getSignature()", s, ts.getSignature()); assertEquals("...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
/* ******************************************************************* * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC). * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distri...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import org.aspectj.bridge.IMessage; import org.aspectj.bridge.ISourceLocation; import org.aspectj.bridge.Message; import org.aspectj.bridge.MessageUtil; import org.aspectj.util.FuzzyBoolean; import or...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
/** * Returns an iterator through ResolvedType objects representing all the direct * supertypes of this type. That is, through the superclass, if any, and * all declared interfaces. */ public final Iterator getDirectSupertypes() { Iterator ifacesIterator = Iterators.array(getDeclaredInt...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
* of the weirdness of this methods on primitives and arrays. * * @param world the {@link World} in which the lookup is made. * @return an int representing the modifiers for this type * @see java.lang.reflect.Modifier */ public abstract int getModifiers(); public boolean isMissi...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
static Set validBoxing = new HashSet(); static { validBoxing.add("Ljava/lang/Byte;B"); validBoxing.add("Ljava/lang/Character;C"); validBoxing.add("Ljava/lang/Double;D"); validBoxing.add("Ljava/lang/Float;F"); validBoxing.add("Ljava/lang/Integer;I"); validBoxing.add("Ljava/la...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
} public final boolean equals(Object other) { if (other instanceof ResolvedType) { return this == other; } else { return super.equals(other); } } /** * returns an iterator through all of the fields of this type, in order * for checki...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
((ResolvedType)o).getDirectSupertypes()); } }; Iterators.Getter fieldGetter = new Iterators.Getter() { public Iterator get(Object o) { return Iterators.array(((ResolvedType)o).getDeclaredFields()); } }; return Iterators.map...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
public Iterator get(Object o) { return dupFilter.filter( Iterators.array(((ResolvedType)o).getDeclaredInterfaces()) ); } }; Iterators.Getter methodGetter = new Iterators.Getter() { ...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
methodGetter); } /** * Return a list of methods, first those declared on this class, then those declared on the superclass (recurse) and then those declared * on the superinterfaces. The getMethods() call above doesn't quite work the same as it will (through the iterator) return methods * d...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
addAndRecurse(knowninterfaces,collector,superType,includeITDs,allowMissing); } } ResolvedType[] interfaces = rtx.getDeclaredInterfaces(); for (int i = 0; i < interfaces.length; i++) { ResolvedType iface = interfaces[i]; boolean shouldSkip = false; ...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
public ResolvedType[] getResolvedTypeParameters() { if (resolvedTypeParams == null) { resolvedTypeParams = world.resolve(typeParameters); } return resolvedTypeParams; } /** * described in JVM spec 2ed 5.4.3.2 */ public ResolvedMember lookupField(Member m) { retur...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
return null; } /** * return null if not found */ private ResolvedMember lookupMember(Member m, Iterator i) { while (i.hasNext()) { ResolvedMember f = (ResolvedMember) i.next(); if (matches(f, m)) return f; if (f.hasBackingGenericMember() && m.getNam...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
/** * Looks for the first member in the hierarchy matching aMember. This method * differs from lookupMember(Member) in that it takes into account parameters * which are type variables - which clearly an unresolved Member cannot do since * it does not know anything about type variables. */ ...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
boolean equalNames = m1.getName().equals(m2.getName()); if (!equalNames) return false; boolean equalSignatures = m1.getSignature().equals(m2.getSignature()); if (equalSignatures) return true; boolean equalCovariantSignatures = m1.getParameterSignature...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
} UnresolvedType[] p1 = m1.getGenericParameterTypes(); UnresolvedType[] p2 = m2.getGenericParameterTypes(); if (p1==null) p1 = m1.getParameterTypes(); if (p2==null) p2 = m2.getParameterTypes(); int n = p1.length; if (n != p2.length) return false; for (int i=0; i < n;...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
final Iterators.Filter dupFilter = Iterators.dupFilter(); Iterators.Getter typeGetter = new Iterators.Getter() { public Iterator get(Object o) { return dupFilter.filter( ((ResolvedType)o).getDirectSupertypes()); } ...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
if (!getOutermostType().equals(this)) { ResolvedType outerType = getOutermostType().resolve(world); ResolvedPointcutDefinition rpd = outerType.findPointcut(name); return rpd; } return null; } public CrosscuttingMembers crosscuttingMembers; public Cro...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
ArrayList ret = new ArrayList(); } if (!this.isAbstract()) { final Iterators.Filter dupFilter = Iterators.dupFilter(); Iterators.Getter typeGetter = new Iterators.Getter() { public Iterator get(Object o) { return dupFilter.filt...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
return ret; } private final Collection collectShadowMungers() { if (! this.isAspect() || this.isAbstract() || this.doesNotExposeShadowMungers()) return Collections.EMPTY_LIST; ArrayList acc = new ArrayList(); final Iterators.Filter dupFilter = Iterators.dupFilter(); Iterator...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
public PerClause getPerClause() { return null; } protected Collection getDeclares() { return Collections.EMPTY_LIST; } protected Collection getTypeMungers() { return Collections.EMPTY_LIST; } protected Collection getPrivilegedAccesses() { return Collections.EMPTY_LIST; ...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
return false; } public boolean isAnnotationStyleAspect() { return false; } /** * Note: Only overridden by Name subtype. */ public boolean isEnum() { return false; } /** * Note: Only overridden by Name subtype. */ public boolean isAnnotation() { ret...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
public void addAnnotation(AnnotationX annotationX) { throw new RuntimeException("ResolvedType.addAnnotation() should never be called"); } /** * Note: Only overridden by Name subtype */ public AnnotationX[] getAnnotations() { throw new RuntimeException("ResolvedType.getAnnotations() should never be called")...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
} public boolean isSynthetic() { return signature.indexOf("$ajc") != -1; } public final boolean isFinal() { return Modifier.isFinal(getModifiers()); } protected Map getMemberParameterizationMap() { if (!isParameterizedType()) return Collections.EMPTY_MAP; TypeVariable[] tvs ...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
if (munger instanceof Advice) { Advice advice = (Advice) munger; UnresolvedType[] ptypes = methods[i].getGenericParameterTypes() ; UnresolvedType[] newPTypes = new UnresolvedType[ptypes.length]; for (int j = 0; j < ptypes.length; j++) { if (ptypes[j] instanceof TypeVariableReferenc...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
} public ResolvedMember[] getDeclaredJavaFields() { return filterInJavaVisible(getDeclaredFields()); } public ResolvedMember[] getDeclaredJavaMethods() { return filterInJavaVisible(getDeclaredMethods()); } public ShadowMunger[] getDeclaredShadowMungersArray() { List l = (List) getDeclaredShadowMungers();...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
public static final Primitive FLOAT = new Primitive("F", 1, 3); public static final Primitive INT = new Primitive("I", 1, 4); public static final Primitive LONG = new Primitive("J", 2, 5); public static final Primitive SHORT = new Primitive("S", 1, 6); public static final Primitive VOID = ...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
ResolvedType componentType; Array(String sig, String erasureSig,World world, ResolvedType componentType) { super(sig,erasureSig, world); this.componentType = componentType; } public final ResolvedMember[] getDeclaredFields() { return...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
public final ResolvedType[] getDeclaredInterfaces() { return new ResolvedType[] { world.getCoreType(CLONEABLE), world.getCoreType(SERIALIZABLE) }; } public final ResolvedMember[] getDeclaredPointcuts() { ret...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
public final boolean isCoerceableFrom(ResolvedType o) { if (o.equals(UnresolvedType.OBJECT) || o.equals(UnresolvedType.SERIALIZABLE) || o.equals(UnresolvedType.CLONEABLE)) { return true; } if (! o.isArray()) return false; ...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
private int size; private int index; Primitive(String signature, int size, int index) { super(signature, null); this.size = size; this.index = index; this.typeKind=TypeKind.PRIMITIVE; } public final int getSize() { return size; ...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
} public boolean hasAnnotation(UnresolvedType ofType) { return false; } public final boolean isAssignableFrom(ResolvedType other) { if (!other.isPrimitiveType()) { if (!world.isInJava5Mode()) return false; return validBoxing.contains(this.getSignatu...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
{ true , true , true , true , true , true , true , false, false }, B { false, true , true , true , true , true , false, false, false }, C { false, false, true , false, false, false, false, false, false }, D { false, false, true , true , false, false, false, false, fals...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
} public final ResolvedType[] getDeclaredInterfaces() { return ResolvedType.NONE; } public final ResolvedMember[] getDeclaredPointcuts() { return ResolvedMember.NONE; } public final ResolvedType getSuperclass() { return null; } ...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
return false; } public final ResolvedMember[] getDeclaredFields() { return ResolvedMember.NONE; } public final ResolvedMember[] getDeclaredMethods() { return ResolvedMember.NONE; } public final ResolvedType[] getDeclaredInterfaces() { r...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
return false; } public ISourceContext getSourceContext() { return null; } } /** * Look up a member, takes into account any ITDs on this type. * return null if not found */ public ResolvedMember lookupMemberNoSupers(Member member) { ResolvedMember ret = lookupD...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
if (ret==null) supert = supert.getSuperclass(); } return ret; } /** * as lookupMemberNoSupers, but does not include ITDs * * @param member * @return */ public ResolvedMember lookupDirectlyDeclaredMemberNoSupers(Member member) { ResolvedMember ret; if (member.getKind() == Member.FIELD) { ...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
*/ public ResolvedMember lookupMemberIncludingITDsOnInterfaces(Member member) { return lookupMemberIncludingITDsOnInterfaces(member, this); } private ResolvedMember lookupMemberIncludingITDsOnInterfaces(Member member, ResolvedType onType) { ResolvedMember ret = onType.lookupMemberNoSupers(member); if (ret !=...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
} public List getInterTypeParentMungers() { List l = new ArrayList(); for (Iterator iter = interTypeMungers.iterator(); iter.hasNext();) { ConcreteTypeMunger element = (ConcreteTypeMunger) iter.next(); if (element.getMunger() instanceof NewParentTypeMunger) l.add(element); } return l; ...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
superType.collectInterTypeParentMungers(collector); } collector.addAll(getInterTypeParentMungers()); } protected void collectInterTypeMungers(List collector) { for (Iterator iter = getDirectSupertypes(); iter.hasNext();) { ResolvedType superType = (ResolvedType) iter...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
ResolvedMember method = (ResolvedMember)iter.next(); if (conflictingSignature(method, superMunger.getSignature())) { iter1.remove(); continue outer; } } } collector.addAll(getInterTypeMungers()); } ...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
for (Iterator iter = getInterTypeMungersIncludingSupers().iterator(); iter.hasNext();) { ConcreteTypeMunger munger = (ConcreteTypeMunger) iter.next(); if (munger.getSignature() != null && munger.getSignature().isAbstract()) { Rule 1 if (munger.getMunger().getKind() == ResolvedTypeMunger....
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
Message.ERROR,getSourceLocation(),null, new ISourceLocation[]{getMungerLocation(munger)}) ); return true; } } return false; } /** * Get a source location for the munger. * Until intertype mungers remember where they came from, the source location * for the mun...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
* get the top-level class, but it does not say anything about classes in between. * * @return the declaring UnresolvedType object, or null. */ public ResolvedType getDeclaringType() { if (isArray()) return null; String name = getName(); int lastDollar = name.lastIndexOf('$'); while (lastDo...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
public static boolean hasBridgeModifier(int modifiers) { return (modifiers & Constants.ACC_BRIDGE)!=0; } private static boolean samePackage( ResolvedType targetType, ResolvedType fromType) { String p1 = targetType.getPackageName(); String p2 = fromType.getPackageName(); if (p1 == null) return p2...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
* hierarchy. * * returns null if it can't be found. */ public ResolvedType discoverActualOccurrenceOfTypeInHierarchy(ResolvedType lookingFor) { if (!lookingFor.isGenericType()) throw new BCException("assertion failed: method should only be called with generic type, but...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
ResolvedMember member = munger.getSignature(); if (munger.isTargetTypeParameterized()) { if (debug) System.err.println("Processing attempted parameterization of "+munger+" targetting type "+this); if (debug) System.err.println(" This type is "+this+" ("+typeKind+")"); if (debug) System.err....
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
public void addInterTypeMunger(ConcreteTypeMunger munger) { ResolvedMember sig = munger.getSignature(); if (sig == null || munger.getMunger() == null || munger.getMunger().getKind() == ResolvedTypeMunger.PrivilegedAccess) { interTypeMungers.add(munger); return; } ConcreteTypeMunger originalMunge...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
} for (Iterator i = interTypeMungers.iterator(); i.hasNext(); ) { ConcreteTypeMunger existingMunger = (ConcreteTypeMunger)i.next(); if (conflictingSignature(existingMunger.getSignature(), munger.getSignature())) { if (isVisible(munger.getSignature().getModifiers(), munger.getAspectType(), ...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
} } } interTypeMungers.add(munger); } private boolean compareToExistingMembers(ConcreteTypeMunger munger, List existingMembersList) { return compareToExistingMembers(munger,existingMembersList.iterator()); } private boolean compareToExistingMembers(ConcreteTypeMunger munger, Iterator exis...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
if (c < 0) { checkLegalOverride(munger.getSignature(), existingMember); return false; } else if (c > 0) { checkLegalOverride(existingMember, munger.getSignature()); continue; } else { boolean sameReturnTypes = (existingMember...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
return; } } return true; } private boolean isDuplicateMemberWithinTargetType(ResolvedMember existingMember, ResolvedType targetType,ResolvedMember itdMember) { if ( (existingMember.isAbstract() || itdMember.isAbstract())) return false; UnresolvedType declaringType = existingMember.getDeclarin...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
if (Modifier.isFinal(parent.getModifiers())) { world.showMessage(Message.ERROR, WeaverMessages.format(WeaverMessages.CANT_OVERRIDE_FINAL_MEMBER,parent), child.getSourceLocation(),null); return false; } boolean incompatibleReturnTypes = false; if (world.isInJava5Mode() && parent.getKind()==Me...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
UnresolvedType[] cTypes = child.getParameterTypes(); if (!Arrays.equals(pTypes, cTypes)) { world.showMessage(IMessage.ERROR, WeaverMessages.format(WeaverMessages.ITD_PARAM_TYPE_MISMATCH,parent,child), child.getSourceLocation(), parent.getSourceLocation()); return false; } } if (isMore...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
} return false; } if (parent.isStatic() && !child.isStatic()) { world.showMessage(IMessage.ERROR, WeaverMessages.format(WeaverMessages.ITD_OVERRIDDEN_STATIC,child,parent), child.getSourceLocation(),null); return false; } else if (child.isStatic() && !parent.isStatic()) { world...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
if (declaring!=null) { if (declaring.getName().equals("java.lang.Object") && m2.getName().equals("clone")) return +1; } } if (Modifier.isAbstract(m1.getModifiers())) return -1; if (Modifier.isAbstract(m2.getModifiers())) return +1; if (m1.getDeclaringType().equals(m2.getDeclaringType())) return 0; ...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
private void interTypeConflictError( ConcreteTypeMunger m1, ConcreteTypeMunger m2) { getWorld().showMessage(IMessage.ERROR, WeaverMessages.format(WeaverMessages.ITD_CONFLICT,m1.getAspectType().getName(), m2.getSignature(),m2.getAspectType().getName()), m2.getSourceLocation...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
ResolvedMemberImpl ret = new ResolvedMemberImpl(Member.CONSTRUCTOR,this,Modifier.PUBLIC, ResolvedType.VOID,"<init>",world.resolve(member.getParameterTypes())); return ret; } } } return null; } public void clearInterTypeMungers() { if (isRawType()) getGenericType().clearInterTypeMunge...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
ResolvedType higherType = this.getSuperclass().getTopmostImplementor(interfaceType); if (higherType!=null) return higherType; return this; } private ResolvedType findHigher(ResolvedType other) { if (this == other) return this; for(Iterator i = other.getDirectSupertypes(); i.hasNext(); ) { Resolved...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
inherited.getSourceLocation(), this.getSourceLocation()); } } } return ret; } private void addPointcutsResolvingConflicts(List acc, List added, boolean isOverriding) { for (Iterator i = added.iterator(); i.hasNext();) { ResolvedPointcutDefinition toAdd = (ResolvedPointcutDefinition) i.ne...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
WeaverMessages.format(WeaverMessages.CONFLICTING_INHERITED_POINTCUTS,this.getName() + toAdd.getSignature()), existing.getSourceLocation(), toAdd.getSourceLocation()); j.remove(); } } } acc.add(toAdd); } } public ISourceLocation getSourceLocation() { return null; }...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
} /** * overriden by ReferenceType to return the gsig for a generic type * @return */ public String getGenericSignature() { return ""; } public ResolvedType parameterizedWith(UnresolvedType[] typeParameters) { if (!(isGenericType() || isParameterizedType())) return this; return TypeFactory.createP...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
if (!workToDo) { return this; } else { UnresolvedType[] newTypeParams = new UnresolvedType[typeParameters.length]; for (int i = 0; i < newTypeParams.length; i++) { newTypeParams[i] = typeParameters[i]; if (newTypeParams[i].isTypeVariableReference()) { TypeVariableReferenceType tvrt =...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
} private ResolvedType[] parameterizedSuperTypes = null; /** * Similar to the above method, but accumulates the super types * * @return */ public ResolvedType[] getParameterizedSuperTypes() { if (parameterizedSuperTypes != null) return parameterizedSuperTypes; List accumulatedTypes = new ArrayList()...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
* Types may have pointcuts just as they have methods and fields. */ public ResolvedPointcutDefinition findPointcut(String name, World world) { throw new UnsupportedOperationException("Not yet implemenented"); } /** * @return true if assignable to java.lang.Exception */ public boolean isException() { ...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
* @param other the other type * @param world the {@link World} in which the possible assignment should be checked. * @return true iff variables of this type could be assigned values of other with possible conversion */ public final boolean isConvertableFrom(ResolvedType other) { if...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
/** * Determines if values of another type could possibly be cast to * this type. The rules followed are from JLS 2ed 5.5, "Casting Conversion". * <p/> * <p> This method should be commutative, i.e., for all UnresolvedType a, b and all World w: * <p/> * <blockquote><pre> * a.isCoerceableFrom(b, w...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
/** * return true if the parameterization of this type includes a member type variable. Member * type variables occur in generic methods/ctors. */ public boolean isParameterizedWithAMemberTypeVariable() { if (parameterizedWithAMemberTypeVariable==FuzzyBoolean.MAYBE) { if (typeParameters==null ||...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
if (aType.isExtends()) { boolean b = false; UnresolvedType upperBound = aType.getUpperBound(); if (upperBound.isParameterizedType()) { b = upperBound.isParameterizedWithAMemberTypeVariable(); } else if (upperBound.isTypeVariableReference() && ((TypeVariableReference)upperBound).getTypeVar...
206,732
Bug 206732 [itds] Problem with ITDs appearing to be applied twice (and clashing) for binary types
As reported by Josh on the mailing list: I have the following 2 files: Advised.aj: package bugs; public class Advised {} aspect ITD { public void Advised.f() {} } Ref.aj: package notbugs; import bugs.Advised; public class Ref { public void g() { new Advised().f(); } } I am attempting to build Advised.aj into a jar, and...
resolved fixed
797ec4d
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-10-18T11:03:05Z
2007-10-18T09:33:20Z
weaver/src/org/aspectj/weaver/ResolvedType.java
} return parameterizedWithAMemberTypeVariable.alwaysTrue(); } protected boolean ajMembersNeedParameterization() { if (isParameterizedType()) return true; if (getSuperclass() != null) return getSuperclass().ajMembersNeedParameterization(); return false; } protected Map getAjMemberParameterizationMap() { Ma...
211,674
Bug 211674 [ataspectj] after throwing annotation style is too sensitive to parameter positions
Reported on the list by Ashley Williams: Having converted my aspects to use the @AspectJ style, I'm now getting a strange error message when a compile my tracing aspect,. First here is the section of code: @Pointcut("execution(@Tracing * *(..)) && @annotation(tracing)") void annotatedMethods(Tracing tracing) { } @After...
resolved fixed
9de03b7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-12-02T09:24:51Z
2007-12-01T17:26:40Z
tests/src/org/aspectj/systemtest/ajc154/Ajc154Tests.java
/******************************************************************************* * Copyright (c) 2006 IBM * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://w...
211,674
Bug 211674 [ataspectj] after throwing annotation style is too sensitive to parameter positions
Reported on the list by Ashley Williams: Having converted my aspects to use the @AspectJ style, I'm now getting a strange error message when a compile my tracing aspect,. First here is the section of code: @Pointcut("execution(@Tracing * *(..)) && @annotation(tracing)") void annotatedMethods(Tracing tracing) { } @After...
resolved fixed
9de03b7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-12-02T09:24:51Z
2007-12-01T17:26:40Z
tests/src/org/aspectj/systemtest/ajc154/Ajc154Tests.java
import org.aspectj.apache.bcel.generic.ConstantPoolGen; import org.aspectj.apache.bcel.generic.MethodGen; import org.aspectj.apache.bcel.util.ClassPath; import org.aspectj.apache.bcel.util.SyntheticRepository; import org.aspectj.testing.XMLBasedAjcTestCase; import org.aspectj.weaver.patterns.PatternParser; import org.a...
211,674
Bug 211674 [ataspectj] after throwing annotation style is too sensitive to parameter positions
Reported on the list by Ashley Williams: Having converted my aspects to use the @AspectJ style, I'm now getting a strange error message when a compile my tracing aspect,. First here is the section of code: @Pointcut("execution(@Tracing * *(..)) && @annotation(tracing)") void annotatedMethods(Tracing tracing) { } @After...
resolved fixed
9de03b7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-12-02T09:24:51Z
2007-12-01T17:26:40Z
tests/src/org/aspectj/systemtest/ajc154/Ajc154Tests.java
public void testVariousLtwAroundProblems_pr209019_1() { runTest("various issues with ltw and around advice - 1"); } public void testVariousLtwAroundProblems_pr209019_2() { runTest("various issues with ltw and around advice - 2"); } public void testVariousLtwAroundProblems_pr209019_3() { runTest("various issues with l...
211,674
Bug 211674 [ataspectj] after throwing annotation style is too sensitive to parameter positions
Reported on the list by Ashley Williams: Having converted my aspects to use the @AspectJ style, I'm now getting a strange error message when a compile my tracing aspect,. First here is the section of code: @Pointcut("execution(@Tracing * *(..)) && @annotation(tracing)") void annotatedMethods(Tracing tracing) { } @After...
resolved fixed
9de03b7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-12-02T09:24:51Z
2007-12-01T17:26:40Z
tests/src/org/aspectj/systemtest/ajc154/Ajc154Tests.java
for (int i = 0; i < meths.length && oneWeWant==null; i++) { Method method = meths[i]; if (method.getName().equals("main")) oneWeWant = meths[i]; } /** * For the main method: Stack=2, Locals=3, Args_size=1 0: iconst_5 1: istore_1 2: ldc #18; //String 3 4: astor...
211,674
Bug 211674 [ataspectj] after throwing annotation style is too sensitive to parameter positions
Reported on the list by Ashley Williams: Having converted my aspects to use the @AspectJ style, I'm now getting a strange error message when a compile my tracing aspect,. First here is the section of code: @Pointcut("execution(@Tracing * *(..)) && @annotation(tracing)") void annotatedMethods(Tracing tracing) { } @After...
resolved fixed
9de03b7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-12-02T09:24:51Z
2007-12-01T17:26:40Z
tests/src/org/aspectj/systemtest/ajc154/Ajc154Tests.java
line 9: 16 line 11: 23 LocalVariableTable: Start Length Slot Name Signature 0 24 0 argv [Ljava/lang/String; 2 22 1 i I 5 10 2 s Ljava/lang/String; */ ConstantPool cp = oneWeWant.getConstantPool(); ConstantPoolGen ...
211,674
Bug 211674 [ataspectj] after throwing annotation style is too sensitive to parameter positions
Reported on the list by Ashley Williams: Having converted my aspects to use the @AspectJ style, I'm now getting a strange error message when a compile my tracing aspect,. First here is the section of code: @Pointcut("execution(@Tracing * *(..)) && @annotation(tracing)") void annotatedMethods(Tracing tracing) { } @After...
resolved fixed
9de03b7
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2007-12-02T09:24:51Z
2007-12-01T17:26:40Z
tests/src/org/aspectj/systemtest/ajc154/Ajc154Tests.java
for (int i = 0; i < meths.length && oneWeWant==null; i++) { Method method = meths[i]; if (method.getName().equals("main")) oneWeWant = meths[i]; } ConstantPool cp = oneWeWant.getConstantPool(); ConstantPoolGen cpg = new ConstantPoolGen(cp); oneWeWant.getLocalVariableTab...