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
386,049
Bug 386049 Error "must implement abstract inter-type declaration" even though build is fine
null
verified fixed
7c6e936
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T19:43:56Z
2012-07-26T13:40:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
private void createBridge(BcelClassWeaver weaver, ResolvedMember unMangledInterMethod, LazyClassGen classGen, ResolvedMember toBridgeTo) { Type[] paramTypes; Type returnType; InstructionList body; InstructionFactory fact; int pos; ResolvedMember bridgerMethod = AjcMemberMaker.bridgerToInterMethod(unMangl...
386,049
Bug 386049 Error "must implement abstract inter-type declaration" even though build is fine
null
verified fixed
7c6e936
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T19:43:56Z
2012-07-26T13:40:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} body.append(Utility.createInvoke(fact, weaver.getWorld(), bridgerMethod)); body.append(InstructionFactory.createReturn(returnType)); classGen.addMethodGen(bridgeMethod); } /** * Helper method to create a signature attribute based on a string signature: e.g. "Ljava/lang/Object;LI<Ljava/lang/Double;>;" *...
386,049
Bug 386049 Error "must implement abstract inter-type declaration" even though build is fine
null
verified fixed
7c6e936
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T19:43:56Z
2012-07-26T13:40:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
boolean quitRightNow = false; String localMethodName = unMangledInterMethod.getName(); String erasedSig = unMangledInterMethod.getSignatureErased(); String localParameterSig = erasedSig.substring(0,erasedSig.lastIndexOf(')')+1); String localReturnTypeESig = unMangledInterMethod.getReturnType().getErasureSig...
386,049
Bug 386049 Error "must implement abstract inter-type declaration" even though build is fine
null
verified fixed
7c6e936
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T19:43:56Z
2012-07-26T13:40:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
&& !Modifier.isPrivate(aMethod.getModifiers())) { createBridgeMethod(weaver.getWorld(), munger, unMangledInterMethod, gen, paramTypes, aMethod); quitRightNow = true; } } } } } } /** * Create a bridge method for a particular munger. * * @param world * @param munger ...
386,049
Bug 386049 Error "must implement abstract inter-type declaration" even though build is fine
null
verified fixed
7c6e936
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T19:43:56Z
2012-07-26T13:40:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
Type returnType = BcelWorld.makeBcelType(theBridgeMethod.getReturnType()); body = bridgeMethod.getBody(); fact = clazz.getFactory(); if (!Modifier.isStatic(unMangledInterMethod.getModifiers())) { body.append(InstructionFactory.createThis()); pos++; } for (int i = 0, len = paramTypes.length; i < len; i++...
386,049
Bug 386049 Error "must implement abstract inter-type declaration" even though build is fine
null
verified fixed
7c6e936
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T19:43:56Z
2012-07-26T13:40:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (member.getKind() != Member.FIELD) { buf.append("("); UnresolvedType[] params = member.getParameterTypes(); if (params.length != 0) { buf.append(params[0]); for (int i = 1, len = params.length; i < len; i++) { buf.append(", "); buf.append(params[i].getName()); } } buf.append(")")...
386,049
Bug 386049 Error "must implement abstract inter-type declaration" even though build is fine
null
verified fixed
7c6e936
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T19:43:56Z
2012-07-26T13:40:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (munger.getImplClassName() == null && !munger.specifiesDelegateFactoryMethod()) { boolean isOK = false; List<LazyMethodGen> existingMethods = gen.getMethodGens(); for (LazyMethodGen m : existingMethods) { if (m.getName().equals(introduced.getName()) && m.getParameterSignature().equals(introdu...
386,049
Bug 386049 Error "must implement abstract inter-type declaration" even though build is fine
null
verified fixed
7c6e936
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T19:43:56Z
2012-07-26T13:40:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
ResolvedType toLookOn = weaver.getWorld().lookupOrCreateName(introduced.getDeclaringType()); if (fromType.isRawType()) { toLookOn = fromType.getGenericType(); } ResolvedMember[] ms = toLookOn.getDeclaredJavaMethods(); for (ResolvedMember m : ms) { if (introduced.getName().equals(m.getName...
386,049
Bug 386049 Error "must implement abstract inter-type declaration" even though build is fine
null
verified fixed
7c6e936
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T19:43:56Z
2012-07-26T13:40:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (munger.specifiesDelegateFactoryMethod()) { ResolvedMember rm = munger.getDelegateFactoryMethod(weaver.getWorld()); if (rm.getArity() != 0) { ResolvedType parameterType = rm.getParameterTypes()[0].resolve(weaver.getWorld()); if (!parameterType.isAssignableFrom(weaver.getLazyClassGen().getType(...
386,049
Bug 386049 Error "must implement abstract inter-type declaration" even though build is fine
null
verified fixed
7c6e936
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T19:43:56Z
2012-07-26T13:40:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
body.append(Utility.createSet(fact, munger.getDelegate(weaver.getLazyClassGen().getType()))); } } else { body.append(fact.createNew(munger.getImplClassName())); body.append(InstructionConstants.DUP); body.append(fact.createInvoke(munger.getImplClassName(), "<init>", Type.VOID, Type.NO_ARGS, Constants...
386,049
Bug 386049 Error "must implement abstract inter-type declaration" even though build is fine
null
verified fixed
7c6e936
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T19:43:56Z
2012-07-26T13:40:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
return true; } return false; } private boolean mungeFieldHost(BcelClassWeaver weaver, MethodDelegateTypeMunger.FieldHostTypeMunger munger) { LazyClassGen gen = weaver.getLazyClassGen(); if (gen.getType().isAnnotation() || gen.getType().isEnum()) { return false; } munger.matches(weaver.getLaz...
386,049
Bug 386049 Error "must implement abstract inter-type declaration" even though build is fine
null
verified fixed
7c6e936
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T19:43:56Z
2012-07-26T13:40:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
UnresolvedType[] lookingForParams = lookingFor.getParameterTypes(); ResolvedMember realMember = null; for (int i = 0; realMember == null && i < aspectMethods.length; i++) { ResolvedMember member = aspectMethods[i]; if (member.getName().equals(lookingFor.getName())) { UnresolvedType[] memberParams = member...
386,049
Bug 386049 Error "must implement abstract inter-type declaration" even though build is fine
null
verified fixed
7c6e936
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T19:43:56Z
2012-07-26T13:40:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (pLookingFor.isParameterizedType() || pLookingFor.isGenericType()) { pLookingFor = pLookingFor.getRawType().resolve(world); } if (debug) { System.err.println("Comparing parameter " + j + " member=" + pMember + " lookingFor=" + pLookingFor); } if (!pMember.equ...
386,049
Bug 386049 Error "must implement abstract inter-type declaration" even though build is fine
null
verified fixed
7c6e936
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T19:43:56Z
2012-07-26T13:40:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
boolean isSuper = !superMethod.getDeclaringType().equals(gen.getType()); String dispatchName; if (isSuper) { dispatchName = NameMangler.superDispatchMethod(onType, superMethod.getName()); } else { dispatchName = NameMangler.protectedDispatchMethod(onType, superMethod.getName()); } superMet...
386,049
Bug 386049 Error "must implement abstract inter-type declaration" even though build is fine
null
verified fixed
7c6e936
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T19:43:56Z
2012-07-26T13:40:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (onType.isRawType()) { onType = onType.getGenericType(); } if (onType.isAnnotation()) { signalError(WeaverMessages.ITDC_ON_ANNOTATION_NOT_ALLOWED, weaver, onType); return false; } if (onType.isEnum()) { signalError(WeaverMessages.ITDC_ON_ENUM_NOT_ALLOWED, weaver, onType); return false; } i...
386,049
Bug 386049 Error "must implement abstract inter-type declaration" even though build is fine
null
verified fixed
7c6e936
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T19:43:56Z
2012-07-26T13:40:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} else { annotationsOnRealMember = realMember.getAnnotations(); } if (annotationsOnRealMember != null) { for (int i = 0; i < annotationsOnRealMember.length; i++) { AnnotationAJ annotationX = annotationsOnRealMember[i]; AnnotationGen a = ((BcelAnnotation) annotationX).getBcelAnnotation(); An...
386,049
Bug 386049 Error "must implement abstract inter-type declaration" even though build is fine
null
verified fixed
7c6e936
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T19:43:56Z
2012-07-26T13:40:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
toRemove = object; } } if (toRemove != null) { currentClass.removeMethodGen(toRemove); } } currentClass.addMethodGen(mg); InstructionList body = mg.getBody(); UnresolvedType[] declaredParams = newConstructorTypeMunger.getSignature().getParameterTypes(); Type[] paramTypes = mg.getA...
386,049
Bug 386049 Error "must implement abstract inter-type declaration" even though build is fine
null
verified fixed
7c6e936
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T19:43:56Z
2012-07-26T13:40:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
for (int i = 0, len = superParamTypes.length; i < len; i++) { body.append(InstructionFactory.createLoad(Type.OBJECT, arraySlot)); body.append(Utility.createConstant(fact, i)); body.append(InstructionFactory.createArrayLoad(Type.OBJECT)); body.append(Utility.createConversion(fact, Type.OBJECT, BcelWorld.make...
386,049
Bug 386049 Error "must implement abstract inter-type declaration" even though build is fine
null
verified fixed
7c6e936
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T19:43:56Z
2012-07-26T13:40:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (onGen.isInterface()) { modifiers |= Modifier.ABSTRACT; } LazyMethodGen mg = new LazyMethodGen(modifiers, returnType, dispatchName, paramTypes, UnresolvedType.getNames(superMethod .getExceptions()), onGen); InstructionList body = mg.getBody(); if (onGen.isInterface()) { return mg; } Instruct...
386,049
Bug 386049 Error "must implement abstract inter-type declaration" even though build is fine
null
verified fixed
7c6e936
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T19:43:56Z
2012-07-26T13:40:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
ResolvedMember field = munger.getSignature(); ResolvedType onType = weaver.getWorld().resolve(field.getDeclaringType(), munger.getSourceLocation()); if (onType.isRawType()) { onType = onType.getGenericType(); } boolean onInterface = onType.isInterface(); if (onType.isAnnotation()) { signalError(WeaverMe...
386,049
Bug 386049 Error "must implement abstract inter-type declaration" even though build is fine
null
verified fixed
7c6e936
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T19:43:56Z
2012-07-26T13:40:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
} else { annotationsOnRealMember = realMember.getAnnotations(); } } if (onType.equals(gen.getType())) { if (onInterface) { ResolvedMember itdfieldGetter = AjcMemberMaker.interFieldInterfaceGetter(field, onType, aspectType); LazyMethodGen mg = makeMethodGen(gen, itdfieldGetter); gen.addMethodGe...
386,049
Bug 386049 Error "must implement abstract inter-type declaration" even though build is fine
null
verified fixed
7c6e936
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T19:43:56Z
2012-07-26T13:40:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (!basicSignature.equals(genericSignature)) { fg.addAttribute(createSignatureAttribute(gen.getConstantPool(), genericSignature)); } } gen.addField(fg, getSourceLocation()); } return true; } else if (onInterface && gen.getType().isTopmostImplementor(onType)) { if (Modifier.isSt...
386,049
Bug 386049 Error "must implement abstract inter-type declaration" even though build is fine
null
verified fixed
7c6e936
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T19:43:56Z
2012-07-26T13:40:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (!alreadyExists) { weaver.addInitializer(this); FieldGen fg = makeFieldGen(gen,newField); if (annotationsOnRealMember != null) { for (int i = 0; i < annotationsOnRealMember.length; i++) { AnnotationAJ annotationX = annotationsOnRealMember[i]; AnnotationGen a = ((BcelAnnotation) annotatio...
386,049
Bug 386049 Error "must implement abstract inter-type declaration" even though build is fine
null
verified fixed
7c6e936
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T19:43:56Z
2012-07-26T13:40:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (munger.getDeclaredSignature() != null) { ResolvedMember toBridgeTo = munger.getDeclaredSignature().parameterizedWith(null, munger.getSignature().getDeclaringType().resolve(getWorld()), false, munger.getTypeVariableAliases()); boolean needsbridging = false; if (!toBridgeTo.getReturn...
386,049
Bug 386049 Error "must implement abstract inter-type declaration" even though build is fine
null
verified fixed
7c6e936
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T19:43:56Z
2012-07-26T13:40:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
if (munger.getDeclaredSignature() != null) { ResolvedMember toBridgeTo = munger.getDeclaredSignature().parameterizedWith(null, munger.getSignature().getDeclaringType().resolve(getWorld()), false, munger.getTypeVariableAliases()); boolean needsbridging = false; if (!toBridgeTo.getReturnType().getErasur...
386,049
Bug 386049 Error "must implement abstract inter-type declaration" even though build is fine
null
verified fixed
7c6e936
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T19:43:56Z
2012-07-26T13:40:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
int pos = 0; if (!Modifier.isStatic(bridgingSetter.getModifiers())) { body.append(InstructionFactory.createThis()); pos++; } for (int i = 0, len = paramTypes.length; i < len; i++) { Type paramType = paramTypes[i]; body.append(InstructionFactory.createLoad(paramType, pos)); if (!bridgingSetter.getPa...
386,049
Bug 386049 Error "must implement abstract inter-type declaration" even though build is fine
null
verified fixed
7c6e936
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T19:43:56Z
2012-07-26T13:40:00Z
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
public List<String> getTypeVariableAliases() { return munger.getTypeVariableAliases(); } @Override public boolean equals(Object other) { if (!(other instanceof BcelTypeMunger)) { return false; } BcelTypeMunger o = (BcelTypeMunger) other; return ((o.getMunger() == null) ? (getMunger() == null) : o.getMun...
387,718
Bug 387718 RuntimeException when trying to compile broken code
java.lang.RuntimeException at org.aspectj.weaver.NameMangler.makeVisibilityName(NameMangler.java:297) at org.aspectj.weaver.NameMangler.interMethod(NameMangler.java:242) at org.aspectj.weaver.AjcMemberMaker.interMethod(AjcMemberMaker.java:538) at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOv...
resolved fixed
cbb6f5a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T20:13:54Z
2012-08-21T17:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.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...
387,718
Bug 387718 RuntimeException when trying to compile broken code
java.lang.RuntimeException at org.aspectj.weaver.NameMangler.makeVisibilityName(NameMangler.java:297) at org.aspectj.weaver.NameMangler.interMethod(NameMangler.java:242) at org.aspectj.weaver.AjcMemberMaker.interMethod(AjcMemberMaker.java:538) at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOv...
resolved fixed
cbb6f5a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T20:13:54Z
2012-08-21T17:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
import java.util.Collection; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Set; import org.aspectj.ajdt.internal.compiler.ast.AspectDeclaration; import org.aspectj.ajdt.internal.compiler.ast.DeclareAnnotationDeclaration; import org.aspectj.ajdt.internal.compiler.ast.Pointc...
387,718
Bug 387718 RuntimeException when trying to compile broken code
java.lang.RuntimeException at org.aspectj.weaver.NameMangler.makeVisibilityName(NameMangler.java:297) at org.aspectj.weaver.NameMangler.interMethod(NameMangler.java:242) at org.aspectj.weaver.AjcMemberMaker.interMethod(AjcMemberMaker.java:538) at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOv...
resolved fixed
cbb6f5a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T20:13:54Z
2012-08-21T17:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ArrayBinding; import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.IPrivilegedHandler; import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding; import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ParameterizedMethodBinding; imp...
387,718
Bug 387718 RuntimeException when trying to compile broken code
java.lang.RuntimeException at org.aspectj.weaver.NameMangler.makeVisibilityName(NameMangler.java:297) at org.aspectj.weaver.NameMangler.interMethod(NameMangler.java:242) at org.aspectj.weaver.AjcMemberMaker.interMethod(AjcMemberMaker.java:538) at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOv...
resolved fixed
cbb6f5a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T20:13:54Z
2012-08-21T17:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
private static final boolean DUMP_STACK = false; public EclipseFactory factory; public AjProblemReporter(IErrorHandlingPolicy policy, CompilerOptions options, IProblemFactory problemFactory) { super(policy, options, problemFactory); } public void unhandledException(TypeBinding exceptionType, ASTNode location) { ...
387,718
Bug 387718 RuntimeException when trying to compile broken code
java.lang.RuntimeException at org.aspectj.weaver.NameMangler.makeVisibilityName(NameMangler.java:297) at org.aspectj.weaver.NameMangler.interMethod(NameMangler.java:242) at org.aspectj.weaver.AjcMemberMaker.interMethod(AjcMemberMaker.java:538) at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOv...
resolved fixed
cbb6f5a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T20:13:54Z
2012-08-21T17:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
if (!isExceptionTypeOrSubtype.alwaysTrue()) continue; if (callSite != null) { FuzzyBoolean match = d.getPointcut().match(callSite); if (match.alwaysTrue()) { return; } else if (!match.alwaysFalse()) { } } if (enclosingExec != null) { FuzzyBoolean matc...
387,718
Bug 387718 RuntimeException when trying to compile broken code
java.lang.RuntimeException at org.aspectj.weaver.NameMangler.makeVisibilityName(NameMangler.java:297) at org.aspectj.weaver.NameMangler.interMethod(NameMangler.java:242) at org.aspectj.weaver.AjcMemberMaker.interMethod(AjcMemberMaker.java:538) at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOv...
resolved fixed
cbb6f5a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T20:13:54Z
2012-08-21T17:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
private boolean isPointcutDeclaration(MethodBinding binding) { return CharOperation.prefixEquals(PointcutDeclaration.mangledPrefix, binding.selector); } private boolean isIntertypeDeclaration(MethodBinding binding) { return (binding instanceof InterTypeMethodBinding); } public void abstractMethodCannotBeOverrid...
387,718
Bug 387718 RuntimeException when trying to compile broken code
java.lang.RuntimeException at org.aspectj.weaver.NameMangler.makeVisibilityName(NameMangler.java:297) at org.aspectj.weaver.NameMangler.interMethod(NameMangler.java:242) at org.aspectj.weaver.AjcMemberMaker.interMethod(AjcMemberMaker.java:538) at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOv...
resolved fixed
cbb6f5a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T20:13:54Z
2012-08-21T17:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
AjcMemberMaker.interMethod(sig, m.getAspectType(), sig.getDeclaringType().resolve(factory.getWorld()) .isInterface()), factory.makeResolvedMember(concreteMethod))) { return; } } } super.inheritedMethodReducesVisibility(type, concreteMethod, abstractMethods); } public void staticAndInstanceCo...
387,718
Bug 387718 RuntimeException when trying to compile broken code
java.lang.RuntimeException at org.aspectj.weaver.NameMangler.makeVisibilityName(NameMangler.java:297) at org.aspectj.weaver.NameMangler.interMethod(NameMangler.java:242) at org.aspectj.weaver.AjcMemberMaker.interMethod(AjcMemberMaker.java:538) at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOv...
resolved fixed
cbb6f5a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T20:13:54Z
2012-08-21T17:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
if (!type.isAnonymousType()) { onTypeX = factory.fromEclipse(type); } else { onTypeX = factory.fromEclipse(type.superclass()); } if (onTypeX.isRawType()) onTypeX = onTypeX.getGenericType(); List<ConcreteTypeMunger> mungers = onTypeX.getInterTypeMungersIncludingSupers(); for (ConcreteType...
387,718
Bug 387718 RuntimeException when trying to compile broken code
java.lang.RuntimeException at org.aspectj.weaver.NameMangler.makeVisibilityName(NameMangler.java:297) at org.aspectj.weaver.NameMangler.interMethod(NameMangler.java:242) at org.aspectj.weaver.AjcMemberMaker.interMethod(AjcMemberMaker.java:538) at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOv...
resolved fixed
cbb6f5a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T20:13:54Z
2012-08-21T17:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
if (ResolvedType.matches(sig, factory.makeResolvedMember(abstractMethod))) return; } } } super.abstractMethodMustBeImplemented(type, abstractMethod); } /* * (non-Javadoc) * * @see * org.aspectj.org.eclipse.jdt.internal.compiler.problem.ProblemReporter#disallowedTargetForAnnotation(org.aspect...
387,718
Bug 387718 RuntimeException when trying to compile broken code
java.lang.RuntimeException at org.aspectj.weaver.NameMangler.makeVisibilityName(NameMangler.java:297) at org.aspectj.weaver.NameMangler.interMethod(NameMangler.java:242) at org.aspectj.weaver.AjcMemberMaker.interMethod(AjcMemberMaker.java:538) at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOv...
resolved fixed
cbb6f5a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T20:13:54Z
2012-08-21T17:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
} else if (name.indexOf("declare_" + DeclareAnnotation.AT_TYPE + "_") != -1) { if ((metaTagBits & TagBits.AnnotationForAnnotationType) != 0 || (metaTagBits & TagBits.AnnotationForType) != 0) return; } else if (name.indexOf("declare_" + DeclareAnnotation.AT_FIELD + "_") != -1) { if ((metaTagBits & Ta...
387,718
Bug 387718 RuntimeException when trying to compile broken code
java.lang.RuntimeException at org.aspectj.weaver.NameMangler.makeVisibilityName(NameMangler.java:297) at org.aspectj.weaver.NameMangler.interMethod(NameMangler.java:242) at org.aspectj.weaver.AjcMemberMaker.interMethod(AjcMemberMaker.java:538) at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOv...
resolved fixed
cbb6f5a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T20:13:54Z
2012-08-21T17:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
messageArguments, severity, problemStartPosition, problemEndPosition, referenceContext, unitResult); } public void javadocMissingParamTag(char[] name, int sourceStart, int sourceEnd, int modifiers) { boolean reportIt = true; String sName = new String(name); if (sName.startsWith("ajc$")) reportIt = fals...
387,718
Bug 387718 RuntimeException when trying to compile broken code
java.lang.RuntimeException at org.aspectj.weaver.NameMangler.makeVisibilityName(NameMangler.java:297) at org.aspectj.weaver.NameMangler.interMethod(NameMangler.java:242) at org.aspectj.weaver.AjcMemberMaker.interMethod(AjcMemberMaker.java:538) at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOv...
resolved fixed
cbb6f5a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T20:13:54Z
2012-08-21T17:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
/** * Called when there is an ITD marked @override that doesn't override a supertypes method. The method and the binding are passed * - some information is useful from each. The 'method' knows about source offsets for the message, the 'binding' has the * signature of what the ITD is trying to be in the target cla...
387,718
Bug 387718 RuntimeException when trying to compile broken code
java.lang.RuntimeException at org.aspectj.weaver.NameMangler.makeVisibilityName(NameMangler.java:297) at org.aspectj.weaver.NameMangler.interMethod(NameMangler.java:242) at org.aspectj.weaver.AjcMemberMaker.interMethod(AjcMemberMaker.java:538) at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOv...
resolved fixed
cbb6f5a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T20:13:54Z
2012-08-21T17:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
ConcreteTypeMunger m = (ConcreteTypeMunger) i.next(); ResolvedMember sig = m.getSignature(); if (sig == null) continue; UnresolvedType dType = sig.getDeclaringType(); if (dType == null) continue; ResolvedType resolvedDeclaringType = dType.resolve(factory.getWorld()); ResolvedMember rm...
387,718
Bug 387718 RuntimeException when trying to compile broken code
java.lang.RuntimeException at org.aspectj.weaver.NameMangler.makeVisibilityName(NameMangler.java:297) at org.aspectj.weaver.NameMangler.interMethod(NameMangler.java:242) at org.aspectj.weaver.AjcMemberMaker.interMethod(AjcMemberMaker.java:538) at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOv...
resolved fixed
cbb6f5a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T20:13:54Z
2012-08-21T17:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
buffer.append("..."); } return buffer.toString(); } public void visibilityConflict(MethodBinding currentMethod, MethodBinding inheritedMethod) { if (isIntertypeDeclaration(currentMethod) && isIntertypeDeclaration(inheritedMethod) && Modifier.isPrivate(currentMethod.modifiers) && Modifier.isPrivate(in...
387,718
Bug 387718 RuntimeException when trying to compile broken code
java.lang.RuntimeException at org.aspectj.weaver.NameMangler.makeVisibilityName(NameMangler.java:297) at org.aspectj.weaver.NameMangler.interMethod(NameMangler.java:242) at org.aspectj.weaver.AjcMemberMaker.interMethod(AjcMemberMaker.java:538) at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOv...
resolved fixed
cbb6f5a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T20:13:54Z
2012-08-21T17:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
continue; if (CharOperation.compareWith(typeDecl.binding.signature(), ut.getSignature().toCharArray()) == 0) return; } } } } } super.unusedPrivateType(typeDecl); } public void abstractMethodInConcreteClass(SourceTypeBinding type) { if (type.scope!=null && type.scope.referenceC...
387,718
Bug 387718 RuntimeException when trying to compile broken code
java.lang.RuntimeException at org.aspectj.weaver.NameMangler.makeVisibilityName(NameMangler.java:297) at org.aspectj.weaver.NameMangler.interMethod(NameMangler.java:242) at org.aspectj.weaver.AjcMemberMaker.interMethod(AjcMemberMaker.java:538) at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOv...
resolved fixed
cbb6f5a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T20:13:54Z
2012-08-21T17:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
ConcreteTypeMunger m = (ConcreteTypeMunger) i.next(); ResolvedType theAspect = m.getAspectType(); if (!checked.contains(theAspect)) { TypeBinding tb = factory.makeTypeBinding(m.getAspectType()); if (tb instanceof SourceTypeBinding) { IPrivilegedHandler privilegedHandler = ((SourceTypeBind...
387,718
Bug 387718 RuntimeException when trying to compile broken code
java.lang.RuntimeException at org.aspectj.weaver.NameMangler.makeVisibilityName(NameMangler.java:297) at org.aspectj.weaver.NameMangler.interMethod(NameMangler.java:242) at org.aspectj.weaver.AjcMemberMaker.interMethod(AjcMemberMaker.java:538) at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOv...
resolved fixed
cbb6f5a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T20:13:54Z
2012-08-21T17:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
super.unusedPrivateField(fieldDecl); } public void unusedPrivateMethod(AbstractMethodDeclaration methodDecl) { if (!(methodDecl instanceof PointcutDeclaration)) super.unusedPrivateMethod(methodDecl); } public void caseExpressionMustBeConstant(Expression expression) { if (expression instanceof QualifiedNam...
387,718
Bug 387718 RuntimeException when trying to compile broken code
java.lang.RuntimeException at org.aspectj.weaver.NameMangler.makeVisibilityName(NameMangler.java:297) at org.aspectj.weaver.NameMangler.interMethod(NameMangler.java:242) at org.aspectj.weaver.AjcMemberMaker.interMethod(AjcMemberMaker.java:538) at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOv...
resolved fixed
cbb6f5a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T20:13:54Z
2012-08-21T17:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
return; } } if (new String(localDecl.name).startsWith("ajc$")) { return; } super.unusedArgument(localDecl); } /** * A side-effect of the way that we handle itds on default methods on top-most implementors of interfaces is that a class * acquiring a final default ITD will erroneously report that ...
387,718
Bug 387718 RuntimeException when trying to compile broken code
java.lang.RuntimeException at org.aspectj.weaver.NameMangler.makeVisibilityName(NameMangler.java:297) at org.aspectj.weaver.NameMangler.interMethod(NameMangler.java:242) at org.aspectj.weaver.AjcMemberMaker.interMethod(AjcMemberMaker.java:538) at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOv...
resolved fixed
cbb6f5a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T20:13:54Z
2012-08-21T17:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
if ((inheritedMethod2 instanceof ParameterizedMethodBinding) && ((ParameterizedMethodBinding) inheritedMethod2).original() instanceof InterTypeMethodBinding) return; super.duplicateInheritedMethods(type, inheritedMethod1, inheritedMethod2); } /** * All problems end up routed through here at some point... ...
387,718
Bug 387718 RuntimeException when trying to compile broken code
java.lang.RuntimeException at org.aspectj.weaver.NameMangler.makeVisibilityName(NameMangler.java:297) at org.aspectj.weaver.NameMangler.interMethod(NameMangler.java:242) at org.aspectj.weaver.AjcMemberMaker.interMethod(AjcMemberMaker.java:538) at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOv...
resolved fixed
cbb6f5a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T20:13:54Z
2012-08-21T17:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
private IProblem delegate; private String message; 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 = delegat...
387,718
Bug 387718 RuntimeException when trying to compile broken code
java.lang.RuntimeException at org.aspectj.weaver.NameMangler.makeVisibilityName(NameMangler.java:297) at org.aspectj.weaver.NameMangler.interMethod(NameMangler.java:242) at org.aspectj.weaver.AjcMemberMaker.interMethod(AjcMemberMaker.java:538) at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOv...
resolved fixed
cbb6f5a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T20:13:54Z
2012-08-21T17:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
} public int getSourceStart() { return delegate.getSourceStart(); } public boolean isError() { return delegate.isError(); } public boolean isWarning() { return delegate.isWarning(); } public void setSourceEnd(int sourceEnd) { delegate.setSourceEnd(sourceEnd); } public void setSourceLineNum...
387,718
Bug 387718 RuntimeException when trying to compile broken code
java.lang.RuntimeException at org.aspectj.weaver.NameMangler.makeVisibilityName(NameMangler.java:297) at org.aspectj.weaver.NameMangler.interMethod(NameMangler.java:242) at org.aspectj.weaver.AjcMemberMaker.interMethod(AjcMemberMaker.java:538) at org.aspectj.ajdt.internal.compiler.problem.AjProblemReporter.methodMustOv...
resolved fixed
cbb6f5a
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-22T20:13:54Z
2012-08-21T17:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
} } public void duplicateMethodInType(SourceTypeBinding type, AbstractMethodDeclaration methodDecl, boolean equalParameters, int severity) { if (new String(methodDecl.selector).startsWith("ajc$interMethod")) { return; } super.duplicateMethodInType(type, methodDecl, equalParameters, severity); } pub...
387,444
Bug 387444 Softening exception in try-with-resources
null
resolved fixed
76d695f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T19:19:58Z
2012-08-16T23:33:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.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...
387,444
Bug 387444 Softening exception in try-with-resources
null
resolved fixed
76d695f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T19:19:58Z
2012-08-16T23:33:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Set; import org.aspectj.ajdt.internal.compiler.ast.AspectDeclaration; import org.aspectj.ajdt.internal.compiler.ast.DeclareAnnotationDeclaration; import org.aspectj.ajdt.internal.compiler.ast.PointcutDeclaration; import org.asp...
387,444
Bug 387444 Softening exception in try-with-resources
null
resolved fixed
76d695f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T19:19:58Z
2012-08-16T23:33:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.IPrivilegedHandler; import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding; import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ParameterizedMethodBinding; import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding;...
387,444
Bug 387444 Softening exception in try-with-resources
null
resolved fixed
76d695f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T19:19:58Z
2012-08-16T23:33:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
private static final boolean DUMP_STACK = false; public EclipseFactory factory; public AjProblemReporter(IErrorHandlingPolicy policy, CompilerOptions options, IProblemFactory problemFactory) { super(policy, options, problemFactory); } public void unhandledException(TypeBinding exceptionType, ASTNode location) { ...
387,444
Bug 387444 Softening exception in try-with-resources
null
resolved fixed
76d695f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T19:19:58Z
2012-08-16T23:33:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
FuzzyBoolean match = d.getPointcut().match(callSite); if (match.alwaysTrue()) { return; } else if (!match.alwaysFalse()) { } } if (enclosingExec != null) { FuzzyBoolean match = d.getPointcut().match(enclosingExec); if (match.alwaysTrue()) { return...
387,444
Bug 387444 Softening exception in try-with-resources
null
resolved fixed
76d695f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T19:19:58Z
2012-08-16T23:33:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
private boolean isIntertypeDeclaration(MethodBinding binding) { return (binding instanceof InterTypeMethodBinding); } public void abstractMethodCannotBeOverridden(SourceTypeBinding type, MethodBinding concreteMethod) { if (isPointcutDeclaration(concreteMethod)) { return; } super.abstractMethodCannotBeOverr...
387,444
Bug 387444 Softening exception in try-with-resources
null
resolved fixed
76d695f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T19:19:58Z
2012-08-16T23:33:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
} } } super.inheritedMethodReducesVisibility(type, concreteMethod, abstractMethods); } public void staticAndInstanceConflict(MethodBinding currentMethod, MethodBinding inheritedMethod) { if (currentMethod instanceof InterTypeMethodBinding) return; if (inheritedMethod instanceof InterTypeMethodBinding)...
387,444
Bug 387444 Softening exception in try-with-resources
null
resolved fixed
76d695f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T19:19:58Z
2012-08-16T23:33:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
onTypeX = factory.fromEclipse(type.superclass()); } if (onTypeX.isRawType()) onTypeX = onTypeX.getGenericType(); List<ConcreteTypeMunger> mungers = onTypeX.getInterTypeMungersIncludingSupers(); for (ConcreteTypeMunger m : mungers) { ResolvedMember sig = m.getSignature(); if (sig != null && !Modifier.i...
387,444
Bug 387444 Softening exception in try-with-resources
null
resolved fixed
76d695f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T19:19:58Z
2012-08-16T23:33:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
} } super.abstractMethodMustBeImplemented(type, abstractMethod); } /* * (non-Javadoc) * * @see * org.aspectj.org.eclipse.jdt.internal.compiler.problem.ProblemReporter#disallowedTargetForAnnotation(org.aspectj.org.eclipse * .jdt.internal.compiler.ast.Annotation) */ public void disallowedTargetForAnno...
387,444
Bug 387444 Softening exception in try-with-resources
null
resolved fixed
76d695f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T19:19:58Z
2012-08-16T23:33:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
} else if (name.indexOf("declare_" + DeclareAnnotation.AT_FIELD + "_") != -1) { if ((metaTagBits & TagBits.AnnotationForField) != 0) return; } else if (name.indexOf("declare_" + DeclareAnnotation.AT_CONSTRUCTOR + "_") != -1) { if ((metaTagBits & TagBits.AnnotationForConstructor) != 0) return; ...
387,444
Bug 387444 Softening exception in try-with-resources
null
resolved fixed
76d695f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T19:19:58Z
2012-08-16T23:33:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
public void javadocMissingParamTag(char[] name, int sourceStart, int sourceEnd, int modifiers) { boolean reportIt = true; String sName = new String(name); if (sName.startsWith("ajc$")) reportIt = false; if (sName.equals("thisJoinPoint")) reportIt = false; if (sName.equals("thisJoinPointStaticPart")) ...
387,444
Bug 387444 Softening exception in try-with-resources
null
resolved fixed
76d695f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T19:19:58Z
2012-08-16T23:33:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
* signature of what the ITD is trying to be in the target class. */ public void itdMethodMustOverride(AbstractMethodDeclaration method, MethodBinding binding) { this.handle(IProblem.MethodMustOverride, new String[] { new String(binding.selector), typesAsString(binding.isVarargs(), binding.parameters, false), ...
387,444
Bug 387444 Softening exception in try-with-resources
null
resolved fixed
76d695f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T19:19:58Z
2012-08-16T23:33:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
} ResolvedMember sig = m.getSignature(); if (sig == null) continue; UnresolvedType dType = sig.getDeclaringType(); if (dType == null) continue; ResolvedType resolvedDeclaringType = dType.resolve(factory.getWorld()); ResolvedMember rm = AjcMemberMaker.interMethod(sig, m.getAspectType()...
387,444
Bug 387444 Softening exception in try-with-resources
null
resolved fixed
76d695f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T19:19:58Z
2012-08-16T23:33:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
buffer.append("..."); } return buffer.toString(); } public void visibilityConflict(MethodBinding currentMethod, MethodBinding inheritedMethod) { if (isIntertypeDeclaration(currentMethod) && isIntertypeDeclaration(inheritedMethod) && Modifier.isPrivate(currentMethod.modifiers) && Modifier.isPrivate(in...
387,444
Bug 387444 Softening exception in try-with-resources
null
resolved fixed
76d695f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T19:19:58Z
2012-08-16T23:33:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
continue; if (CharOperation.compareWith(typeDecl.binding.signature(), ut.getSignature().toCharArray()) == 0) return; } } } } } super.unusedPrivateType(typeDecl); } public void abstractMethodInConcreteClass(SourceTypeBinding type) { if (type.scope!=null && type.scope.referenceC...
387,444
Bug 387444 Softening exception in try-with-resources
null
resolved fixed
76d695f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T19:19:58Z
2012-08-16T23:33:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
ConcreteTypeMunger m = (ConcreteTypeMunger) i.next(); ResolvedType theAspect = m.getAspectType(); if (!checked.contains(theAspect)) { TypeBinding tb = factory.makeTypeBinding(m.getAspectType()); if (tb instanceof SourceTypeBinding) { IPrivilegedHandler privilegedHandler = ((SourceTypeBind...
387,444
Bug 387444 Softening exception in try-with-resources
null
resolved fixed
76d695f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T19:19:58Z
2012-08-16T23:33:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
super.unusedPrivateField(fieldDecl); } public void unusedPrivateMethod(AbstractMethodDeclaration methodDecl) { if (!(methodDecl instanceof PointcutDeclaration)) super.unusedPrivateMethod(methodDecl); } public void caseExpressionMustBeConstant(Expression expression) { if (expression instanceof QualifiedNam...
387,444
Bug 387444 Softening exception in try-with-resources
null
resolved fixed
76d695f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T19:19:58Z
2012-08-16T23:33:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
return; } } if (new String(localDecl.name).startsWith("ajc$")) { return; } super.unusedArgument(localDecl); } /** * A side-effect of the way that we handle itds on default methods on top-most implementors of interfaces is that a class * acquiring a final default ITD will erroneously report that ...
387,444
Bug 387444 Softening exception in try-with-resources
null
resolved fixed
76d695f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T19:19:58Z
2012-08-16T23:33:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
if ((inheritedMethod2 instanceof ParameterizedMethodBinding) && ((ParameterizedMethodBinding) inheritedMethod2).original() instanceof InterTypeMethodBinding) return; super.duplicateInheritedMethods(type, inheritedMethod1, inheritedMethod2); } /** * All problems end up routed through here at some point... ...
387,444
Bug 387444 Softening exception in try-with-resources
null
resolved fixed
76d695f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T19:19:58Z
2012-08-16T23:33:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
private IProblem delegate; private String message; 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 = delegat...
387,444
Bug 387444 Softening exception in try-with-resources
null
resolved fixed
76d695f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T19:19:58Z
2012-08-16T23:33:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
} public int getSourceStart() { return delegate.getSourceStart(); } public boolean isError() { return delegate.isError(); } public boolean isWarning() { return delegate.isWarning(); } public void setSourceEnd(int sourceEnd) { delegate.setSourceEnd(sourceEnd); } public void setSourceLineNum...
387,444
Bug 387444 Softening exception in try-with-resources
null
resolved fixed
76d695f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T19:19:58Z
2012-08-16T23:33:20Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
} } public void duplicateMethodInType(SourceTypeBinding type, AbstractMethodDeclaration methodDecl, boolean equalParameters, int severity) { if (new String(methodDecl.selector).startsWith("ajc$interMethod")) { return; } super.duplicateMethodInType(type, methodDecl, equalParameters, severity); } pub...
387,444
Bug 387444 Softening exception in try-with-resources
null
resolved fixed
76d695f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T19:19:58Z
2012-08-16T23:33:20Z
tests/src/org/aspectj/systemtest/ajc171/Ajc171Tests.java
/******************************************************************************* * Copyright (c) 2012 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 * ...
387,444
Bug 387444 Softening exception in try-with-resources
null
resolved fixed
76d695f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T19:19:58Z
2012-08-16T23:33:20Z
tests/src/org/aspectj/systemtest/ajc171/Ajc171Tests.java
runTest("public ITDfs - 1"); } public void testPublicITDFs_pr73507_2() { runTest("public ITDfs - 2"); } public void testPublicITDFs_pr73507_3() { runTest("public ITDfs - 3"); } public void testPublicITDFs_pr73507_4() { runTest("public ITDfs - 4"); } public void testPublicITDFs_pr73507_5() { runTest("p...
384,401
Bug 384401 NPE when no pointcut in afterthrowing annotation style advice
From the mailing list: import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; @Aspect public class X { // @AfterThrowing(pointcut="execution(* *(..))",throwing = "e") @AfterThrowing(throwing = "e") public void bizLoggerWithException(JoinPoint this...
resolved fixed
55ebaa1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T20:05:24Z
2012-07-05T17:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ValidateAtAspectJAnnotationsVisitor.java
/* ******************************************************************* * Copyright (c) 2005 IBM Corporation Ltd * 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 ...
384,401
Bug 384401 NPE when no pointcut in afterthrowing annotation style advice
From the mailing list: import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; @Aspect public class X { // @AfterThrowing(pointcut="execution(* *(..))",throwing = "e") @AfterThrowing(throwing = "e") public void bizLoggerWithException(JoinPoint this...
resolved fixed
55ebaa1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T20:05:24Z
2012-07-05T17:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ValidateAtAspectJAnnotationsVisitor.java
import org.aspectj.org.eclipse.jdt.internal.compiler.ast.MemberValuePair; import org.aspectj.org.eclipse.jdt.internal.compiler.ast.MethodDeclaration; import org.aspectj.org.eclipse.jdt.internal.compiler.ast.NameReference; import org.aspectj.org.eclipse.jdt.internal.compiler.ast.NormalAnnotation; import org.aspectj.org....
384,401
Bug 384401 NPE when no pointcut in afterthrowing annotation style advice
From the mailing list: import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; @Aspect public class X { // @AfterThrowing(pointcut="execution(* *(..))",throwing = "e") @AfterThrowing(throwing = "e") public void bizLoggerWithException(JoinPoint this...
resolved fixed
55ebaa1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T20:05:24Z
2012-07-05T17:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ValidateAtAspectJAnnotationsVisitor.java
private static final char[] beforeAdviceSig = "Lorg/aspectj/lang/annotation/Before;".toCharArray(); private static final char[] afterAdviceSig = "Lorg/aspectj/lang/annotation/After;".toCharArray(); private static final char[] afterReturningAdviceSig = "Lorg/aspectj/lang/annotation/AfterReturning;".toCharArray(); pri...
384,401
Bug 384401 NPE when no pointcut in afterthrowing annotation style advice
From the mailing list: import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; @Aspect public class X { // @AfterThrowing(pointcut="execution(* *(..))",throwing = "e") @AfterThrowing(throwing = "e") public void bizLoggerWithException(JoinPoint this...
resolved fixed
55ebaa1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T20:05:24Z
2012-07-05T17:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ValidateAtAspectJAnnotationsVisitor.java
private static final char[] voidType = "void".toCharArray(); private static final char[] booleanType = "boolean".toCharArray(); private static final char[] joinPoint = "Lorg/aspectj/lang/JoinPoint;".toCharArray(); private static final char[] joinPointStaticPart = "Lorg/aspectj/lang/JoinPoint$StaticPart;".toCharArray...
384,401
Bug 384401 NPE when no pointcut in afterthrowing annotation style advice
From the mailing list: import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; @Aspect public class X { // @AfterThrowing(pointcut="execution(* *(..))",throwing = "e") @AfterThrowing(throwing = "e") public void bizLoggerWithException(JoinPoint this...
resolved fixed
55ebaa1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T20:05:24Z
2012-07-05T17:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ValidateAtAspectJAnnotationsVisitor.java
public void endVisit(TypeDeclaration memberTypeDeclaration, ClassScope scope) { typeStack.pop(); } public boolean visit(TypeDeclaration typeDeclaration, CompilationUnitScope scope) { typeStack.push(typeDeclaration); ajAnnotations = new AspectJAnnotations(typeDeclaration.annotations); checkTypeDeclaration(type...
384,401
Bug 384401 NPE when no pointcut in afterthrowing annotation style advice
From the mailing list: import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; @Aspect public class X { // @AfterThrowing(pointcut="execution(* *(..))",throwing = "e") @AfterThrowing(throwing = "e") public void bizLoggerWithException(JoinPoint this...
resolved fixed
55ebaa1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T20:05:24Z
2012-07-05T17:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ValidateAtAspectJAnnotationsVisitor.java
} } } } } } else { if (ajAnnotations.hasMultipleAspectAnnotations) { typeDecl.scope.problemReporter().signalError(typeDecl.sourceStart, typeDecl.sourceEnd, "aspects cannot have @Aspect annotation"); } } CompilationAndWeavingContext.leavingPhase(tok); } public boolean vi...
384,401
Bug 384401 NPE when no pointcut in afterthrowing annotation style advice
From the mailing list: import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; @Aspect public class X { // @AfterThrowing(pointcut="execution(* *(..))",throwing = "e") @AfterThrowing(throwing = "e") public void bizLoggerWithException(JoinPoint this...
resolved fixed
55ebaa1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T20:05:24Z
2012-07-05T17:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ValidateAtAspectJAnnotationsVisitor.java
if (!methodDeclaration.getClass().equals(AjMethodDeclaration.class)) { if (methodDeclaration instanceof PointcutDeclaration) { if (ajAnnotations.hasMultiplePointcutAnnotations || ajAnnotations.hasAdviceAnnotation || ajAnnotations.hasAspectAnnotation || ajAnnotations.hasAdviceNameAnnotation) { ...
384,401
Bug 384401 NPE when no pointcut in afterthrowing annotation style advice
From the mailing list: import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; @Aspect public class X { // @AfterThrowing(pointcut="execution(* *(..))",throwing = "e") @AfterThrowing(throwing = "e") public void bizLoggerWithException(JoinPoint this...
resolved fixed
55ebaa1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T20:05:24Z
2012-07-05T17:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ValidateAtAspectJAnnotationsVisitor.java
return false; } private boolean insideAspect() { if (typeStack.empty()) return false; TypeDeclaration typeDecl = (TypeDeclaration) typeStack.peek(); return isAspect(typeDecl); } private boolean isAspect(TypeDeclaration typeDecl) { if (typeDecl instanceof AspectDeclaration) return true; ret...
384,401
Bug 384401 NPE when no pointcut in afterthrowing annotation style advice
From the mailing list: import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; @Aspect public class X { // @AfterThrowing(pointcut="execution(* *(..))",throwing = "e") @AfterThrowing(throwing = "e") public void bizLoggerWithException(JoinPoint this...
resolved fixed
55ebaa1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T20:05:24Z
2012-07-05T17:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ValidateAtAspectJAnnotationsVisitor.java
SourceTypeBinding binding = typeDecl.binding; if (binding != null) { if (binding.isEnum() || binding.isInterface() || binding.isAnnotationType()) { typeDecl.scope.problemReporter().signalError(typeDecl.sourceStart, typeDecl.sourceEnd, "only classes can have an @Aspect annotation"); } } ...
384,401
Bug 384401 NPE when no pointcut in afterthrowing annotation style advice
From the mailing list: import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; @Aspect public class X { // @AfterThrowing(pointcut="execution(* *(..))",throwing = "e") @AfterThrowing(throwing = "e") public void bizLoggerWithException(JoinPoint this...
resolved fixed
55ebaa1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T20:05:24Z
2012-07-05T17:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ValidateAtAspectJAnnotationsVisitor.java
int[] pcLoc = new int[2]; String perClause = getStringLiteralFor("value", aspectAnnotation, pcLoc); try { if (perClause != null && !perClause.equals("")) { ISourceContext context = new EclipseSourceContext(unit.compilationResult, pcLoc[0]); Pointcut pc = new PatternParser(perClause, context).maybeP...
384,401
Bug 384401 NPE when no pointcut in afterthrowing annotation style advice
From the mailing list: import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; @Aspect public class X { // @AfterThrowing(pointcut="execution(* *(..))",throwing = "e") @AfterThrowing(throwing = "e") public void bizLoggerWithException(JoinPoint this...
resolved fixed
55ebaa1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T20:05:24Z
2012-07-05T17:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ValidateAtAspectJAnnotationsVisitor.java
"advice must be public"); } if (Modifier.isStatic(methodDeclaration.modifiers)) { methodDeclaration.scope.problemReporter().signalError(methodDeclaration.sourceStart, methodDeclaration.sourceEnd, "advice can not be declared static"); } if (ajAnnotations.hasMultipleAdviceAnnotations) { methodDeclarati...
384,401
Bug 384401 NPE when no pointcut in afterthrowing annotation style advice
From the mailing list: import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; @Aspect public class X { // @AfterThrowing(pointcut="execution(* *(..))",throwing = "e") @AfterThrowing(throwing = "e") public void bizLoggerWithException(JoinPoint this...
resolved fixed
55ebaa1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T20:05:24Z
2012-07-05T17:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ValidateAtAspectJAnnotationsVisitor.java
} } } if (ajAnnotations.adviceKind == AdviceKind.AfterReturning) { int[] throwingLocation = new int[2]; String returningFormal = getStringLiteralFor("returning", ajAnnotations.adviceAnnotation, throwingLocation); if (returningFormal != null) { if (!toArgumentNames(methodDeclaration.arguments).contai...
384,401
Bug 384401 NPE when no pointcut in afterthrowing annotation style advice
From the mailing list: import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; @Aspect public class X { // @AfterThrowing(pointcut="execution(* *(..))",throwing = "e") @AfterThrowing(throwing = "e") public void bizLoggerWithException(JoinPoint this...
resolved fixed
55ebaa1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T20:05:24Z
2012-07-05T17:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ValidateAtAspectJAnnotationsVisitor.java
return names; } } private void resolveAndSetPointcut(MethodDeclaration methodDeclaration, Annotation adviceAnn) { int[] pcLocation = new int[2]; String pointcutExpression = getStringLiteralFor("pointcut", adviceAnn, pcLocation); if (pointcutExpression == null) pointcutExpression = getStringLiteralFor("valu...
384,401
Bug 384401 NPE when no pointcut in afterthrowing annotation style advice
From the mailing list: import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; @Aspect public class X { // @AfterThrowing(pointcut="execution(* *(..))",throwing = "e") @AfterThrowing(throwing = "e") public void bizLoggerWithException(JoinPoint this...
resolved fixed
55ebaa1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T20:05:24Z
2012-07-05T17:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ValidateAtAspectJAnnotationsVisitor.java
} } private void ensureVoidReturnType(MethodDeclaration methodDeclaration) { boolean returnsVoid = true; if ((methodDeclaration.returnType instanceof SingleTypeReference)) { SingleTypeReference retType = (SingleTypeReference) methodDeclaration.returnType; if (!CharOperation.equals(voidType, retType.token)) ...
384,401
Bug 384401 NPE when no pointcut in afterthrowing annotation style advice
From the mailing list: import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; @Aspect public class X { // @AfterThrowing(pointcut="execution(* *(..))",throwing = "e") @AfterThrowing(throwing = "e") public void bizLoggerWithException(JoinPoint this...
resolved fixed
55ebaa1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T20:05:24Z
2012-07-05T17:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ValidateAtAspectJAnnotationsVisitor.java
TypeBinding argTypeBinding = mDecl.binding.parameters[i]; UnresolvedType type = factory.fromBinding(argTypeBinding); if (CharOperation.equals(joinPoint, argTypeBinding.signature()) || CharOperation.equals(joinPointStaticPart, argTypeBinding.signature()) || CharOperation.equals(joinPointEnclosingStaticPa...
384,401
Bug 384401 NPE when no pointcut in afterthrowing annotation style advice
From the mailing list: import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; @Aspect public class X { // @AfterThrowing(pointcut="execution(* *(..))",throwing = "e") @AfterThrowing(throwing = "e") public void bizLoggerWithException(JoinPoint this...
resolved fixed
55ebaa1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T20:05:24Z
2012-07-05T17:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ValidateAtAspectJAnnotationsVisitor.java
} else if (sma.memberValue instanceof NameReference && (((NameReference) sma.memberValue).binding instanceof FieldBinding)) { Binding b = ((NameReference) sma.memberValue).binding; Constant c = ((FieldBinding) b).constant; return c.stringValue(); } } if (!(inAnnotation instanceof NormalAnnotatio...
384,401
Bug 384401 NPE when no pointcut in afterthrowing annotation style advice
From the mailing list: import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; @Aspect public class X { // @AfterThrowing(pointcut="execution(* *(..))",throwing = "e") @AfterThrowing(throwing = "e") public void bizLoggerWithException(JoinPoint this...
resolved fixed
55ebaa1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T20:05:24Z
2012-07-05T17:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ValidateAtAspectJAnnotationsVisitor.java
"pointcuts can only be declared in a class or an aspect"); } } if (methodDeclaration.thrownExceptions != null && methodDeclaration.thrownExceptions.length > 0) { methodDeclaration.scope.problemReporter().signalError(methodDeclaration.sourceStart, methodDeclaration.sourceEnd, "pointcuts cannot throw excep...
384,401
Bug 384401 NPE when no pointcut in afterthrowing annotation style advice
From the mailing list: import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; @Aspect public class X { // @AfterThrowing(pointcut="execution(* *(..))",throwing = "e") @AfterThrowing(throwing = "e") public void bizLoggerWithException(JoinPoint this...
resolved fixed
55ebaa1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T20:05:24Z
2012-07-05T17:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ValidateAtAspectJAnnotationsVisitor.java
} pcDecl.pointcutDesignator = (pc == null) ? null : new PointcutDesignator(pc); pcDecl.setGenerateSyntheticPointcutMethod(); TypeDeclaration onType = (TypeDeclaration) typeStack.peek(); pcDecl.postParse(onType); FormalBinding[] bindings = buildFormalAdviceBindingsFrom(methodDeclaratio...
384,401
Bug 384401 NPE when no pointcut in afterthrowing annotation style advice
From the mailing list: import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; @Aspect public class X { // @AfterThrowing(pointcut="execution(* *(..))",throwing = "e") @AfterThrowing(throwing = "e") public void bizLoggerWithException(JoinPoint this...
resolved fixed
55ebaa1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T20:05:24Z
2012-07-05T17:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ValidateAtAspectJAnnotationsVisitor.java
HasIfPCDVisitor ifFinder = new HasIfPCDVisitor(); pc.traverse(ifFinder, null); containsIfPcd = ifFinder.containsIfPcd; } } catch (ParserException pEx) { methodDeclaration.scope.problemReporter().parseError(pcLocation[0] + pEx.getLocation().getStart(), pcLocation[0] + pEx.getLocation().getEnd(), -1,...
384,401
Bug 384401 NPE when no pointcut in afterthrowing annotation style advice
From the mailing list: import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; @Aspect public class X { // @AfterThrowing(pointcut="execution(* *(..))",throwing = "e") @AfterThrowing(throwing = "e") public void bizLoggerWithException(JoinPoint this...
resolved fixed
55ebaa1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T20:05:24Z
2012-07-05T17:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ValidateAtAspectJAnnotationsVisitor.java
.signalError(methodDeclaration.returnType.sourceStart, methodDeclaration.returnType.sourceEnd, "Pointcuts without an if() expression should have an empty method body"); } if (pcDecl.pointcutDesignator == null) { if (Modifier.isAbstract(methodDeclaration.modifiers) || noValueSupplied ...
384,401
Bug 384401 NPE when no pointcut in afterthrowing annotation style advice
From the mailing list: import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; @Aspect public class X { // @AfterThrowing(pointcut="execution(* *(..))",throwing = "e") @AfterThrowing(throwing = "e") public void bizLoggerWithException(JoinPoint this...
resolved fixed
55ebaa1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T20:05:24Z
2012-07-05T17:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ValidateAtAspectJAnnotationsVisitor.java
to.arguments = from.arguments; to.binding = from.binding; to.bits = from.bits; to.bodyEnd = from.bodyEnd; to.bodyStart = from.bodyStart; to.declarationSourceEnd = from.declarationSourceEnd; to.declarationSourceStart = from.declarationSourceStart; to.explicitDeclarations = from.explicitDeclarations; to.i...
384,401
Bug 384401 NPE when no pointcut in afterthrowing annotation style advice
From the mailing list: import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; @Aspect public class X { // @AfterThrowing(pointcut="execution(* *(..))",throwing = "e") @AfterThrowing(throwing = "e") public void bizLoggerWithException(JoinPoint this...
resolved fixed
55ebaa1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T20:05:24Z
2012-07-05T17:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ValidateAtAspectJAnnotationsVisitor.java
boolean hasAdviceAnnotation = false; boolean hasPointcutAnnotation = false; boolean hasAspectAnnotation = false; boolean hasAdviceNameAnnotation = false; boolean hasDeclareParents = false; boolean hasMultipleAdviceAnnotations = false; boolean hasMultiplePointcutAnnotations = false; boolean hasMultipleAspe...
384,401
Bug 384401 NPE when no pointcut in afterthrowing annotation style advice
From the mailing list: import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; @Aspect public class X { // @AfterThrowing(pointcut="execution(* *(..))",throwing = "e") @AfterThrowing(throwing = "e") public void bizLoggerWithException(JoinPoint this...
resolved fixed
55ebaa1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T20:05:24Z
2012-07-05T17:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ValidateAtAspectJAnnotationsVisitor.java
adviceKind = AdviceKind.After; addAdviceAnnotation(annotations[i]); } else if (CharOperation.equals(afterReturningAdviceSig, sig)) { adviceKind = AdviceKind.AfterReturning; addAdviceAnnotation(annotations[i]); } else if (CharOperation.equals(afterThrowingAdviceSig, sig)) { adviceKind = Advic...
384,401
Bug 384401 NPE when no pointcut in afterthrowing annotation style advice
From the mailing list: import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; @Aspect public class X { // @AfterThrowing(pointcut="execution(* *(..))",throwing = "e") @AfterThrowing(throwing = "e") public void bizLoggerWithException(JoinPoint this...
resolved fixed
55ebaa1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T20:05:24Z
2012-07-05T17:40:00Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ValidateAtAspectJAnnotationsVisitor.java
duplicatePointcutAnnotation = annotations[i]; } else { hasPointcutAnnotation = true; pointcutAnnotation = annotations[i]; } } } } public boolean hasAspectJAnnotations() { return hasAdviceAnnotation || hasPointcutAnnotation || hasAdviceNameAnnotation || hasAspectAnnotation; } priv...
384,401
Bug 384401 NPE when no pointcut in afterthrowing annotation style advice
From the mailing list: import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; @Aspect public class X { // @AfterThrowing(pointcut="execution(* *(..))",throwing = "e") @AfterThrowing(throwing = "e") public void bizLoggerWithException(JoinPoint this...
resolved fixed
55ebaa1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T20:05:24Z
2012-07-05T17:40:00Z
tests/src/org/aspectj/systemtest/ajc171/Ajc171Tests.java
/******************************************************************************* * Copyright (c) 2012 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 * ...
384,401
Bug 384401 NPE when no pointcut in afterthrowing annotation style advice
From the mailing list: import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; @Aspect public class X { // @AfterThrowing(pointcut="execution(* *(..))",throwing = "e") @AfterThrowing(throwing = "e") public void bizLoggerWithException(JoinPoint this...
resolved fixed
55ebaa1
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-08-23T20:05:24Z
2012-07-05T17:40:00Z
tests/src/org/aspectj/systemtest/ajc171/Ajc171Tests.java
runTest("public ITDfs - 1"); } public void testPublicITDFs_pr73507_2() { runTest("public ITDfs - 2"); } public void testPublicITDFs_pr73507_3() { runTest("public ITDfs - 3"); } public void testPublicITDFs_pr73507_4() { runTest("public ITDfs - 4"); } public void testPublicITDFs_pr73507_5() { runTest("p...
388,971
Bug 388971 Double Synthetic attributes on some around advice members
Some of the support members in aspects were getting Synthetic attributes added twice (once when compiled, once when used as an aspect library). Some JVMs appear to flag this as a verify error. The fix is simply to check before adding to make sure the attribute isn't added twice.
resolved fixed
c2ff74f
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2012-09-06T16:37:31Z
2012-09-06T16:46:40Z
weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.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...