id
int64
1
6.5k
bug_id
int64
2.03k
426k
summary
stringlengths
9
251
description
stringlengths
1
32.8k
report_time
stringlengths
19
19
report_timestamp
int64
1B
1.39B
status
stringclasses
6 values
commit
stringlengths
7
9
commit_timestamp
int64
1B
1.39B
files
stringlengths
25
32.8k
project_name
stringclasses
6 values
301
111,667
Bug 111667 Produce a compile warning when default advice precedence is applied
I propose that the compiler spit out a warning anytime that it has to apply the default advice precedence. Also, it should spit out the recommendation that default ordering is not guaranteed from release to release of the compiler. You can see the thread on aspectj-dev titled "change in runtime execution order" and the...
2005-10-05 14:34:46
1,128,540,000
resolved fixed
2c81907
1,133,370,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/Lint.java weaver/src/org/aspectj/weaver/Shadow.java weaver/src/org/aspectj/weaver/World.java
AspectJ
302
118,337
Bug 118337 Use weaver's ClassLoader not the usingClassLoader in 1.5 factory
In ReflectionBasedReferenceTypeDelegateFactory this line (44) of code is breaking my use of the weaver for looking up bootstrap classes (where the classloader is null and the AspectJ weaver isn't accessible to the bootstrap loader). The commented out code works just fine for me. Is there a real need to resolve the Aspe...
2005-11-28 20:24:36
1,133,230,000
resolved fixed
d1a295c
1,133,290,000
weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateFactory.java
AspectJ
303
11,280
Bug 11280 [View Mgmt] Switching perspectives loses view maximized state
1. Open the CVS repository view in the Java perspective. 2. Double click the title bar to maximize it 3. Switch to the resource perspective. 4. Come back to the Java perspective. The CVS repository view is no longer maximized. A view that is maximized should stay maximized.
2002-03-13 12:40:54
1,016,040,000
resolved wontfix
508dbcb
1,133,180,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateFactory.java
AspectJ
304
117,614
Bug 117614 ajc crashes on common-logging-1.0.4.jar
--- Dump Properties --- Dump file: ajcore.20051122.152749.326.txt Dump reason: org.aspectj.weaver.BCException Dump on exception: true Dump at exit condition: abort ---- Exception Information --- org.aspectj.weaver.BCException: bad resolve of void org.apache.log4j.Category.log(java.lang.String, org.apache.log4j.Level, j...
2005-11-22 20:57:51
1,132,710,000
resolved fixed
6eb77c5
1,132,840,000
tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java weaver/src/org/aspectj/weaver/Lint.java weaver/src/org/aspectj/weaver/MissingResolvedTypeWithKnownSignature.java weaver/src/org/aspectj/weaver/World.java weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java weaver/src/org/aspectj/weaver/bcel/BcelShadow.java weave...
AspectJ
305
116,899
Bug 116899 Using -verbose in aop.xml does not yield info messages
The interpretation of the -verbose option for LTW is not consistent with other uses in AspectJ e.g. ajc, iajc. It should allow info as well as warining and error messages to be output. The option parser and testcase need to be updated.
2005-11-17 12:31:22
1,132,250,000
resolved fixed
76d7e83
1,132,820,000
loadtime/src/org/aspectj/weaver/loadtime/Options.java tests/java5/ataspectj/ataspectj/ltwlog/Main.java tests/java5/ataspectj/ataspectj/ltwlog/MessageHolder.java tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java
AspectJ
306
114,495
Bug 114495 unqualified superaspect<T> pointcut sortafunny in subaspect
null
2005-11-01 05:43:00
1,130,840,000
resolved fixed
86880f7
1,132,770,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/ReferenceType.java weaver/src/org/aspectj/weaver/ResolvedType.java weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
AspectJ
307
114,054
Bug 114054 NPE in CContentOutlinePage.createContentProvider()
CUIPlugin.getActiveWorkbenchWindow().getActivePage() can return null.
2005-10-27 23:03:41
1,130,470,000
resolved fixed
a4caeb9
1,132,760,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/patterns/PerThisOrTargetPointcutVisitor.java
AspectJ
308
116,254
Bug 116254 AjTypeSystem interface cannot be used in LTW environment
null
2005-11-14 11:16:55
1,131,990,000
resolved fixed
81e6b60
1,132,750,000
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/DeclareSoftImpl.java aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/StringToType.java
AspectJ
309
117,681
Bug 117681 VerifyError when using annotations to define inter-type annotation
Using Sun JDK1.5.0_04 Audit.java public interface Audit { public String getLastUpdatedBy(); public void setLastUpdatedBy(String un); } AuditImpl.java public class AuditImpl implements Audit { private String lastUpdatedBy; public String getLastUpdatedBy() { return lastUpdatedBy; } public void setLastUpdatedBy(String un)...
2005-11-23 04:27:13
1,132,740,000
resolved fixed
11ab99f
1,132,750,000
tests/bugs150/pr117681/Audit.java tests/bugs150/pr117681/AuditImpl.java tests/bugs150/pr117681/MoodIndicator.java tests/bugs150/pr117681/Test.java tests/bugs150/pr117681/TestAspect.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
AspectJ
310
103,157
Bug 103157 after returning should not bind "null" as return value
Today I found out the following. When writing an advice as... after() returning(Object o): staticinitialization(*) { System.out.println(o); } This advice is indeed executed every time a type returns from staticinitialization. However, since there is no returned object, o is bound to "null". I think this is inconsistent...
2005-07-08 09:13:23
1,120,830,000
resolved fixed
8b294d9
1,132,750,000
tests/new/AfterReturningParam.java tests/new/ConstructorExecInit.java tests/new/OddConstructors.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/Advice.java weaver/src/org/aspectj/weaver/Shadow.java
AspectJ
311
117,189
Bug 117189 Contribution: reduce overhead when no aspects define
This patch to the ClassLoaderWeavingAdaptor adds two optimizations when enabled is false for the adaptor: it immediately returns false for accept and it also avoids the overhead of constructing a weaver or world. It also contains commented out code that was letting me improve performance by loading reflective proxies i...
2005-11-19 13:05:59
1,132,420,000
resolved fixed
a5ac5af
1,132,740,000
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
AspectJ
312
103,051
Bug 103051 Declare Soft not Affecting Explicit Adviceexecution
The following aspect should compile successfully: import java.io.IOException; public aspect SoftenAdvice { declare soft: IOException: within(SoftenAdvice) && adviceexecution(); before() : execution(* main(..)) { throw new IOException("test"); } public static void main(String args[]) { } } But both 1.5.0M2 and HEAD (fro...
2005-07-07 14:03:58
1,120,760,000
resolved fixed
554e733
1,132,650,000
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseShadow.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AspectJ
313
114,332
Bug 114332 Reflection API not detecting ITD method correctly in all circumstances
null
2005-10-31 03:42:57
1,130,750,000
resolved fixed
735d94f
1,132,610,000
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/InterTypeConstructorDeclarationImpl.java aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/InterTypeDeclarationImpl.java aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/InterTypeFiel...
AspectJ
314
115,607
Bug 115607 Incorrect structure model for simple declare @type program?
This program: ---8<----- @interface I {} class Simple {} public aspect C { declare @type: Simple : @I; } ---8<----- (all in a file called C.java, open with the AJ editor) when built shows incorrect gutter markers, it shows a double headed arrow on Simple implying that it annotates itself - rather than something outgoin...
2005-11-09 04:35:59
1,131,530,000
resolved fixed
9ed75a1
1,132,590,000
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceLocation.java tests/bugs150/pr115607.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AspectJ
315
116,755
Bug 116755 PointcutParser is not configurable
I'm testing the reflection and weaver tools APIs. When I using following code: PointcutParser parse = new PointcutParser(); String expr = "call(public * main.hello(..)"; PointcutExpression pex = parse.parsePointcutExpression(expr); Whenever I use a full qualified class name in pointcut expression, an exception is throw...
2005-11-16 20:19:54
1,132,190,000
resolved fixed
522911e
1,132,420,000
tests/java5/ataspectj/annotationGen/RuntimePointcuts.java tests/java5/reflection/ReflectOnAjcCompiledPointcuts.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/bcel/BcelWorld.java weaver/src/org/aspectj/weaver/internal/tools/TypePatternMatcherImpl.java weaver/src/org/aspectj/w...
AspectJ
316
115,204
Bug 115204 WildAnnotationTypePattern.java:61 NPE after renaming method-annotation class
Sorry I don't have a small test case. It looks like the NPE happens when the annotation refered to by a (compiled?) aspect no longer exists because it was renamed. The class being woven is the first one (alphabetically), and the method being woven does not have the annotation on it. Let me know if you need a test case....
2005-11-05 06:03:26
1,131,190,000
resolved fixed
557f5b4
1,132,310,000
weaver/src/org/aspectj/weaver/patterns/WildAnnotationTypePattern.java
AspectJ
317
116,949
Bug 116949 [waitingOnAJDTdrop]Exception thrown from AspectJ compiler
java.lang.ClassCastException at org.aspectj.weaver.bcel.BcelClassWeaver.checkForOverride (BcelClassWeaver.java:607) at org.aspectj.weaver.bcel.BcelClassWeaver.calculateAnyRequiredBridgeMethods (BcelClassWeaver.java:676) at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1537) at org.aspectj.weaver.bcel.BcelWea...
2005-11-17 17:09:48
1,132,270,000
verified fixed
dd9a9b2
1,132,310,000
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
AspectJ
318
116,626
Bug 116626 Load-time weaving - exception from the weaver
Hi again :-) I'm trying to use loadtime weaving and getting an exception. Please look at the testcase: Java code: ========== public class Test<T> { Set<T> intsSet; public Test() { this.intsSet = new HashSet<T>(); } public <T> T[] getObjs(T[] a) { return intsSet.toArray(a); } public static void main(String[] args) { Sys...
2005-11-16 03:54:11
1,132,130,000
resolved fixed
c760895
1,132,300,000
tests/bugs150/pr116626/com/foo/bar/Test.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
AspectJ
319
116,255
Bug 116255 XML Linkage Error with LTW
I am trying out a recent dev build of AspectJ and am now seeing a new linkage error when I load a Web app that contains an XML deployment descriptor. I'm trying to narrow down the date when this error first appeared. If I build and run with the Sept. 23 dev build all works properly. If I build and run with the Nov. 14 ...
2005-11-14 11:17:02
1,131,990,000
verified fixed
fabf159
1,132,070,000
loadtime/src/org/aspectj/weaver/loadtime/definition/DocumentParser.java
AspectJ
320
116,305
Bug 116305 Unexpected error: can't determine implemented interfaces of missing type
I have reusable library code that imports a type (a JAX-RPC Call in this case) for use in two ways: 1) matching in a method signature. 2) casting and use in an advice body It used to work properly when I used it in a load-time weaving configuration without the (Call) type being available on the classpath (I think it br...
2005-11-14 14:16:01
1,132,000,000
resolved fixed
676aa08
1,132,050,000
weaver/src/org/aspectj/weaver/patterns/KindedPointcut.java
AspectJ
321
115,235
Bug 115235 StackOverflowError on circular pointcut iff aspect parameterized
The code below overflows when concretizing a circular pointcut from a parameterized aspect. Not true when the aspect is not parameterized. --------------------------------------------- public class SelfPC { public static void main(String[] args) { new C().foo(); } static class C { pointcut doit() : C.doit(); // CE expe...
2005-11-06 07:26:57
1,131,280,000
resolved fixed
4b8bed7
1,131,960,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/patterns/Pointcut.java weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java
AspectJ
322
113,118
Bug 113118 ClassFormatException with tracing aspect
Build id: 20051017111807 AspectJ version: 1.5.0.200510141300 The following aspect resulted in the CFE: public aspect CallTrace { /** * A marker interface used to pick the classes to trace. Declare any class you want to * trace to implement this interface. The best way is using an aspect like the one in * the class comm...
2005-10-19 14:01:25
1,129,740,000
resolved fixed
d7d5947
1,131,720,000
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
AspectJ
323
112,756
Bug 112756 ajdt compiler generate false warnings
I was working on aspect that should raise an error for junit test methods that didn't use any assertions. Apparently I had to use pointcut like "call(void Assert+.assert*(..))" on which ajdt compiler complained about using "assert" keyword. I don't think such warning should be shown in such case. Anyway, here is the co...
2005-10-16 23:56:55
1,129,520,000
resolved fixed
7a1002a
1,131,530,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AspectJ
324
112,830
Bug 112830 Warning "couldn't find aspectjrt.jar on classpath"
The compiler makes this warning if "aspectrt.jar" file has a different name like "aspectrt-1.3.jar", which is the case when compiling with maven.
2005-10-17 14:01:44
1,129,570,000
resolved fixed
1f51499
1,131,470,000
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
AspectJ
325
114,005
Bug 114005 annotated ITD fields on interfaces have no annotation
null
2005-10-27 13:23:19
1,130,430,000
resolved fixed
d9757d7
1,131,450,000
tests/bugs150/pr114005/Declaration1.java tests/bugs150/pr114005/Declaration2.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
AspectJ
326
90,143
Bug 90143 [itds] Problem with an ITD on an interface
If an ITD method is declared on an interface with an anonymous inner class returned as the result, the compiler generates an error for any "super.xxx" calls in the anonymous inner class. The example project shows this with a nested inner interface, but the same problem occurs with an ITD of this kind on any interface. ...
2005-04-04 06:46:08
1,112,610,000
resolved fixed
21cf37d
1,131,120,000
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/InterSuperFixerVisitor.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AspectJ
327
112,476
Bug 112476 "declare parents" does not work with bytecode weaving
null
2005-10-13 09:44:09
1,129,210,000
resolved fixed
a7e13f1
1,131,100,000
tests/bugs150/pr112476/case1/lib/A.java tests/bugs150/pr112476/case1/lib/B.java tests/bugs150/pr112476/case1/lib/C.java tests/bugs150/pr112476/case1/weaved/SuperC.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java
AspectJ
328
114,744
Bug 114744 NPE at CaptureBinding.java on wildcard in intertype field type
When compiling this program with ajc -1.5 public aspect Wildcard { Class<? extends Wildcard> Wildcard.cl; void foo() throws Exception { Wildcard ci = cl.newInstance(); } } ajc throws this exception java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CaptureBinding.initializeBounds(Cap...
2005-11-02 07:56:02
1,130,940,000
resolved fixed
ade32bc
1,130,950,000
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AspectJ
329
113,510
Bug 113510 readAspect
clearly define what the goal for readAspect is old byte per byte reading cause NPE in some test case current impl is hashcode for aspect name + classloader - ie unstable across startups.
2005-10-24 05:36:56
1,130,150,000
resolved fixed
62d16d5
1,130,930,000
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
AspectJ
330
108,892
Bug 108892 Load Time Weaving problem with Aspect Definition at 2 Levels of Hierarchy
I am trying to weave into Tomcat with a system-level aspect (META-INF/aop.xml is found in a jar on the system classpath), and also have a Web application with an aop.xml properly deployed. When I try to run them both together, only the system-level aspects work. If I remove the system-level aspect jar from the classpat...
2005-09-06 22:05:34
1,126,060,000
resolved fixed
794f9b5
1,130,500,000
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ValidateAtAspectJAnnotationsVisitor.java tests/java5/ataspectj/ataspectj/hierarchy/AppContainerTest.java tests/java5/ataspectj/ataspectj/hierarchy/app/SubApp.java tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjLTWTests.java weaver/src/org/aspectj/w...
AspectJ
331
113,861
Bug 113861 [generics] field-get problems when generic field is used.
Hi, When i'm compiling the following example, i'm getting this errors: TestAspect.aj:21 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Test.java:18 [error] incompatible return type applying to field-get (java.util.Set com.mprv.secsph.Test.intsSet) Here is the example...
2005-10-26 14:01:17
1,130,350,000
resolved fixed
8cea30f
1,130,440,000
tests/bugs150/pr113861/Test.java tests/bugs150/pr113861/TestAspect.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/Advice.java weaver/src/org/aspectj/weaver/Member.java weaver/src/org/aspectj/weaver/MemberImpl.java
AspectJ
332
99,191
Bug 99191 declare @field allowed for non existent fields
///// in this code @interface anInterface{} aspect B { declare @field : int B.noSuchField : @anInterface; // should be an error } ////////////////// I don't get an error, even though B.noSuchField doesn't exist. If I try declare @field on NoSuchCLass.noSuchField I do get an error though.
2005-06-09 12:08:17
1,118,330,000
resolved fixed
2da9b31
1,130,430,000
tests/bugs150/pr99191/pr99191_1.java tests/bugs150/pr99191/pr99191_2.java tests/bugs150/pr99191/pr99191_3.java tests/bugs150/pr99191/pr99191_4.java tests/bugs150/pr99191/pr99191_5.java tests/bugs150/pr99191/pr99191_6.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/bcel/BcelCl...
AspectJ
333
112,615
Bug 112615 -XhasMember is not processed correctly when passed from AJDT
To test this in AJDT install the bean example, add a new interface called I and then add the following line to BoundPoint.aj: declare parents: hasmethod(* set*(..)) implements I; Now open the AspectJ Compiler preference page and select "Has Member" on the advanced tab. Click OK, rebuild and if the option was working th...
2005-10-14 08:26:11
1,129,290,000
resolved fixed
cc6862f
1,130,240,000
ajde/testsrc/org/aspectj/ajde/BuildConfigurationTests.java org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildConfig.java
AspectJ
334
113,511
Bug 113511 LTW enhancements
Alex, here is the basic patch that is working well before you leave for the weekend ;-) I'll let Matthew post it officially to bugzilla since it was his idea. The earlier return from !enabled is a small addition I made that seems to help further. It would be great to have this in HEAD so I can report performance number...
2005-10-24 05:39:33
1,130,150,000
resolved fixed
70888dd
1,130,150,000
loadtime/src/org/aspectj/weaver/loadtime/Aj.java loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
AspectJ
335
111,915
Bug 111915 illegal change to pointcut declaration
org.aspectj.weaver.BCException at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:306) at org.aspectj.weaver.patterns.Pointcut.concretize(Pointcut.java:229) at org.aspectj.weaver.patterns.ReferencePointcut.concretize1(ReferencePointcut.java:331) at org.aspectj.weaver.patterns.Pointcut.c...
2005-10-07 11:14:18
1,128,700,000
resolved fixed
3021284
1,129,880,000
tests/bugs150/pr111915.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java
AspectJ
336
113,073
Bug 113073 weaveinfo messages not reported if applying declare @method on an ITD'd method
Given the following class: @interface Annotation{} aspect B { declare @method : public * C.anotherMethod(..) : @Annotation; } class C { } aspect D { public void C.anotherMethod(String s) { } public void C.anotherMethod() { } } I would expect a two weaveinfo messages of the form: weaveinfo 'public void C.anotherMethod()...
2005-10-19 09:24:26
1,129,730,000
resolved fixed
f06df41
1,129,820,000
tests/bugs150/pr113073.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java
AspectJ
337
112,027
Bug 112027 unexpected error unboundFormalInPC
In 1.5.0M4, I get error "the parameter tis is not bound in [all branches of] pointcut". Not true of 1.2.1. Untested in other development versions of 1.5.0. No branches (all &&) but duplicate specification of this(..). ------------------------------------------ package demo; /** * PerThis */ public class PerThis { publi...
2005-10-08 02:49:49
1,128,750,000
resolved fixed
ae612d9
1,129,650,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/patterns/BindingTypePattern.java weaver/src/org/aspectj/weaver/patterns/ExactTypePattern.java
AspectJ
338
107,299
Bug 107299 -aspectpath -inpath arguments fail without drive letter
ajc doesn't recognize Windows absolute file paths that don't start with a drive letter, e.g., run: ajc -inpath \test.jar [error] build config error: bad inpath component: \test.jar but ajc -inpath c:\test.jar works ajc -aspectpath \test.jar Test.aj [error] build config error: bad aspectpath: \test.jar ajc -aspectpath c...
2005-08-18 01:41:22
1,124,340,000
resolved fixed
332a5df
1,129,350,000
util/src/org/aspectj/util/ConfigParser.java
AspectJ
339
112,514
Bug 112514 ajc compile crash, not giving information which class file cause it
null
2005-10-13 13:24:15
1,129,220,000
resolved fixed
999d9b0
1,129,280,000
bcel-builder/src/org/aspectj/apache/bcel/classfile/ClassParser.java
AspectJ
340
112,243
Bug 112243 Compiler Core Dump with Apparent Fix
null
2005-10-11 14:27:35
1,129,060,000
resolved fixed
04e8dca
1,129,200,000
weaver/src/org/aspectj/weaver/World.java weaver/src/org/aspectj/weaver/bcel/BcelWorld.java
AspectJ
341
56,779
Bug 56779 [ajdoc] add ajdoc support for inter-type declarations and other declare forms
Currently ajdoc only exposes the "Advises" and "Advised by" relationships from the structure model. It needs to support inter-type field and member declarations using a UI similar to how Javadoc presents inherited members. It also needs to support the other declare forms: error, warning, soft, parents, and precedence.
2004-03-30 12:31:51
1,080,670,000
resolved fixed
ab6c7a5
1,128,530,000
ajdoc/src/org/aspectj/tools/ajdoc/HtmlDecorator.java ajdoc/src/org/aspectj/tools/ajdoc/StructureUtil.java ajdoc/src/org/aspectj/tools/ajdoc/StubFileGenerator.java ajdoc/testdata/declareForms/DeclareCoverage.java ajdoc/testsrc/org/aspectj/tools/ajdoc/AjdocTests.java ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase...
AspectJ
342
92,837
Bug 92837 [inc-compilation] Incremental Compilation Fails for ITD's on Aspects
On my project, when I save an aspect that calls an inter-type declaration defined on itself, the incremental compiler gives a message like this: The method logError(String, Exception) is undefined for the type Foo Foo.java Running a full build clears the error. This might be a compiler bug, or it might be AJDT (I never...
2005-04-26 17:48:55
1,114,550,000
resolved fixed
727b0f5
1,128,520,000
tests/multiIncremental/PR92837/base/sample/AbstractDerived.java tests/multiIncremental/PR92837/base/sample/Holder.java tests/multiIncremental/PR92837/inc1/sample/AbstractDerived.java tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
AspectJ
343
91,417
Bug 91417 -Xreweavable should be the default
In order to facilitate widespread use of LTW we need to ensure code is compiled with Xreweavable. However we cannot rely on developers to use this flag so it must be the default. Unfortunately the current code bloat is unacceptable for large projects.
2005-04-14 11:16:09
1,113,490,000
resolved fixed
12e6334
1,128,520,000
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java loadtime/src/org/aspectj/weaver/loadtime/Options.java org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java org.aspectj.ajdt.core/src/org/aspectj/ajdt/core/AspectJCore.java org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/build...
AspectJ
344
108,117
Bug 108117 Complete implementation of abstract generic aspects
this requires 1/ completion of the parameterizeWith implementation in the pointcut AST nodes 2/ a much more exhaustive test suite around it.
2005-08-26 10:35:57
1,125,070,000
resolved fixed
451fea8
1,128,510,000
weaver/src/org/aspectj/weaver/patterns/AnnotationPatternList.java weaver/src/org/aspectj/weaver/patterns/AnnotationPointcut.java weaver/src/org/aspectj/weaver/patterns/ArgsAnnotationPointcut.java weaver/src/org/aspectj/weaver/patterns/ArgsPointcut.java weaver/src/org/aspectj/weaver/patterns/CflowPointcut.java weaver/sr...
AspectJ
345
111,481
Bug 111481 varargs doesn't work for ITD'd constructors
null
2005-10-04 12:25:10
1,128,440,000
resolved fixed
2b0e675
1,128,500,000
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/InterTypeConstructorDeclaration.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AspectJ
346
77,269
Bug 77269 Advice on inner classes not show in Outline view or gutter
Advice associated with pointcuts that match join points in inner classes are not shown. Declare warning/error are shown however. See attached screenshot for example below. Notice WEAVEINFO messages indicate problem is in AJDT not AspectJ. Also notice phantom entry in Outline view "injar aspectL Test.java". package bug_...
2004-10-29 06:25:28
1,099,050,000
resolved fixed
4573068
1,128,410,000
asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmHierarchyBuilder.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AspectJ
347
108,118
Bug 108118 Complete implementation of @SuppressAjWarnings
ensure that @SuppressAJWarnings are indeed suppressed during pointcut operations. This requires wrapping major pointcut operations with calls to Lint from the associated advice.
2005-08-26 10:37:42
1,125,070,000
resolved fixed
81a0790
1,128,010,000
tests/src/org/aspectj/systemtest/ajc150/SuppressedWarnings.java weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java weaver/src/org/aspectj/weaver/bcel/Utility.java
AspectJ
348
101,047
Bug 101047 Weaver produces wrong local variable table bytecode
AspectJ version: DEVELOPMENT (also observed in 1.2.1) When weaving with a before or after advice, the generated local variable table will, on branch instructions, offset the "length" field of a local variable wrongly by one instruction. Also, the weaver will mix up local variables with the same name, thus violating the...
2005-06-21 10:13:24
1,119,360,000
resolved fixed
85a4b0a
1,127,940,000
bcel-builder/src/org/aspectj/apache/bcel/generic/MethodGen.java
AspectJ
349
101,407
Bug 101407 NullPointerException when selecting Save As in top menu
The Steps of Reproduce: 1. Open BIRT 2. New a project 3. In top menu of File, click New -> Report to create a report 4. Drag a table element from Palette into the report of Layout view 5. Save the report 6. Drag mouse to select two cells in the table 7. Select the report in Navigator view 8. In the top menu, select Sav...
2005-06-23 02:44:44
1,119,510,000
closed fixed
97520cf
1,127,860,000
bcel-builder/src/org/aspectj/apache/bcel/generic/LocalVariableGen.java weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java weaver/src/org/aspectj/weaver/bcel/LocalVariableTag.java
AspectJ
350
102,933
Bug 102933 problem with Object arrays and clone() with 1.4 .class compatibility
null
2005-07-06 16:20:01
1,120,680,000
resolved fixed
fb428d0
1,127,830,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AspectJ
351
88,900
Bug 88900 Unnecessary warning for ITDs
Consider the following aspect: public aspect RunnableDefaultImpl { public void Runnable.run() { } } (Note that it makes little sense to have a default implementation for Runnable. However, I am using it to allow easy reproduction of the bug.) Compiling this aspect leads to the following warning: ...\test\RunnableDefaul...
2005-03-23 13:37:57
1,111,600,000
resolved fixed
e76b370
1,127,830,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/ResolvedTypeMunger.java
AspectJ
352
77,076
Bug 77076 Weaving into jar fails if some of the referred classes are unavailable
I am trying to profile JDBC access in a Spring-based application. Since all the JDBC interaction is performed through Spring classes, I need to weave into spring.jar. However, many of the classes referred by spring.jar aren't available to me (I am not using the functionality implemented by many of the classes). When I ...
2004-10-26 23:43:59
1,098,850,000
resolved fixed
a4a9090
1,127,550,000
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/OutjarTest.java weaver/src/org/aspectj/weaver/JoinPointSignature.java weaver/src/org/aspectj/weaver/JoinPointSignatureIterator.java weaver/src/org/aspectj/weaver/Memb...
AspectJ
353
109,173
Bug 109173 Weaving Adaptor enhancements for performance, configuration and diagnosis
Here are some suggested enhancements as a result of exhaustive testing in the Eclipse/OSGi environment. 1. If no aspects are declared for a particular class loader, either because there are no visible aop.xml files or they contain no aspect definitions, then we should short-circuit the implementation of weaveClass() so...
2005-09-09 12:49:04
1,126,280,000
resolved fixed
03b20bc
1,127,490,000
loadtime/src/org/aspectj/weaver/loadtime/Aj.java loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java loadtime/src/org/aspectj/weaver/loadtime/DefaultWeavingContext.java loadtime/src/org/aspectj/weaver/loadtime/IWeavingContext.java
AspectJ
354
109,283
Bug 109283 Invalid "indirect static access" warning on EnumSet.noneOf
When compiling AspectJ enabled projects in Java 5.0 source mode with "Indirect access to static modifier" warnings on, the following code incorrectly gives a compiler warning (this doesn't occur in non-AspectJ enabled projects): public class Test { enum Foo { Wibble, Wobble, Woo; } public static void main(String[] args...
2005-09-12 08:37:45
1,126,530,000
resolved fixed
8a0f59a
1,127,400,000
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/AjcMemberMaker.java weaver/src/org/aspectj/weaver/bcel/Bc...
AspectJ
355
76,374
Bug 76374 Problem with declare parents when using non-public classes
Non-public classes, when explicitly named, do not get woven. The test case below exhibits this problem when the package declaration is uncommented. If the package declaration is commented out, the class is woven correctly. If the package declaration is uncommented, a compilation failure occurs with AspectJ 1.2. Accordi...
2004-10-15 13:23:09
1,097,860,000
resolved fixed
ca9c1f7
1,127,320,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AspectJ
356
104,957
Bug 104957 NullPointerException when running ajc on gij
When running ajc 1.2.1 on the GNU Interpreter for Java 4.0.1, I received this error: java.lang.NullPointerException at org.aspectj.apache.bcel.generic.InstructionComparator$1.equals(org.aspectj.apache.bcel.generic.Instruction, org.aspectj.apache.bcel.g eneric.Instruction) (/tmp/cache/local/aspectj1.2/lib/aspectjweaver....
2005-07-24 20:01:39
1,122,250,000
resolved fixed
0e1bb19
1,127,320,000
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionComparator.java
AspectJ
357
108,120
Bug 108120 Complete implemenation of runtime pointcut parsing and matching
The weaver API for runtime pointcut parsing and matching needs extending for all of the new pointcuts we have added in AJ5. Recommended approach is to implement JavaLangReflectObjectType as a new ReferenceTypeDelegate, and a JavaLangReflectWorld in place of BcelWorld.
2005-08-26 10:39:53
1,125,070,000
resolved fixed
a39f595
1,127,310,000
aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/AjTypeImpl.java aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/PointcutImpl.java aspectj5rt/java5-src/org/aspectj/lang/annotation/Pointcut.java aspectj5rt/java5-src/org/aspectj/lang/reflect/Pointcut.java bcel-builder/src/org/aspectj/apache/bcel/classfile/Ja...
AspectJ
358
109,486
Bug 109486 Internal compiler error (ClassParser.java:242)
Testcase: A.aj containing: final abstract aspect A {} This causes the compiler to abort with an internal compiler error: C:\Documents and Settings\mchapman\A.aj [error] Internal compiler error org.aspectj.apache.bcel.classfile.ClassFormatException: Class can't be both final and abstract at org.aspectj.apache.bcel.class...
2005-09-14 06:06:29
1,126,690,000
resolved fixed
87e5c2e
1,126,700,000
bcel-builder/src/org/aspectj/apache/bcel/classfile/ClassParser.java tests/bugs150/PR109486.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AspectJ
359
103,740
Bug 103740 Compiler failure on @annotation
I'm using the ajc embedded in the latest dev build of AJDT (build 20050713163417) This small example illustrates the problem: public abstract aspect AbstractRequestMonitor { public pointcut requestExecution(RequestContext requestContext) : execution(* RequestContext.execute(..)) && this(requestContext); public abstract...
2005-07-13 19:09:31
1,121,300,000
resolved fixed
2ae4f53
1,126,530,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/patterns/AnnotationPointcut.java
AspectJ
360
108,826
Bug 108826 AJDT Error: Can't find type
In Eclipse 3.1, using the latest AspectJ build (1.5.0_M3a compiler and 1.3.0 plugin) I get an error "can't find type test.T" , using the following code: =============== package test; public class CantFindType { public <T> T[] method(T[] array) { return null; } } ================ The error occurs, if the return type, or...
2005-09-06 08:13:03
1,126,010,000
resolved fixed
2942ca0
1,126,280,000
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AspectJ
361
109,124
Bug 109124 VerifyError with inner classes
null
2005-09-09 05:44:14
1,126,260,000
resolved fixed
a9ca915
1,126,260,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/bcel/BcelField.java
AspectJ
362
109,016
Bug 109016 NullPointerException when building configuration
The exception below seems to be happening with any .lst file: Message: NullPointerException thrown: null Stack trace: java.lang.NullPointerException at org.aspectj.ajde.internal.CompilerAdapter.configureBuildOptions(CompilerAdapter.java:296) at org.aspectj.ajde.internal.CompilerAdapter.genBuildConfig(CompilerAdapter.ja...
2005-09-07 21:09:51
1,126,140,000
resolved fixed
5187437
1,126,210,000
ajde/src/org/aspectj/ajde/internal/CompilerAdapter.java
AspectJ
363
108,886
Bug 108886 Getting Exception during compilation : java.lang.RuntimeException: Internal Compiler Error: Unexpected null source location passed as 'see also' location.
Am attaching a small test case to reproduce the error (Not sure how to attach it - hopefully should be feasible to do so after I log the bug).
2005-09-06 19:02:23
1,126,050,000
resolved fixed
2d21db0
1,126,200,000
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java weaver/src/org/aspectj/weaver/ResolvedMemberImpl...
AspectJ
364
109,042
Bug 109042 parameter ajc_aroundclosure is never read
null
2005-09-08 08:13:40
1,126,180,000
resolved fixed
08d6a5d
1,126,190,000
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AspectJ
365
108,902
Bug 108902 Type mismatch: cannot convert from Collection to Collection
(From aspectj-users) The program below produces the erroneous message: [iajc] D:\workdir\DPsample\main\src\com\designpattern\observer\ObserverProt ocol.aj:39 [error] Type mismatch: cannot convert from Collection to Collection [iajc] return observers; [iajc] ^^^^^ //Subject.java interface Subject { public void addObserv...
2005-09-07 02:53:36
1,126,080,000
resolved fixed
2505485
1,126,190,000
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/InterTypeMethodDeclaration.java tests/bugs150/pr108902/Observer.java tests/bugs150/pr108902/Subject.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AspectJ
366
108,816
Bug 108816 AspectJ 1.5.0 Development Compiler Chokes on Advice with Cflow
null
2005-09-06 03:18:39
1,125,990,000
resolved fixed
71771ab
1,126,010,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/patterns/ArgsPointcut.java
AspectJ
367
99,125
Bug 99125 Repetitive method name/signature in class file
This is what the VM sais: java.lang.ClassFormatError: Repetitive method name/signature in class file com/ netvisor/metadata_view/ComponentFactory at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoad...
2005-06-09 06:25:43
1,118,310,000
resolved fixed
df46c6f
1,125,680,000
tests/bugs150/pr99125/p/I.java tests/bugs150/pr99125/p/J.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
AspectJ
368
101,606
Bug 101606 AspectJ compiler does not process unused code compiler options properly for aspects
In Eclipse (3.0) click 'Window' > 'Preferences' > 'Java' > 'Compiler'. Select the 'Unused Code' tab on the compiler preference page. Change 'Unused or unread private members' to Warning or Error. Create a project that contains an aspect with some private pointcuts. You will see warnings or errors for these pointcuts sa...
2005-06-24 05:17:53
1,119,600,000
resolved fixed
2c88c59
1,125,670,000
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AspectJ
369
102,212
Bug 102212 [itds] abstract synchronized: compile error expected
when using intertype declaration, the compiler doesn't check for illegal modifier combinations such as "abstract synchronized". another manifestation of this problem is when using intertype declaration to add a synchronized method to an interface. the problem is more severe in this case because conceptually, this metho...
2005-06-29 17:07:44
1,120,080,000
resolved fixed
b17ff4e
1,125,670,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java
AspectJ
370
99,136
Bug 99136 xlint advice not applied appears twice with cflows
////////////// in the following code aspect A{ before(): call(* *(..)) && cflow(execution(* *(..))) {} } //////////////////////////////////// two "advice not appied" xlint messages are produced, one for the before advice and one for the cflow within the before advice.
2005-06-09 08:36:06
1,118,320,000
resolved fixed
047173e
1,125,660,000
tests/bugs150/pr105479/Driver.java tests/bugs150/pr105479/ReturnTypeTester.java tests/harness/XLintcflow.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java tests/src/org/aspectj/systemtest/xlint/XLintTests.java weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
AspectJ
371
108,062
Bug 108062 NPE when opening resources from CVS resources history
NPE when opening resources (double-click) from CVS resources history view. java.lang.NullPointerException at org.eclipse.mylar.java.ui.editor.MylarJavaElementDescriptor.drawCompositeImage(MylarJavaElementDescriptor.java:40) at org.eclipse.jface.resource.CompositeImageDescriptor.getImageData(CompositeImageDescriptor.jav...
2005-08-25 17:47:23
1,125,010,000
resolved fixed
ad753aa
1,125,650,000
bcel-builder/src/org/aspectj/apache/bcel/classfile/GenericSignatureParser.java tests/bugs150/pr108602.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AspectJ
372
98,290
Bug 98290 no "matches declare" entry in structure model for single declare warning statement
A project containing one class and one aspect: ----------------------------------------------------- package pack; public class C { public static void main(String[] args) { new C().sayHello(); } public void sayHello() { System.out.println("HELLO"); } } ---------------------------------------------------- package pack; ...
2005-06-03 10:57:01
1,117,810,000
resolved fixed
619f8bc
1,125,600,000
weaver/src/org/aspectj/weaver/bcel/BcelShadow.java weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java
AspectJ
373
102,459
Bug 102459 provide more detail in -showWeaveInfo messages
When advice is executed, the object you have to work with is the joinpoint. This can then be queried to get various information out of it. It would be nice, if as part of the weaving you could get hold of the same information. This is particularly useful in the case of writing a coverage tool. In order to measure where...
2005-07-01 06:48:04
1,120,210,000
resolved fixed
c6bc7a2
1,125,600,000
bridge/src/org/aspectj/bridge/WeaveMessage.java tests/java5/ataspectj/ataspectj/ltwlog/MainVerboseAndShow.java weaver/src/org/aspectj/weaver/Shadow.java
AspectJ
374
59,076
Bug 59076 Reduce footprint of JoinPoint.StaticPart objects
Tests show that each object consumes 180+ bytes. For a large project (1000+ classes) where an aspect is used to implement a pervasive cross-cutting concern e.g. exception logging this can lead to >1MB of additional heap space. Two possible approaches could be: 1. Break literal String used by Factory.makeXXXSig() method...
2004-04-19 10:52:41
1,082,390,000
resolved fixed
a5e645f
1,125,580,000
runtime/src/org/aspectj/runtime/reflect/Factory.java runtime/src/org/aspectj/runtime/reflect/SignatureImpl.java weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
AspectJ
375
74,048
Bug 74048 AJDT reports unnecessary compile time warnings for private static aspects
null
2004-09-16 05:30:58
1,095,330,000
resolved fixed
16512b2
1,125,570,000
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AspectJ
376
59,196
Bug 59196 "adviceexecution() && args()" pcd does not pick up around advice execution because args() does not match the AroundClosure parameter.
In the following sample, the advice defined in "other_aspect" does not pick up the execution of around advice defined in "some_aspect". It matches only against the before advice defined in "some_aspect". The implicit AroundClosure parameter of an around advice seems to come in the way of args() matching. --------------...
2004-04-20 03:42:16
1,082,450,000
resolved fixed
a66e0a2
1,125,560,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/patterns/ArgsPointcut.java
AspectJ
377
71,159
Bug 71159 pointcut call(MethodPattern) matches non-visible methods in parent class
aspectjtools.jar / ajc v1.2 We believe that the call(methodpattern) pointcut has matching behaviour that is inconsistent with what we expect from Java in relation to invocations of methods on subclasses and superclasses. Background: Our goal is to use an aspect to declare ajc compiler warnings on any invocation to a ta...
2004-07-30 10:36:22
1,091,200,000
resolved fixed
7e0c3cd
1,125,500,000
tests/bugs150/pr71159/pkg1/A.java tests/bugs150/pr71159/pkg1/B.java tests/bugs150/pr71159/pkg1/C.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java
AspectJ
378
107,858
Bug 107858 illegal argument to proceed crashes the parser
in a context where proceed requires zero arguments, calling it with an extra argument crashes the compiler, but only if that argument is a field access: class Foo { Foo field; void test() {} } public aspect Bug { void around() : call(void Foo.test()) { Foo foo = new Foo().field; proceed(foo); // caught at compile time ...
2005-08-24 10:53:45
1,124,900,000
resolved fixed
6c8747b
1,125,500,000
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AccessForInlineVisitor.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AspectJ
379
104,024
Bug 104024 combining varargs and inner classes crashes the parser
class Outer { public class Inner {} } public class Bug { public void varargs(Object... varargs) {} public void test() { Outer.Inner inner = new Outer().new Inner(); varargs(inner); // works varargs(new Outer().new Inner()); // crashes } }
2005-07-15 11:16:07
1,121,440,000
resolved fixed
f2af562
1,125,500,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AspectJ
380
95,992
Bug 95992 Problems resolving type name inside generic class
ajc reports an error when compiling the following code: interface Base<T> { static interface Inner { } } class Test<T extends Test.InnerTest> implements Base<T> { static class InnerTest implements Inner { } } $ ajc -1.5 Test.java Test.java:14 [error] Inner cannot be resolved to a type static class InnerTest implements ...
2005-05-19 14:12:24
1,116,530,000
resolved fixed
b953c03
1,125,500,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AspectJ
381
108,448
Bug 108448 IllegalStateException: Undeclared type variable when hiding
null
2005-08-31 02:35:46
1,125,470,000
resolved fixed
2c9ea11
1,125,490,000
weaver/src/org/aspectj/weaver/bcel/BcelField.java weaver/src/org/aspectj/weaver/bcel/BcelGenericSignatureToTypeXConverter.java weaver/src/org/aspectj/weaver/bcel/BcelMethod.java weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java weaver/testsrc/org/aspectj/weaver/bcel/BcelGenericSignatureToTypeXTestCase.java
AspectJ
382
108,377
Bug 108377 Verify Error on intertype field indirection in intertype method
When I run this program: public class A { public static void main(String[] args) { System.out.println(new A().foo()); } } aspect Aspect1 { public A A.a; public String A.value; public String A.foo() { return a.value; } } I get the error: Exception in thread "main" java.lang.VerifyError: (class: Aspect1, method: ajc$inte...
2005-08-30 11:01:24
1,125,410,000
resolved fixed
be750d5
1,125,480,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AspectJ
383
108,050
Bug 108050 Execution not matching override in doubly derived method
The following sample code fails because the compiler isn't matching the execution of doPost in MockServlet4. The declare warning for "servlet request" doesn't match in that case, nor does advice on the join point actually run at runtime (though this simplified code only shows the problem with declare warning). This was...
2005-08-25 16:22:28
1,125,000,000
resolved fixed
27e68f3
1,125,060,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/JoinPointSignature.java weaver/src/org/aspectj/weaver/ResolvedMemberImpl.java
AspectJ
384
107,713
Bug 107713 ClassCastException popup
Whenever I change any file and save(auto-compile) I get this in a popup. ClassCastException thrown: org.aspectj.ajdt.internal.compiler.lookup.EclipseSourceType cannot be cast to org.aspectj.weaver.bcel.BcelObjectType This started happening when I wrote these aspects. Before this started happening the IDE showed this li...
2005-08-23 06:56:58
1,124,790,000
resolved fixed
100d9e0
1,125,050,000
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java weaver/src/org/aspectj/weaver/bcel/BcelWorld.java
AspectJ
385
104,720
Bug 104720 VerifyError after weaving around trivial switch statement
After compiling the attached source file and class file with ajc -inpath . -outjar t.jar Tracer.aj (on any of 1.2.1, 1.5.0M2 or the June 2005 snapshot) and then attempting to run it with gij -classpath ./t.jar:$CLASSPATH Test the following error is obtained: Exception in thread "main" java.lang.VerifyError: verificatio...
2005-07-21 15:16:55
1,121,970,000
resolved fixed
bf767a9
1,124,970,000
bcel-builder/src/org/aspectj/apache/bcel/generic/SWITCH.java bcel-builder/src/org/aspectj/apache/bcel/generic/TABLESWITCH.java
AspectJ
386
82,989
Bug 82989 Compiler error due to a wrong exception check in try blocks
Compiler error on correct code when an aspect performs a method introdiction. The method introduction contains an invocation to a method from the class and such an invocation is inside an appropriate try block. The ajc compiler performs a wrong check on the exception types. To understand better, please see the attached...
2005-01-17 12:07:27
1,105,980,000
resolved fixed
cc6e681
1,124,910,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java weaver/src/org/aspectj/weaver/AjcMemberMaker.java
AspectJ
387
79,523
Bug 79523 BCException: illegal change to pointcut declaration: calls(<nothing>)
null
2004-11-25 16:31:26
1,101,420,000
resolved fixed
93fdce1
1,124,480,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java
AspectJ
388
104,529
Bug 104529 @SuppressWarnings( "unchecked" ) is not ignoring type safety checks
AJDT is ignoring the @SuppressWarnings( "unchecked" ) annotation. It is giving me a type safety warning when I don't specify the type when declaring a generic even though I have the @SuppressWarnings( "unchecked" ) annotation specified.
2005-07-20 12:46:55
1,121,880,000
resolved fixed
7b32570
1,124,480,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AspectJ
389
86,057
Bug 86057 expect error when overriding final pointcuts
I get no compiler error when I "override"/redefine a final pointcut: ------------ public class Main { static void walk() {} static void run() {} public static void main(String[] args) { walk(); run(); } } abstract aspect AA { public final pointcut publicPointcut() : call(void walk()); before() : publicPointcut() { Syst...
2005-02-21 17:25:49
1,109,020,000
resolved fixed
86ce1f7
1,124,470,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/ResolvedType.java weaver/src/org/aspectj/weaver/WeaverMessages.java
AspectJ
390
78,261
Bug 78261 field pattern with "void" type should be compile-time error
We really should barf early on get(void i) as opposed to just compiling through and treating it as something that'll never match. I rated this as minor since this is just an error message issue.
2004-11-10 01:58:38
1,100,070,000
resolved fixed
2b23e91
1,124,460,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AspectJ
391
91,114
Bug 91114 [jdt-parser] Parser error on System.out.printf("..." + (after-before) + "...")
Following code fragment: ***************************** class Foo { public void bar () { long before = 0; long after = 0; System.out.println("... " + (before - after) + " ..."); } } ***************************** leads to following parser error ***************************** [...].java:25 [error] Syntax error on token "-"...
2005-04-12 08:03:15
1,113,310,000
resolved fixed
169a488
1,124,460,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AspectJ
392
64,568
Bug 64568 Wildcarding in ITDs needs clearer compiler error message.
If a user attempts to define an ITD using a type pattern (illegal since AspectJ 1.1) they get back a compiler error message of the following form :- MyAspect.java:4 error Syntax error on token "*", around expected public String foo.bar.*.name; A clearer error message informing the user of their use of illegal syntax wo...
2004-05-28 11:21:04
1,085,760,000
resolved fixed
5e9aca9
1,124,460,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AspectJ
393
106,634
Bug 106634 regression: argument causes BcelGenericSignatureToTypeXConverter.java:203
the following reported a compile error using AspectJ Compiler DEVELOPMENT built on Monday Jun 20, 2005 at 08:14:57 GMT but now crashes using AspectJ Compiler DEVELOPMENT built on Wednesday Aug 10, 2005 at 13:12:53 GMT import java.util.Vector; // works if java.util.* is used public class Bug extends Vector { // works if...
2005-08-10 11:04:45
1,123,690,000
resolved fixed
477c575
1,123,760,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AspectJ
394
106,461
Bug 106461 org.aspectj.weaver.patterns.WildTypePattern.maybeGetCleanName(WildTypePattern.java:500)
null
2005-08-09 08:46:59
1,123,590,000
resolved fixed
5735e96
1,123,670,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/patterns/PatternParser.java weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java
AspectJ
395
104,212
Bug 104212 static method call from subclass signature is wrong
a very bad bug... or ? in the snip below, getMethod() says null and the factory is actually thinking that test() is a static method of AspectJBugMain instead of Assert... wondering why we don't catch that in the test suite or what could happen recently around that. Or is it something I am confused about ? (i doubt a jp...
2005-07-18 09:25:01
1,121,690,000
resolved fixed
619a6ad
1,122,040,000
tests/java5/ataspectj/ataspectj/Bug104212.java tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjSyntaxTests.java weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java weaver/src/org/aspectj/weaver/bcel/BcelShadow.java weaver/src/org/aspectj/weaver/bcel/BcelWorld.java
AspectJ
396
103,266
Bug 103266 NPE on syntax error
This example program generates an NPE on CVS HEAD and M2. I will attach the ajcore file. public abstract aspect WorkerExample { after() returning (RequestContext newContext) : call(RequestContext+.new (..)) { System.out.println("constructing "+newContext+" at "+thisJoinPoint.toLongString()+" from "+thisEnclosingJoinPoi...
2005-07-10 01:40:14
1,120,970,000
resolved fixed
bba9c50
1,121,680,000
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/MakeDeclsPublicVisitor.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AspectJ
397
83,935
Bug 83935 @AJ and formal binding impl
Some notes on formal binding impl for @AJ In code style, the advice signature is always looking the same (..bindings.., org.aspectj.lang.Part thisJoinPointStaticPart, JoinPoint thisJoinPoint, org.aspectj.lang.Part thisEnclosingJoinPointStaticPart) In @ style, it is user defined. The current impl is handling the formal ...
2005-01-28 10:29:18
1,106,930,000
resolved fixed
639b4fd
1,121,090,000
tests/java5/ataspectj/ataspectj/MultipleBindingTest.java tests/java5/ataspectj/ataspectj/SingletonAspectBindingsTest.java tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjSyntaxTests.java weaver/src/org/aspectj/weaver/bcel/BcelAdvice.java
AspectJ
398
100,260
Bug 100260 [generics][itds] methods inherited from a generic parent
when using an intertype declaration to add a method to a generic class, the method is not correctly inherited. the bug doesn't apply to fields. Strangely enough, raw types (generic types instantiated without specifying a type parameter) inherit the methods properly: class Generic_Parent<T> {} class Child extends Generi...
2005-06-15 14:29:21
1,118,860,000
resolved fixed
b54831f
1,118,920,000
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
AspectJ
399
100,227
Bug 100227 [generics][itds] inner class with generic enclosing class
ajc crashes with a NullPointerException when an intertype declaration tries to modify an inner class, if the enclosing (outer) class is generic: class Outer { class Inner {} } class Generic_Outer<T> { class Inner {} } aspect Injector { int Outer.outer; // works int Outer.Inner.inner; // works int Generic_Outer.outer; /...
2005-06-15 12:24:09
1,118,850,000
resolved fixed
7d5002a
1,118,910,000
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java weaver/src/org/aspectj/weaver/TypeX.java
AspectJ
400
99,168
Bug 99168 [generics][itds] ITD on generic inner class crashes ajc
inter-type declaration on a generic inner class crashes the compiler: class Outer { class Inner {} class Generic_Inner<T> {} } class Generic_Outer<T> { } aspect Injector { int Outer.outer; // works int Outer.Inner.inner; // works int Generic_Outer.outer; // works int Outer.Generic_Inner.inner; // crashes } /home/user/s...
2005-06-09 11:21:17
1,118,330,000
resolved fixed
588023e
1,118,760,000
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/InterTypeScope.java
AspectJ