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
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/Options.java
weaverOption.lintFile = arg.substring(OPTIONVALUED_Xlintfile.length()).trim(); } } else if (arg.startsWith(OPTIONVALUED_Xlint)) { if (arg.length() > OPTIONVALUED_Xlint.length()) { weaverOption.lint = arg.substring(OPTIONVALUED_Xlint.length()).trim(); ...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
loadtime/src/org/aspectj/weaver/loadtime/Options.java
boolean java5; boolean lazyTjp; boolean hasMember; String optionalJoinpoints; boolean noWarn; boolean proceedOnError; boolean verbose; boolean notReWeavable = true; boolean noInline; boolean addSerialVersionUID; boolean showWeaveInfo; ...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
tests/src/org/aspectj/systemtest/ajc150/ltw/LTWTests.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 ...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
tests/src/org/aspectj/systemtest/ajc150/ltw/LTWTests.java
public static Test suite() { return XMLBasedAjcTestCase.loadSuite(LTWTests.class); } protected File getSpecFile() { return new File("../tests/src/org/aspectj/systemtest/ajc150/ltw/ltw.xml"); } public void test001(){ runTest("Ensure 1st aspect is rewoven when weaving 2nd aspect"); } public void ...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
tests/src/org/aspectj/systemtest/ajc150/ltw/LTWTests.java
public void testNoAopxml(){ setSystemProperty(WeavingAdaptor.WEAVING_ADAPTOR_VERBOSE,"true"); runTest("Ensure no weaving without visible aop.xml"); } public void testDefineConcreteAspect(){ runTest("Define concrete sub-aspect using aop.xml"); } public void testDeclareAbstractAspect(){ runTest(...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
tests/src/org/aspectj/systemtest/ajc150/ltw/LTWTests.java
runTest("Warning when advice doesn't match using -Xlint:default"); } public void testXlintWarning () { runTest("Override suppressing of warning when advice doesn't match using -Xlint:warning"); } public void testNonstandardJarFiles() { runTest("Nonstandard jar file extensions"); } ...
152,161
Bug 152161 Contribution: Support -Xset in Load-Time Weaving Configuration
I needed this to try out a setting in the pipelined compilation (-Xset:runMinimalMemory=true) ... I was able to verify that it parsed and set an option correctly in the debugger. I also have included a test that sets all the currently available options.
resolved fixed
039be68
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T13:50:57Z
2006-07-28T15:20:00Z
tests/src/org/aspectj/systemtest/ajc150/ltw/LTWTests.java
private Properties savedProperties; protected void setSystemProperty (String key, String value) { Properties systemProperties = System.getProperties(); copyProperty(key,systemProperties,savedProperties); systemProperties.setProperty(key,value); } private static void copyProperty (String key, Properties f...
148,219
Bug 148219 Wrong warning is reported
I used ajdt_1.3.1_for_eclipse_3.1.zip on Eclipse 3.1.2. Below is my aspectj code. public aspect MyMessages { pointcut getResourceString(String key): args(key, ..) && call (* CommonPlugin.getResourceString(String, ..)); String around(String key):getResourceString(key) { return key; } } The warning message is The paramet...
resolved fixed
07c2189
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T15:37:36Z
2006-06-22T15: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...
148,219
Bug 148219 Wrong warning is reported
I used ajdt_1.3.1_for_eclipse_3.1.zip on Eclipse 3.1.2. Below is my aspectj code. public aspect MyMessages { pointcut getResourceString(String key): args(key, ..) && call (* CommonPlugin.getResourceString(String, ..)); String around(String key):getResourceString(key) { return key; } } The warning message is The paramet...
resolved fixed
07c2189
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T15:37:36Z
2006-06-22T15:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
import org.aspectj.ajdt.internal.compiler.lookup.EclipseFactory; import org.aspectj.ajdt.internal.compiler.lookup.InterTypeMethodBinding; import org.aspectj.ajdt.internal.compiler.lookup.PrivilegedFieldBinding; import org.aspectj.bridge.context.CompilationAndWeavingContext; import org.aspectj.org.eclipse.jdt.core.compi...
148,219
Bug 148219 Wrong warning is reported
I used ajdt_1.3.1_for_eclipse_3.1.zip on Eclipse 3.1.2. Below is my aspectj code. public aspect MyMessages { pointcut getResourceString(String key): args(key, ..) && call (* CommonPlugin.getResourceString(String, ..)); String around(String key):getResourceString(key) { return key; } } The warning message is The paramet...
resolved fixed
07c2189
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T15:37:36Z
2006-06-22T15:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
import org.aspectj.weaver.ResolvedType; import org.aspectj.weaver.Shadow; import org.aspectj.weaver.UnresolvedType; import org.aspectj.weaver.patterns.DeclareAnnotation; import org.aspectj.weaver.patterns.DeclareParents; import org.aspectj.weaver.patterns.DeclareSoft; import org.aspectj.weaver.patterns.TypePattern; /**...
148,219
Bug 148219 Wrong warning is reported
I used ajdt_1.3.1_for_eclipse_3.1.zip on Eclipse 3.1.2. Below is my aspectj code. public aspect MyMessages { pointcut getResourceString(String key): args(key, ..) && call (* CommonPlugin.getResourceString(String, ..)); String around(String key):getResourceString(key) { return key; } } The warning message is The paramet...
resolved fixed
07c2189
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T15:37:36Z
2006-06-22T15:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
ASTNode location) { if (!factory.getWorld().getDeclareSoft().isEmpty()) { Shadow callSite = factory.makeShadow(location, referenceContext); Shadow enclosingExec = factory.makeShadow(referenceContext); if ((callSite == null) && (enclosingExec.getKind() == Shadow.ConstructorExecution) && (locat...
148,219
Bug 148219 Wrong warning is reported
I used ajdt_1.3.1_for_eclipse_3.1.zip on Eclipse 3.1.2. Below is my aspectj code. public aspect MyMessages { pointcut getResourceString(String key): args(key, ..) && call (* CommonPlugin.getResourceString(String, ..)); String around(String key):getResourceString(key) { return key; } } The warning message is The paramet...
resolved fixed
07c2189
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T15:37:36Z
2006-06-22T15:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
} } if (enclosingExec != null) { FuzzyBoolean match = d.getPointcut().match(enclosingExec); if (match.alwaysTrue()) { return; } else if (!match.alwaysFalse()) { } } } } if (location instanceof Proceed) { return; } super.unhandledException(ex...
148,219
Bug 148219 Wrong warning is reported
I used ajdt_1.3.1_for_eclipse_3.1.zip on Eclipse 3.1.2. Below is my aspectj code. public aspect MyMessages { pointcut getResourceString(String key): args(key, ..) && call (* CommonPlugin.getResourceString(String, ..)); String around(String key):getResourceString(key) { return key; } } The warning message is The paramet...
resolved fixed
07c2189
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T15:37:36Z
2006-06-22T15:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
SourceTypeBinding type, MethodBinding concreteMethod) { if (isPointcutDeclaration(concreteMethod)) { return; } super.abstractMethodCannotBeOverridden(type, concreteMethod); } public void inheritedMethodReducesVisibility(SourceTypeBinding type, MethodBinding concreteMethod, MethodBinding[] abstractMethods)...
148,219
Bug 148219 Wrong warning is reported
I used ajdt_1.3.1_for_eclipse_3.1.zip on Eclipse 3.1.2. Below is my aspectj code. public aspect MyMessages { pointcut getResourceString(String key): args(key, ..) && call (* CommonPlugin.getResourceString(String, ..)); String around(String key):getResourceString(key) { return key; } } The warning message is The paramet...
resolved fixed
07c2189
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T15:37:36Z
2006-06-22T15:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
sig.getDeclaringType().resolve(factory.getWorld()).isInterface()), factory.makeResolvedMember(concreteMethod))) { return; } } } super.inheritedMethodReducesVisibility(type,concreteMethod,abstractMethods); } public void staticAndInstanceConflict(MethodBinding currentMethod, MethodBinding inheri...
148,219
Bug 148219 Wrong warning is reported
I used ajdt_1.3.1_for_eclipse_3.1.zip on Eclipse 3.1.2. Below is my aspectj code. public aspect MyMessages { pointcut getResourceString(String key): args(key, ..) && call (* CommonPlugin.getResourceString(String, ..)); String around(String key):getResourceString(key) { return key; } } The warning message is The paramet...
resolved fixed
07c2189
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T15:37:36Z
2006-06-22T15:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
ResolvedType onTypeX = null; if (!type.isAnonymousType()) { onTypeX = factory.fromEclipse(type); } else { onTypeX = factory.fromEclipse(type.superclass()); } for (Iterator i = onTypeX.getInterTypeMungersIncludingSupers().iterator(); i.hasNext(); ) { ConcreteTypeMunger m = (Concre...
148,219
Bug 148219 Wrong warning is reported
I used ajdt_1.3.1_for_eclipse_3.1.zip on Eclipse 3.1.2. Below is my aspectj code. public aspect MyMessages { pointcut getResourceString(String key): args(key, ..) && call (* CommonPlugin.getResourceString(String, ..)); String around(String key):getResourceString(key) { return key; } } The warning message is The paramet...
resolved fixed
07c2189
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T15:37:36Z
2006-06-22T15:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
* @see org.aspectj.org.eclipse.jdt.internal.compiler.problem.ProblemReporter#disallowedTargetForAnnotation(org.aspectj.org.eclipse.jdt.internal.compiler.ast.Annotation) */ public void disallowedTargetForAnnotation(Annotation annotation) { if (annotation.recipient instanceof MethodBinding) { MethodBinding bin...
148,219
Bug 148219 Wrong warning is reported
I used ajdt_1.3.1_for_eclipse_3.1.zip on Eclipse 3.1.2. Below is my aspectj code. public aspect MyMessages { pointcut getResourceString(String key): args(key, ..) && call (* CommonPlugin.getResourceString(String, ..)); String around(String key):getResourceString(key) { return key; } } The warning message is The paramet...
resolved fixed
07c2189
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T15:37:36Z
2006-06-22T15:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
} public void overridesPackageDefaultMethod(MethodBinding localMethod, MethodBinding inheritedMethod) { if (new String(localMethod.selector).startsWith("ajc$")) return; super.overridesPackageDefaultMethod(localMethod,inheritedMethod); } public void handle( int problemId, String[] problemArguments, St...
148,219
Bug 148219 Wrong warning is reported
I used ajdt_1.3.1_for_eclipse_3.1.zip on Eclipse 3.1.2. Below is my aspectj code. public aspect MyMessages { pointcut getResourceString(String key): args(key, ..) && call (* CommonPlugin.getResourceString(String, ..)); String around(String key):getResourceString(key) { return key; } } The warning message is The paramet...
resolved fixed
07c2189
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T15:37:36Z
2006-06-22T15:26:40Z
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("thisJo...
148,219
Bug 148219 Wrong warning is reported
I used ajdt_1.3.1_for_eclipse_3.1.zip on Eclipse 3.1.2. Below is my aspectj code. public aspect MyMessages { pointcut getResourceString(String key): args(key, ..) && call (* CommonPlugin.getResourceString(String, ..)); String around(String key):getResourceString(key) { return key; } } The warning message is The paramet...
resolved fixed
07c2189
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T15:37:36Z
2006-06-22T15: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 ...
148,219
Bug 148219 Wrong warning is reported
I used ajdt_1.3.1_for_eclipse_3.1.zip on Eclipse 3.1.2. Below is my aspectj code. public aspect MyMessages { pointcut getResourceString(String key): args(key, ..) && call (* CommonPlugin.getResourceString(String, ..)); String around(String key):getResourceString(key) { return key; } } The warning message is The paramet...
resolved fixed
07c2189
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T15:37:36Z
2006-06-22T15:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
ResolvedType supertypeToLookAt = onTypeX.getSuperclass(); while (supertypeToLookAt!=null) { List itMungers = supertypeToLookAt.getInterTypeMungers(); for (Iterator i = itMungers.iterator(); i.hasNext(); ) { ConcreteTypeMunger m = (ConcreteTypeMunger)i.next(); ResolvedMember sig = m.getSignature...
148,219
Bug 148219 Wrong warning is reported
I used ajdt_1.3.1_for_eclipse_3.1.zip on Eclipse 3.1.2. Below is my aspectj code. public aspect MyMessages { pointcut getResourceString(String key): args(key, ..) && call (* CommonPlugin.getResourceString(String, ..)); String around(String key):getResourceString(key) { return key; } } The warning message is The paramet...
resolved fixed
07c2189
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T15:37:36Z
2006-06-22T15:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
if (isVarargType) type = ((ArrayBinding)type).elementsType(); buffer.append(new String(makeShort ? type.shortReadableName() : type.readableName())); if (isVarargType) buffer.append("..."); } return buffer.toString(); } public void visibilityConflict(MethodBinding currentMethod, Metho...
148,219
Bug 148219 Wrong warning is reported
I used ajdt_1.3.1_for_eclipse_3.1.zip on Eclipse 3.1.2. Below is my aspectj code. public aspect MyMessages { pointcut getResourceString(String key): args(key, ..) && call (* CommonPlugin.getResourceString(String, ..)); String around(String key):getResourceString(key) { return key; } } The warning message is The paramet...
resolved fixed
07c2189
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T15:37:36Z
2006-06-22T15:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
TypePattern[] newparents = decp.getParents().getTypePatterns(); for (int i = 0; i < newparents.length; i++) { TypePattern pattern = newparents[i]; UnresolvedType ut = pattern.getExactType(); if (ut==null) continue; if (CharOperation.compareWith(typeDecl.binding.signature(),ut.getSignat...
148,219
Bug 148219 Wrong warning is reported
I used ajdt_1.3.1_for_eclipse_3.1.zip on Eclipse 3.1.2. Below is my aspectj code. public aspect MyMessages { pointcut getResourceString(String key): args(key, ..) && call (* CommonPlugin.getResourceString(String, ..)); String around(String key):getResourceString(key) { return key; } } The warning message is The paramet...
resolved fixed
07c2189
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T15:37:36Z
2006-06-22T15:26:40Z
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
public void unusedArgument(LocalDeclaration localDecl) { String argType = new String(localDecl.type.resolvedType.signature()); if (argType.startsWith("Lorg/aspectj/runtime/internal")) return; super.unusedArgument(localDecl); } /** * A side-effect of the way that we handle itds on defau...
148,219
Bug 148219 Wrong warning is reported
I used ajdt_1.3.1_for_eclipse_3.1.zip on Eclipse 3.1.2. Below is my aspectj code. public aspect MyMessages { pointcut getResourceString(String key): args(key, ..) && call (* CommonPlugin.getResourceString(String, ..)); String around(String key):getResourceString(key) { return key; } } The warning message is The paramet...
resolved fixed
07c2189
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T15:37:36Z
2006-06-22T15:26: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...
148,219
Bug 148219 Wrong warning is reported
I used ajdt_1.3.1_for_eclipse_3.1.zip on Eclipse 3.1.2. Below is my aspectj code. public aspect MyMessages { pointcut getResourceString(String key): args(key, ..) && call (* CommonPlugin.getResourceString(String, ..)); String around(String key):getResourceString(key) { return key; } } The warning message is The paramet...
resolved fixed
07c2189
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T15:37:36Z
2006-06-22T15:26: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(); } } ...
148,219
Bug 148219 Wrong warning is reported
I used ajdt_1.3.1_for_eclipse_3.1.zip on Eclipse 3.1.2. Below is my aspectj code. public aspect MyMessages { pointcut getResourceString(String key): args(key, ..) && call (* CommonPlugin.getResourceString(String, ..)); String around(String key):getResourceString(key) { return key; } } The warning message is The paramet...
resolved fixed
07c2189
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T15:37:36Z
2006-06-22T15:26:40Z
tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
/******************************************************************************* * Copyright (c) 2006 IBM * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://w...
148,219
Bug 148219 Wrong warning is reported
I used ajdt_1.3.1_for_eclipse_3.1.zip on Eclipse 3.1.2. Below is my aspectj code. public aspect MyMessages { pointcut getResourceString(String key): args(key, ..) && call (* CommonPlugin.getResourceString(String, ..)); String around(String key):getResourceString(key) { return key; } } The warning message is The paramet...
resolved fixed
07c2189
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T15:37:36Z
2006-06-22T15:26:40Z
tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
public void testDecpAndCflowadderMungerClash_pr152631() { runTest("decp and cflowadder munger clash");} public void testGenericInheritanceDecp_pr150095() { runTest("generics, inheritance and decp");} public void testIllegalStateException_pr148737() { runTest("illegalstateexception for non generic type");} public ...
148,219
Bug 148219 Wrong warning is reported
I used ajdt_1.3.1_for_eclipse_3.1.zip on Eclipse 3.1.2. Below is my aspectj code. public aspect MyMessages { pointcut getResourceString(String key): args(key, ..) && call (* CommonPlugin.getResourceString(String, ..)); String around(String key):getResourceString(key) { return key; } } The warning message is The paramet...
resolved fixed
07c2189
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-08T15:37:36Z
2006-06-22T15:26:40Z
tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
public void testIncorrectAnnotationValue_pr148537() { runTest("incorrect annotation value");} public void testVerifyErrNoTypeCflowField_pr145693_1() { runTest("verifyErrNoTypeCflowField"); } public void testVerifyErrInpathNoTypeCflowField_pr145693_2() { runTest("verifyErrInpathNoTypeCflowField"); } ...
153,535
Bug 153535 Bug in reflection delegate signature for array of object type
The following problem is interesting because the advice weaves correctly with Java 1.5 LTW and also using Java 1.4 with build-time weaving. However, the following call pointcut isn't matching the expected call site in Java 1.4 load-time weaving (*). Pointcut: private pointcut inExecQuery() : (within(uk.ltd.getahead.dwr...
resolved fixed
82e3e13
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-15T11:51:21Z
2006-08-11T07:06:40Z
weaver/src/org/aspectj/weaver/reflect/ReflectionWorld.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...
153,535
Bug 153535 Bug in reflection delegate signature for array of object type
The following problem is interesting because the advice weaves correctly with Java 1.5 LTW and also using Java 1.4 with build-time weaving. However, the following call pointcut isn't matching the expected call site in Java 1.4 load-time weaving (*). Pointcut: private pointcut inExecQuery() : (within(uk.ltd.getahead.dwr...
resolved fixed
82e3e13
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-15T11:51:21Z
2006-08-11T07:06:40Z
weaver/src/org/aspectj/weaver/reflect/ReflectionWorld.java
import org.aspectj.weaver.ResolvedMember; import org.aspectj.weaver.ResolvedType; import org.aspectj.weaver.ResolvedTypeMunger; import org.aspectj.weaver.UnresolvedType; import org.aspectj.weaver.World; import org.aspectj.weaver.AjAttribute.AdviceAttribute; import org.aspectj.weaver.patterns.Pointcut; import org.aspect...
153,535
Bug 153535 Bug in reflection delegate signature for array of object type
The following problem is interesting because the advice weaves correctly with Java 1.5 LTW and also using Java 1.4 with build-time weaving. However, the following call pointcut isn't matching the expected call site in Java 1.4 load-time weaving (*). Pointcut: private pointcut inExecQuery() : (within(uk.ltd.getahead.dwr...
resolved fixed
82e3e13
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-15T11:51:21Z
2006-08-11T07:06:40Z
weaver/src/org/aspectj/weaver/reflect/ReflectionWorld.java
this.classLoader = aClassLoader; this.annotationFinder = makeAnnotationFinderIfAny(classLoader, this); } public static AnnotationFinder makeAnnotationFinderIfAny(ClassLoader loader, World world) { AnnotationFinder annotationFinder = null; try { if (LangUtil.is15VMOrGreater()) { Class java15AnnotationFind...
153,535
Bug 153535 Bug in reflection delegate signature for array of object type
The following problem is interesting because the advice weaves correctly with Java 1.5 LTW and also using Java 1.4 with build-time weaving. However, the following call pointcut isn't matching the expected call site in Java 1.4 load-time weaving (*). Pointcut: private pointcut inExecQuery() : (within(uk.ltd.getahead.dwr...
resolved fixed
82e3e13
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-15T11:51:21Z
2006-08-11T07:06:40Z
weaver/src/org/aspectj/weaver/reflect/ReflectionWorld.java
/* (non-Javadoc) * @see org.aspectj.weaver.reflect.IReflectionWorld#resolve(java.lang.Class) */ public ResolvedType resolve(Class aClass) { return resolve(this, aClass); } public static ResolvedType resolve(World world, Class aClass) { String className = aClass.getName(); if (aClass.isArray()) { re...
153,535
Bug 153535 Bug in reflection delegate signature for array of object type
The following problem is interesting because the advice weaves correctly with Java 1.5 LTW and also using Java 1.4 with build-time weaving. However, the following call pointcut isn't matching the expected call site in Java 1.4 load-time weaving (*). Pointcut: private pointcut inExecQuery() : (within(uk.ltd.getahead.dwr...
resolved fixed
82e3e13
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-15T11:51:21Z
2006-08-11T07:06:40Z
weaver/src/org/aspectj/weaver/reflect/ReflectionWorld.java
throw new UnsupportedOperationException("Cannot create advice munger in ReflectionWorld"); } /* (non-Javadoc) * @see org.aspectj.weaver.World#makeCflowStackFieldAdder(org.aspectj.weaver.ResolvedMember) */ public ConcreteTypeMunger makeCflowStackFieldAdder(ResolvedMember cflowField) { throw new UnsupportedOpera...
153,535
Bug 153535 Bug in reflection delegate signature for array of object type
The following problem is interesting because the advice weaves correctly with Java 1.5 LTW and also using Java 1.4 with build-time weaving. However, the following call pointcut isn't matching the expected call site in Java 1.4 load-time weaving (*). Pointcut: private pointcut inExecQuery() : (within(uk.ltd.getahead.dwr...
resolved fixed
82e3e13
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-15T11:51:21Z
2006-08-11T07:06:40Z
weaver/src/org/aspectj/weaver/reflect/ReflectionWorld.java
private static final long serialVersionUID = -3432261918302793005L; public ReflectionWorldException(String message) { super(message); } } private static class ExceptionBasedMessageHandler implements IMessageHandler { public boolean handleMessage(IMessage message) throws AbortException { throw new Reflec...
153,535
Bug 153535 Bug in reflection delegate signature for array of object type
The following problem is interesting because the advice weaves correctly with Java 1.5 LTW and also using Java 1.4 with build-time weaving. However, the following call pointcut isn't matching the expected call site in Java 1.4 load-time weaving (*). Pointcut: private pointcut inExecQuery() : (within(uk.ltd.getahead.dwr...
resolved fixed
82e3e13
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-15T11:51:21Z
2006-08-11T07:06:40Z
weaver/testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.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...
153,535
Bug 153535 Bug in reflection delegate signature for array of object type
The following problem is interesting because the advice weaves correctly with Java 1.5 LTW and also using Java 1.4 with build-time weaving. However, the following call pointcut isn't matching the expected call site in Java 1.4 load-time weaving (*). Pointcut: private pointcut inExecQuery() : (within(uk.ltd.getahead.dwr...
resolved fixed
82e3e13
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-15T11:51:21Z
2006-08-11T07:06:40Z
weaver/testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java
protected ReflectionWorld world; private ResolvedType objectType; private ResolvedType classType; public void testIsAspect() { assertFalse(objectType.isAspect()); } public void testIsAnnotationStyleAspect() { assertFalse(objectType.isAnnotationStyleAspect()); } public void testIsInterface() { assertF...
153,535
Bug 153535 Bug in reflection delegate signature for array of object type
The following problem is interesting because the advice weaves correctly with Java 1.5 LTW and also using Java 1.4 with build-time weaving. However, the following call pointcut isn't matching the expected call site in Java 1.4 load-time weaving (*). Pointcut: private pointcut inExecQuery() : (within(uk.ltd.getahead.dwr...
resolved fixed
82e3e13
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-15T11:51:21Z
2006-08-11T07:06:40Z
weaver/testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java
assertTrue(objectType.isClass()); assertFalse(world.resolve("java.io.Serializable").isClass()); } public void testIsGeneric() { assertFalse(objectType.isGenericType()); } public void testIsExposedToWeaver() { assertFalse(objectType.isExposedToWeaver()); } public void testHasAnnotation() { assertFals...
153,535
Bug 153535 Bug in reflection delegate signature for array of object type
The following problem is interesting because the advice weaves correctly with Java 1.5 LTW and also using Java 1.4 with build-time weaving. However, the following call pointcut isn't matching the expected call site in Java 1.4 load-time weaving (*). Pointcut: private pointcut inExecQuery() : (within(uk.ltd.getahead.dwr...
resolved fixed
82e3e13
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-15T11:51:21Z
2006-08-11T07:06:40Z
weaver/testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java
} public void testGetModifiers() { assertEquals(Object.class.getModifiers(),objectType.getModifiers()); } public void testGetSuperclass() { assertTrue("Superclass of object should be null, but it is: "+objectType.getSuperclass(),objectType.getSuperclass()==null); assertEquals(objectType,world.resolve("java...
153,535
Bug 153535 Bug in reflection delegate signature for array of object type
The following problem is interesting because the advice weaves correctly with Java 1.5 LTW and also using Java 1.4 with build-time weaving. However, the following call pointcut isn't matching the expected call site in Java 1.4 load-time weaving (*). Pointcut: private pointcut inExecQuery() : (within(uk.ltd.getahead.dwr...
resolved fixed
82e3e13
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-15T11:51:21Z
2006-08-11T07:06:40Z
weaver/testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java
public void testGetDeclaredMethods() { ResolvedMember[] methods = objectType.getDeclaredMethods(); assertEquals(Object.class.getDeclaredMethods().length + Object.class.getDeclaredConstructors().length, methods.length); ResolvedType c = world.resolve("reflect.tests.C"); methods = c.getDeclaredMethods(); ass...
153,535
Bug 153535 Bug in reflection delegate signature for array of object type
The following problem is interesting because the advice weaves correctly with Java 1.5 LTW and also using Java 1.4 with build-time weaving. However, the following call pointcut isn't matching the expected call site in Java 1.4 load-time weaving (*). Pointcut: private pointcut inExecQuery() : (within(uk.ltd.getahead.dwr...
resolved fixed
82e3e13
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-15T11:51:21Z
2006-08-11T07:06:40Z
weaver/testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java
public void testGetDeclaredFields() { ResolvedMember[] fields = objectType.getDeclaredFields(); assertEquals(0,fields.length); ResolvedType c = world.resolve("reflect.tests.C"); fields = c.getDeclaredFields(); assertEquals(2,fields.length); assertEquals("f",fields[0].getName()); assertEquals("s",fields...
153,535
Bug 153535 Bug in reflection delegate signature for array of object type
The following problem is interesting because the advice weaves correctly with Java 1.5 LTW and also using Java 1.4 with build-time weaving. However, the following call pointcut isn't matching the expected call site in Java 1.4 load-time weaving (*). Pointcut: private pointcut inExecQuery() : (within(uk.ltd.getahead.dwr...
resolved fixed
82e3e13
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-15T11:51:21Z
2006-08-11T07:06:40Z
weaver/testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java
ResolvedType serializableType = world.resolve("java.io.Serializable"); ResolvedType superType = serializableType.getSuperclass(); assertTrue("Superclass of serializable should be Object but was "+superType,superType.equals(UnresolvedType.OBJECT)); BcelWorld bcelworld = new BcelWorld(); bce...
153,535
Bug 153535 Bug in reflection delegate signature for array of object type
The following problem is interesting because the advice weaves correctly with Java 1.5 LTW and also using Java 1.4 with build-time weaving. However, the following call pointcut isn't matching the expected call site in Java 1.4 load-time weaving (*). Pointcut: private pointcut inExecQuery() : (within(uk.ltd.getahead.dwr...
resolved fixed
82e3e13
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-15T11:51:21Z
2006-08-11T07:06:40Z
weaver/testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java
ResolvedType voidType = world.resolve(Integer.TYPE); ResolvedType superType = voidType.getSuperclass(); assertNull(superType); BcelWorld bcelworld = new BcelWorld(); bcelworld.setBehaveInJava5Way(true); ResolvedType bcelSupertype = bcelworld.resolve("int").getSuperclass(); assertTrue...
153,535
Bug 153535 Bug in reflection delegate signature for array of object type
The following problem is interesting because the advice weaves correctly with Java 1.5 LTW and also using Java 1.4 with build-time weaving. However, the following call pointcut isn't matching the expected call site in Java 1.4 load-time weaving (*). Pointcut: private pointcut inExecQuery() : (within(uk.ltd.getahead.dwr...
resolved fixed
82e3e13
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-15T11:51:21Z
2006-08-11T07:06:40Z
weaver/testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java
boolean barfIfClinitMissing = false; world.setBehaveInJava5Way(true); BcelWorld bcelWorld = new BcelWorld(getClass().getClassLoader(),IMessageHandler.THROW,null); bcelWorld.setBehaveInJava5Way(true); UnresolvedType javaUtilHashMap = UnresolvedType.forName("java.util.HashMap"); ...
153,535
Bug 153535 Bug in reflection delegate signature for array of object type
The following problem is interesting because the advice weaves correctly with Java 1.5 LTW and also using Java 1.4 with build-time weaving. However, the following call pointcut isn't matching the expected call site in Java 1.4 load-time weaving (*). Pointcut: private pointcut inExecQuery() : (within(uk.ltd.getahead.dwr...
resolved fixed
82e3e13
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-15T11:51:21Z
2006-08-11T07:06:40Z
weaver/testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java
} } assertTrue("Errors:"+errors.toString(),errors.length()==0); if (rms1.length==rms2.length) return; if (barfIfClinitMissing) { assertEquals(rms1.length,rms2.length); } else { if (rms1.length!=(rms2.length+1)) {...
153,535
Bug 153535 Bug in reflection delegate signature for array of object type
The following problem is interesting because the advice weaves correctly with Java 1.5 LTW and also using Java 1.4 with build-time weaving. However, the following call pointcut isn't matching the expected call site in Java 1.4 load-time weaving (*). Pointcut: private pointcut inExecQuery() : (within(uk.ltd.getahead.dwr...
resolved fixed
82e3e13
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-15T11:51:21Z
2006-08-11T07:06:40Z
weaver5/java5-testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.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...
153,535
Bug 153535 Bug in reflection delegate signature for array of object type
The following problem is interesting because the advice weaves correctly with Java 1.5 LTW and also using Java 1.4 with build-time weaving. However, the following call pointcut isn't matching the expected call site in Java 1.4 load-time weaving (*). Pointcut: private pointcut inExecQuery() : (within(uk.ltd.getahead.dwr...
resolved fixed
82e3e13
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-15T11:51:21Z
2006-08-11T07:06:40Z
weaver5/java5-testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java
protected ReflectionWorld world; private ResolvedType objectType; private ResolvedType classType; public void testIsAspect() { assertFalse(objectType.isAspect()); } public void testIsAnnotationStyleAspect() { assertFalse(objectType.isAnnotationStyleAspect()); } public void testIsInterface() { assertF...
153,535
Bug 153535 Bug in reflection delegate signature for array of object type
The following problem is interesting because the advice weaves correctly with Java 1.5 LTW and also using Java 1.4 with build-time weaving. However, the following call pointcut isn't matching the expected call site in Java 1.4 load-time weaving (*). Pointcut: private pointcut inExecQuery() : (within(uk.ltd.getahead.dwr...
resolved fixed
82e3e13
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-15T11:51:21Z
2006-08-11T07:06:40Z
weaver5/java5-testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java
assertTrue(objectType.isClass()); assertFalse(world.resolve("java.io.Serializable").isClass()); } public void testIsGeneric() { assertFalse(objectType.isGenericType()); } public void testIsExposedToWeaver() { assertFalse(objectType.isExposedToWeaver()); } public void testHasAnnotation() { assertFals...
153,535
Bug 153535 Bug in reflection delegate signature for array of object type
The following problem is interesting because the advice weaves correctly with Java 1.5 LTW and also using Java 1.4 with build-time weaving. However, the following call pointcut isn't matching the expected call site in Java 1.4 load-time weaving (*). Pointcut: private pointcut inExecQuery() : (within(uk.ltd.getahead.dwr...
resolved fixed
82e3e13
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-15T11:51:21Z
2006-08-11T07:06:40Z
weaver5/java5-testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java
} public void testGetModifiers() { assertEquals(Object.class.getModifiers(),objectType.getModifiers()); } public void testGetSuperclass() { assertTrue("Superclass of object should be null, but it is: "+objectType.getSuperclass(),objectType.getSuperclass()==null); assertEquals(objectType,world.resolve("java...
153,535
Bug 153535 Bug in reflection delegate signature for array of object type
The following problem is interesting because the advice weaves correctly with Java 1.5 LTW and also using Java 1.4 with build-time weaving. However, the following call pointcut isn't matching the expected call site in Java 1.4 load-time weaving (*). Pointcut: private pointcut inExecQuery() : (within(uk.ltd.getahead.dwr...
resolved fixed
82e3e13
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-15T11:51:21Z
2006-08-11T07:06:40Z
weaver5/java5-testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java
public void testGetDeclaredMethods() { ResolvedMember[] methods = objectType.getDeclaredMethods(); assertEquals(Object.class.getDeclaredMethods().length + Object.class.getDeclaredConstructors().length, methods.length); ResolvedType c = world.resolve("reflect.tests.C"); methods = c.getDeclaredMethods(); ass...
153,535
Bug 153535 Bug in reflection delegate signature for array of object type
The following problem is interesting because the advice weaves correctly with Java 1.5 LTW and also using Java 1.4 with build-time weaving. However, the following call pointcut isn't matching the expected call site in Java 1.4 load-time weaving (*). Pointcut: private pointcut inExecQuery() : (within(uk.ltd.getahead.dwr...
resolved fixed
82e3e13
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-15T11:51:21Z
2006-08-11T07:06:40Z
weaver5/java5-testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java
public void testGetDeclaredFields() { ResolvedMember[] fields = objectType.getDeclaredFields(); assertEquals(0,fields.length); ResolvedType c = world.resolve("reflect.tests.C"); fields = c.getDeclaredFields(); assertEquals(2,fields.length); assertEquals("f",fields[0].getName()); assertEquals("s",fields...
153,535
Bug 153535 Bug in reflection delegate signature for array of object type
The following problem is interesting because the advice weaves correctly with Java 1.5 LTW and also using Java 1.4 with build-time weaving. However, the following call pointcut isn't matching the expected call site in Java 1.4 load-time weaving (*). Pointcut: private pointcut inExecQuery() : (within(uk.ltd.getahead.dwr...
resolved fixed
82e3e13
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-15T11:51:21Z
2006-08-11T07:06:40Z
weaver5/java5-testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java
ResolvedType serializableType = world.resolve("java.io.Serializable"); ResolvedType superType = serializableType.getSuperclass(); assertTrue("Superclass of serializable should be Object but was "+superType,superType.equals(UnresolvedType.OBJECT)); BcelWorld bcelworld = new BcelWorld(); bce...
153,535
Bug 153535 Bug in reflection delegate signature for array of object type
The following problem is interesting because the advice weaves correctly with Java 1.5 LTW and also using Java 1.4 with build-time weaving. However, the following call pointcut isn't matching the expected call site in Java 1.4 load-time weaving (*). Pointcut: private pointcut inExecQuery() : (within(uk.ltd.getahead.dwr...
resolved fixed
82e3e13
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-15T11:51:21Z
2006-08-11T07:06:40Z
weaver5/java5-testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java
ResolvedType voidType = world.resolve(Integer.TYPE); ResolvedType superType = voidType.getSuperclass(); assertNull(superType); BcelWorld bcelworld = new BcelWorld(); bcelworld.setBehaveInJava5Way(true); ResolvedType bcelSupertype = bcelworld.resolve("int").getSuperclass(); assertTrue...
153,535
Bug 153535 Bug in reflection delegate signature for array of object type
The following problem is interesting because the advice weaves correctly with Java 1.5 LTW and also using Java 1.4 with build-time weaving. However, the following call pointcut isn't matching the expected call site in Java 1.4 load-time weaving (*). Pointcut: private pointcut inExecQuery() : (within(uk.ltd.getahead.dwr...
resolved fixed
82e3e13
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-15T11:51:21Z
2006-08-11T07:06:40Z
weaver5/java5-testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java
boolean barfIfClinitMissing = false; world.setBehaveInJava5Way(true); BcelWorld bcelWorld = new BcelWorld(getClass().getClassLoader(),IMessageHandler.THROW,null); bcelWorld.setBehaveInJava5Way(true); UnresolvedType javaUtilHashMap = UnresolvedType.forName("java.util.HashMap"); ...
153,535
Bug 153535 Bug in reflection delegate signature for array of object type
The following problem is interesting because the advice weaves correctly with Java 1.5 LTW and also using Java 1.4 with build-time weaving. However, the following call pointcut isn't matching the expected call site in Java 1.4 load-time weaving (*). Pointcut: private pointcut inExecQuery() : (within(uk.ltd.getahead.dwr...
resolved fixed
82e3e13
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-15T11:51:21Z
2006-08-11T07:06:40Z
weaver5/java5-testsrc/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java
} } assertTrue("Errors:"+errors.toString(),errors.length()==0); if (rms1.length==rms2.length) return; if (barfIfClinitMissing) { assertEquals(rms1.length,rms2.length); } else { if (rms1.length!=(rms2.length+1)) {...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
/******************************************************************************* * Copyright (c) 2006 IBM * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://w...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
public void testPipeliningProblemWithAnnotationsDecp_pr153380_1() { runTest("pipelining decps");} public void testUnwantedPointcutWarning_pr148219() { runTest("unwanted warning for pointcut");} public void testDecpAndCflowadderMungerClash_pr152631() { runTest("decp and cflowadder munger clash");} public void test...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
public void testIncorrectAnnotationValue_pr148537() { runTest("incorrect annotation value");} public void testVerifyErrNoTypeCflowField_pr145693_1() { runTest("verifyErrNoTypeCflowField"); } public void testVerifyErrInpathNoTypeCflowField_pr145693_2() { runTest("verifyErrInpathNoTypeCflowField"); } ...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
/* ******************************************************************* * Copyright (c) 2002 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 * http...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
import org.aspectj.apache.bcel.classfile.annotation.Annotation; import org.aspectj.apache.bcel.classfile.annotation.ArrayElementValue; import org.aspectj.apache.bcel.classfile.annotation.ElementNameValuePair; import org.aspectj.apache.bcel.classfile.annotation.ElementValue; import org.aspectj.bridge.IMessageHandler; im...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
public JavaClass javaClass; private LazyClassGen lazyClassGen = null; private int modifiers; private String className; private String superclassSignature; private String superclassName; private String[] interfaceSignatures; private ResolvedMember[] fields = null; private ResolvedMember[] methods = n...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
private ResolvedMember[] privilegedAccess = null; private WeaverStateInfo weaverState = null; private PerClause perClause = null; private List typeMungers = Collections.EMPTY_LIST; private List declares = Collections.EMPTY_LIST; private Signature.FormalTypeParameter[] formalsForResolution = null; private ClassSig...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
/* * Notes: * note(1): * in some cases (perclause inheritance) we encounter unpacked state when calling getPerClause * * note(2): * A BcelObjectType is 'damaged' if it has been modified from what was original constructed from * the bytecode. This currently happens if the parents are modified or an annot...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
public void setJavaClass(JavaClass newclass) { this.javaClass = newclass; resetState(); initializeFromJavaclass(); } private void initializeFromJavaclass() { isInterface = javaClass.isInterface(); isEnum = javaClass.isEnum(); isAnnotation = javaClass.isAnnot...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
/** * Must take into account generic signature */ public ResolvedType getSuperclass() { if (isObject) return null; ensureGenericSignatureUnpacked(); if (superclassSignature == null) { if (superclassName==null) superclassName = javaClass.getSuperclassName(); superclassSignatur...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
interfaceTypes[i] = getResolvedTypeX().getWorld().resolve(UnresolvedType.forName(names[i])); interfaceSignatures[i] = interfaceTypes[i].getSignature(); } } else { interfaceTypes = new ResolvedType[interfaceSignatures.length]; for (int i = 0, len = interfaceSignatures.l...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
fields[i] = new BcelField(this, fs[i]); } } return fields; } public TypeVariable[] getTypeVariables() { if (!isGeneric()) return TypeVariable.NONE; if (typeVars == null) { Signature.ClassSignature classSig = cachedGenericClassTypeSignature; typeVars =...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
public Collection getTypeMungers() {return typeMungers;} public Collection getDeclares() {return declares;} public Collection getPrivilegedAccesses() { if (privilegedAccess == null) return Collections.EMPTY_LIST; return Arrays.asList(privilegedAccess); } public ResolvedMember[] getDeclaredPointcuts() { ...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
*/ private void ensureAspectJAttributesUnpacked() { if ((bitflag&UNPACKED_AJATTRIBUTES)!=0) return; bitflag|=UNPACKED_AJATTRIBUTES; IMessageHandler msgHandler = getResolvedTypeX().getWorld().getMessageHandler(); List l = BcelAttributes.readAjAttributes(className,javaClass.getAttributes(), getResolvedT...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
deferredAspectAttribute = (AjAttribute.Aspect) a; } else { perClause = ((AjAttribute.Aspect)a).reify(this.getResolvedTypeX()); isCodeStyleAspect = true; } } else if (a instanceof AjAttribute.PointcutDeclarationAttribute) { pointcuts.add(((AjAttribute.PointcutDeclarationAttribute)a).reify()); ...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
* Extra processing step needed because declares that come from annotations are not pre-resolved. * We can't do the resolution until *after* the pointcuts have been resolved. * @param attributeList */ private void resolveAnnotationDeclares(List attributeList) { FormalBinding[] bindings = new org....
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
public void ensureDelegateConsistent() { if ((bitflag&DAMAGED)!=0) {resetState();} } public void resetState() { if (javaClass == null) { throw new BCException("can't weave evicted type"); } bitflag=0x0000; this.annotationTypes = null; this.an...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
} public void finishedWith() { } public WeaverStateInfo getWeaverState() { return weaverState; } void setWeaverState(WeaverStateInfo weaverState) { this.weaverState = weaverState; } public void printWackyStuff(PrintStream out) { if (typeMungers.size() > 0) out.prin...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
if (isAspect()) { lazyClassGen = ret; } } return ret; } public boolean isSynthetic() { return getResolvedTypeX().isSynthetic(); } public AjAttribute.WeaverVersionInfo getWeaverVersionAttribute() { return wvInfo; } public void addParent(ResolvedType newParent) { bitflag|=DAMAG...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
String[] newInterfaceSignatures = new String[len+1]; System.arraycopy(interfaceSignatures, 0, newInterfaceSignatures, 0, len); newInterfaceSignatures[len]=newParent.getSignature(); interfaceSignatures = newInterfaceSignatures; } } } public ResolvedType[] getAnnotationTypes() { ensureAnno...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
int len = annotations.length; AnnotationX[] ret = new AnnotationX[len+1]; System.arraycopy(annotations, 0, ret, 0, len); ret[len] = annotation; annotations = ret; len = annotationTypes.length; ResolvedType[] ret2 = new ResolvedType[len+1]; System.arraycopy(annotationTypes,0,ret2,0,len); ret2[len] = g...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
retentionPolicy = v.stringifyValue(); return retentionPolicy; } } } } } return retentionPolicy; } public boolean canAnnotationTargetType() { AnnotationTargetKind[] targetKinds = getAnnotationTargetKinds(); if (targetKinds == null) return true; f...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
if (a.getTypeName().equals(UnresolvedType.AT_TARGET.getName())) { ArrayElementValue arrayValue = (ArrayElementValue)((ElementNameValuePair)a.getValues().get(0)).getValue(); ElementValue[] evs = arrayValue.getElementValuesArray(); if (evs!=null) { for (int j = 0; ...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
Annotation annos[] = javaClass.getAnnotations(); if (annos==null || annos.length==0) { annotationTypes = ResolvedType.NONE; annotations = AnnotationX.NONE; } else { World w = getResolvedTypeX().getWorld(); annotationTypes = new ResolvedType[annos.length]; annotations ...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
bitflag|=UNPACKED_GENERIC_SIGNATURE; if (!getResolvedTypeX().getWorld().isInJava5Mode()) return; Signature.ClassSignature cSig = getGenericClassTypeSignature(); if (cSig != null) { formalsForResolution = cSig.formalTypeParameters; if (isNestedClass()) { Signature.FormalTypeParameter[] extraFormals ...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
} catch (GenericSignatureFormatException e) { throw new IllegalStateException( "While determining the generic superclass of " + this.className + " with generic signature " + getDeclaredGenericSignature()+ " the following error was detected: " + e.getMessage()); } this.interfaceSignature...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
genericType.setStartPos(this.resolvedTypeX.getStartPos()); this.resolvedTypeX = genericType; } } public Signature.FormalTypeParameter[] getAllFormals() { ensureGenericSignatureUnpacked(); if (formalsForResolution == null) { return new Signature.FormalTypeParameter[0]; } else { return formalsForReso...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
if (!(outerDelegate instanceof BcelObjectType)) { throw new IllegalStateException("How come we're in BcelObjectType resolving an inner type of something that is NOT a BcelObjectType??"); } BcelObjectType outerObjectType = (BcelObjectType) outerDelegate; if (outerObjectType.isNestedClass()) { Signature.Forma...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
if (declaredSignature!=null) isGenericType= (declaredSignature.charAt(0)=='<'); } public boolean isGeneric() { ensureGenericInfoProcessed(); return isGenericType; } public String toString() { return (javaClass==null?"BcelObjectType":"BcelObjectTypeFor:"+className); } public void evictWeavingStat...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
if (weaverState != null) { weaverState.setReweavable(false); weaverState.setUnwovenClassFileData(null); } for (int i = methods.length - 1; i >= 0; i--) methods[i].evictWeavingState(); for (int i = fields.length - 1; i >= 0; i--) fields[i].evictWeavingState(); javaClass = null; } } ...
154,332
Bug 154332 [annotations] Incorrect handling of java.lang annotations when matching
As raised by Mr Bodkin on the list: Can anyone tell me why this compiling this program produces warnings for marker but not for deprecated (in a recent dev build of AJDT)? Is this just a bug? Both have runtime retention, so I would expect equivalent behavior. @Deprecated @Marker public aspect Annot { pointcut test() : ...
resolved fixed
59123b0
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-18T08:21:58Z
2006-08-18T08:33:20Z
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
return null; } public String[] getAttributeNames() { Attribute[] as = javaClass.getAttributes(); String[] strs = new String[as.length]; for (int j = 0; j < as.length; j++) { strs[j] = as[j].getName(); } return strs; } public void addPointcutDefinition(ResolvedPointcutDefinition d) { bitflag|=...
149,560
Bug 149560 [@AspectJ] Incorrect weaving of static initialization join point
This error occurs if static initialization of one aspect class is woven with an advice from another aspect. It worked fine in version 1.5.0 - see the decompiled code snippet: static { Object obj = new Factory("ItoMonitoringAspect.java", Class.forName("cz.kb.usermanagement.ito.ItoMonitoringAspect")); ajc$tjp_0 = ((Facto...
resolved fixed
945a257
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-22T15:22:06Z
2006-07-04T10:46:40Z
tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
/******************************************************************************* * Copyright (c) 2006 IBM * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://w...
149,560
Bug 149560 [@AspectJ] Incorrect weaving of static initialization join point
This error occurs if static initialization of one aspect class is woven with an advice from another aspect. It worked fine in version 1.5.0 - see the decompiled code snippet: static { Object obj = new Factory("ItoMonitoringAspect.java", Class.forName("cz.kb.usermanagement.ito.ItoMonitoringAspect")); ajc$tjp_0 = ((Facto...
resolved fixed
945a257
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-22T15:22:06Z
2006-07-04T10:46:40Z
tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
public void testIncorrectDeprecatedAnnotationProcessing_pr154332() { runTest("incorrect deprecated annotation processing");} public void testPipeliningProblemWithAnnotationsDecp_pr153380_1() { runTest("pipelining decps");} public void testUnwantedPointcutWarning_pr148219() { runTest("unwanted warning for pointcut")...
149,560
Bug 149560 [@AspectJ] Incorrect weaving of static initialization join point
This error occurs if static initialization of one aspect class is woven with an advice from another aspect. It worked fine in version 1.5.0 - see the decompiled code snippet: static { Object obj = new Factory("ItoMonitoringAspect.java", Class.forName("cz.kb.usermanagement.ito.ItoMonitoringAspect")); ajc$tjp_0 = ((Facto...
resolved fixed
945a257
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-22T15:22:06Z
2006-07-04T10:46:40Z
tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
public void testVerifyErrInpathNoTypeCflowField_pr145693_2() { runTest("verifyErrInpathNoTypeCflowField"); } public void testCpathNoTypeCflowField_pr145693_3() { runTest("cpathNoTypeCflowField"); } public void testGenericSignatures_pr148409() { runTest("generic signature problem"); }...
149,560
Bug 149560 [@AspectJ] Incorrect weaving of static initialization join point
This error occurs if static initialization of one aspect class is woven with an advice from another aspect. It worked fine in version 1.5.0 - see the decompiled code snippet: static { Object obj = new Factory("ItoMonitoringAspect.java", Class.forName("cz.kb.usermanagement.ito.ItoMonitoringAspect")); ajc$tjp_0 = ((Facto...
resolved fixed
945a257
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-22T15:22:06Z
2006-07-04T10:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.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...
149,560
Bug 149560 [@AspectJ] Incorrect weaving of static initialization join point
This error occurs if static initialization of one aspect class is woven with an advice from another aspect. It worked fine in version 1.5.0 - see the decompiled code snippet: static { Object obj = new Factory("ItoMonitoringAspect.java", Class.forName("cz.kb.usermanagement.ito.ItoMonitoringAspect")); ajc$tjp_0 = ((Facto...
resolved fixed
945a257
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-22T15:22:06Z
2006-07-04T10:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
import org.aspectj.asm.IElementHandleProvider; import org.aspectj.asm.IHierarchy; import org.aspectj.asm.IProgramElement; import org.aspectj.asm.IRelationship; import org.aspectj.asm.IRelationshipMap; import org.aspectj.asm.internal.JDTLikeHandleProvider; import org.aspectj.asm.internal.Relationship; import org.aspectj...
149,560
Bug 149560 [@AspectJ] Incorrect weaving of static initialization join point
This error occurs if static initialization of one aspect class is woven with an advice from another aspect. It worked fine in version 1.5.0 - see the decompiled code snippet: static { Object obj = new Factory("ItoMonitoringAspect.java", Class.forName("cz.kb.usermanagement.ito.ItoMonitoringAspect")); ajc$tjp_0 = ((Facto...
resolved fixed
945a257
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-22T15:22:06Z
2006-07-04T10:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
/* A.aj package pack; public aspect A { pointcut p() : call(* C.method before() : p() { // line 7 } } C.java package pack; public class C { public void method1() { method2(); // line 6 } public void method2() { } public void method3() { ...
149,560
Bug 149560 [@AspectJ] Incorrect weaving of static initialization join point
This error occurs if static initialization of one aspect class is woven with an advice from another aspect. It worked fine in version 1.5.0 - see the decompiled code snippet: static { Object obj = new Factory("ItoMonitoringAspect.java", Class.forName("cz.kb.usermanagement.ito.ItoMonitoringAspect")); ajc$tjp_0 = ((Facto...
resolved fixed
945a257
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-22T15:22:06Z
2006-07-04T10:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
configureBuildStructureModel(true); initialiseProject("P4"); build("P4"); Ajc.dumpAJDEStructureModel("after full build where advice is applying"); alter("P4","inc1"); build("P4"); checkWasntFullBuild(); Ajc.dumpAJDEStructureModel("after inc build where first advised line is gone"); ...
149,560
Bug 149560 [@AspectJ] Incorrect weaving of static initialization join point
This error occurs if static initialization of one aspect class is woven with an advice from another aspect. It worked fine in version 1.5.0 - see the decompiled code snippet: static { Object obj = new Factory("ItoMonitoringAspect.java", Class.forName("cz.kb.usermanagement.ito.ItoMonitoringAspect")); ajc$tjp_0 = ((Facto...
resolved fixed
945a257
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-22T15:22:06Z
2006-07-04T10:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
assertEquals("expected source of relationship to be " + advice.toString() + " but found " + ipe.toString(),advice,ipe); } else if (ipe.getKind().equals(IProgramElement.Kind.CODE)) { assertEquals("expected source of relationship to be " + codeElement.toString() + " but found " + ipe....
149,560
Bug 149560 [@AspectJ] Incorrect weaving of static initialization join point
This error occurs if static initialization of one aspect class is woven with an advice from another aspect. It worked fine in version 1.5.0 - see the decompiled code snippet: static { Object obj = new Factory("ItoMonitoringAspect.java", Class.forName("cz.kb.usermanagement.ito.ItoMonitoringAspect")); ajc$tjp_0 = ((Facto...
resolved fixed
945a257
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-22T15:22:06Z
2006-07-04T10:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
+ " with kind " + ipe.getKind()); } } } } } finally { configureBuildStructureModel(false); } } public void testTheBasics() { initialiseProject("P1"); build("P1"); build("P1"); checkWasntFullBuild(); checkCompileWeaveCount(0,0); } public void testInvalidAspectp...
149,560
Bug 149560 [@AspectJ] Incorrect weaving of static initialization join point
This error occurs if static initialization of one aspect class is woven with an advice from another aspect. It worked fine in version 1.5.0 - see the decompiled code snippet: static { Object obj = new Factory("ItoMonitoringAspect.java", Class.forName("cz.kb.usermanagement.ito.ItoMonitoringAspect")); ajc$tjp_0 = ((Facto...
resolved fixed
945a257
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-22T15:22:06Z
2006-07-04T10:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
} /** * Build a project containing a resource - then mark the resource readOnly(), then * do an inc-compile, it will report an error about write access to the resource * in the output folder being denied */ /*public void testProblemCopyingResources_pr138171() { initialiseProject("PR138171"); File f...
149,560
Bug 149560 [@AspectJ] Incorrect weaving of static initialization join point
This error occurs if static initialization of one aspect class is woven with an advice from another aspect. It worked fine in version 1.5.0 - see the decompiled code snippet: static { Object obj = new Factory("ItoMonitoringAspect.java", Class.forName("cz.kb.usermanagement.ito.ItoMonitoringAspect")); ajc$tjp_0 = ((Facto...
resolved fixed
945a257
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-22T15:22:06Z
2006-07-04T10:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
public void testSimpleChanges() { initialiseProject("P1"); build("P1"); alter("P1","inc1"); build("P1"); checkCompileWeaveCount(1,-1); build("P1"); checkCompileWeaveCount(0,-1); } public void testAddingAnAspect() { initialiseProject("P1"); build("P1"); alter("P1","inc1"); alter(...
149,560
Bug 149560 [@AspectJ] Incorrect weaving of static initialization join point
This error occurs if static initialization of one aspect class is woven with an advice from another aspect. It worked fine in version 1.5.0 - see the decompiled code snippet: static { Object obj = new Factory("ItoMonitoringAspect.java", Class.forName("cz.kb.usermanagement.ito.ItoMonitoringAspect")); ajc$tjp_0 = ((Facto...
resolved fixed
945a257
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-22T15:22:06Z
2006-07-04T10:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
"ms second="+timeTakenForSimpleIncBuild+"ms", timeTakenForSimpleIncBuild<timeTakenForFullBuildAndWeave); } public void testBuildingTwoProjectsInTurns() { configureBuildStructureModel(true); initialiseProject("P1"); initialiseProject("P2"); build("P1"); build("P2"); build("P1"); checkWasntFul...
149,560
Bug 149560 [@AspectJ] Incorrect weaving of static initialization join point
This error occurs if static initialization of one aspect class is woven with an advice from another aspect. It worked fine in version 1.5.0 - see the decompiled code snippet: static { Object obj = new Factory("ItoMonitoringAspect.java", Class.forName("cz.kb.usermanagement.ito.ItoMonitoringAspect")); ajc$tjp_0 = ((Facto...
resolved fixed
945a257
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-22T15:22:06Z
2006-07-04T10:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
* In order for this next test to run, I had to move the weaver/world pair we keep in the * AjBuildManager instance down into the state object - this makes perfect sense - otherwise * when reusing the state for another project we'd not be switching to the right weaver/world * for that project. */ public void te...
149,560
Bug 149560 [@AspectJ] Incorrect weaving of static initialization join point
This error occurs if static initialization of one aspect class is woven with an advice from another aspect. It worked fine in version 1.5.0 - see the decompiled code snippet: static { Object obj = new Factory("ItoMonitoringAspect.java", Class.forName("cz.kb.usermanagement.ito.ItoMonitoringAspect")); ajc$tjp_0 = ((Facto...
resolved fixed
945a257
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-22T15:22:06Z
2006-07-04T10:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
MyErrorHandler.getErrorMessages().isEmpty()); } /** * Setup up two simple projects and build them in turn - check the * structure model is right after each build */ public void testBuildingTwoProjectsAndVerifyingModel() { configureBuildStructureModel(true); initialiseProject("P1"); initialise...
149,560
Bug 149560 [@AspectJ] Incorrect weaving of static initialization join point
This error occurs if static initialization of one aspect class is woven with an advice from another aspect. It worked fine in version 1.5.0 - see the decompiled code snippet: static { Object obj = new Factory("ItoMonitoringAspect.java", Class.forName("cz.kb.usermanagement.ito.ItoMonitoringAspect")); ajc$tjp_0 = ((Facto...
resolved fixed
945a257
AspectJ
https://github.com/eclipse/org.aspectj
eclipse/org.aspectj
java
null
null
null
2006-08-22T15:22:06Z
2006-07-04T10:46:40Z
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
build("P1"); checkForNode("pkg","C",true); build("P2"); checkForNode("pkg","C",false); build("P1"); checkForNode("pkg","C",true); build("P2"); checkForNode("pkg","C",false); } /** * Complex. Here we are testing that a state object records structural changes since * the last full build correct...