Alexander Kriegisch
3c80a36527
Make Stack<AroundClosure> in JoinPointImpl InheritableThreadLocal
In case of asynchronous proceeding for nested around-advice, child
threads need copies of the original around-closure stack. Otherwise, the
target method thread will have popped the stack empty after unwinding.
Fixes #128 .
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
преди 2 години
Andrey Turbanov
2301b36776
Cleanup redundant type casts, due to too weak variable type declaration
преди 2 години
Andrey Turbanov
a877b48c51
Update 'runtime' code to use generics
преди 2 години
Andrey Turbanov
b1c52e2f5e
Replace uses of StringBuffer with StringBuilder.
StringBuffer is a legacy synchronized class. StringBuilder is a direct replacement to StringBuffer which generally have better performance.
преди 2 години
Alexander Kriegisch
49cb924f54
Upgrade license from CPLv1/EPLv1 to EPLv2
This was required by the Eclipse team as one precondition for the next
release.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
преди 3 години
Lars Grefer
85ad27ee70
Remove unnecessary interface modifiers
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
преди 3 години
Lars Grefer
702f3fa5bd
Cleanup unused imports
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
преди 3 години
Lars Grefer
e1bff9a570
Use the diamond operator where possible
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
преди 3 години
Lars Grefer
93ce335dc0
Unnecessary unboxing
Reports "unboxing", e.g. explicit unwrapping of wrapped primitive values. Unboxing is unnecessary under Java 5 and newer, and can be safely removed.
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
преди 3 години
Lars Grefer
f33600d4d5
Unnecessary boxing
Reports explicit boxing, i.e. wrapping of primitive values in objects. Explicit manual boxing is unnecessary under Java 5 and newer, and can be safely removed.
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
преди 3 години
Lars Grefer
c1c373f427
'String.indexOf()' expression is replaceable with 'contains()'
Reports any String.indexOf() expressions which can be replaced with a call to the String.contains() method available in Java 5 and newer.
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
преди 3 години
Lars Grefer
72194b7982
'for' loop replaceable with enhanced 'for' loop
Reports for loops which iterate over collections or arrays, and can be replaced with an enhanced for loop (i.e. the foreach iteration syntax).
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
преди 3 години
Andy Clement
c3289ab86b
Polish
преди 3 години
Andy Clement
322aa52b55
polish
преди 4 години
Andy Clement
4471ba76ac
Include JDTCore for Java14
преди 4 години
Andy Clement
8819fad9f4
333274: more tests and fixes: nested @Around advice with proceed
преди 5 години
Andy Clement
9b414afb3b
polish javadoc in runtime module
преди 5 години
Andy Clement
8f01a3063e
Add module tests back in - but streamlined
преди 5 години
Andy Clement
52c4cbfa1b
mavenizing runtime module - merged in aspectj5rt
преди 5 години
Andy Clement
e01e4369b4
mavenizing runtime module - complete
преди 5 години
Andy Clement
432d4845cb
polish javadoc
преди 5 години
Andy Clement
7d47cba010
Bug#531694: generate more optional thisJoinPoint construction code
This commit introduces some new methods into the
runtime Factory class and modifies code generation
to use them (and to use the form of the LDC bytecode
that loads class constants).
преди 6 години
Andy Clement
b6f2b6337f
Fix 500035: handling target only binding in @AJ pointcut
преди 7 години
Andy Clement
dd41751ab2
Cleaning up thread locals when counters/stacks hit zero
преди 11 години
aclement
701e6bd698
323438
преди 14 години
aclement
e40367cb1d
89009: added getId() to joinpoint.staticpart
преди 15 години
aclement
7c00631cac
154427: test and fix
преди 15 години
aclement
b4715bcd19
210848: better javadoc
преди 16 години
wisberg
c4bf683e5c
javadoc only - null Constructor for interface and static initializers, empty CodeSignatures values for static initializers.
преди 18 години
mwebster
090de7e4c5
Bug 155972 "NullPointerException in ConstructorSignature.getConstructor()"
преди 18 години
aclement
16d8120ef1
126167: Fix for @Around problems...
преди 18 години
aclement
f821ca3dae
test and fix for 145086
преди 18 години
acolyer
b6c89301f2
update license to EPL
преди 18 години
aclement
9eb7fa0bc2
tests and fix for 122253
преди 18 години
aclement
91f54fd96f
fix for NPE in SignatureImpl reported on the list by Simon Walter
преди 18 години
aclement
40cbd9f1d4
synchronization joinpoints: aspectjrt changes
преди 18 години
aclement
cb5dfe7598
fixes for 135780: aspectjrt will work better now on a 1.1 vm
преди 18 години
aclement
a9ef1b01b2
spelling fixed! (pr122417)
преди 18 години
acolyer
b9f1bb7ce3
moved to aspectj5rt
преди 18 години
aclement
4c6d0ecb05
organized imports
преди 18 години
acolyer
c439e32628
fix for pr104220 - poor toString implementations for adviceexecution join points.
преди 18 години
acolyer
a5e645fa9a
fix for pr59076, much more memory efficient creation of join point static parts
преди 19 години
aclement
3824b1c247
Fix and tests for PR94167: NPE in reflection API. Fix submitted by Ron Bodkin.
преди 19 години
aclement
529dacebd3
hacked out 1.4 apis - needs tidying up but I'm just trying to see if I can get the build to work.
преди 19 години
avasseur
cdddd38d26
PTW perClause for @AJ + perClause test
преди 19 години
avasseur
ced5f6e66d
@AJ annotation are runtime visible, fixed all licenses from branch for EPL
преди 19 години
avasseur
b151d1a68c
fixing a missing "throw" clause
преди 19 години
wisberg
21f753b76c
back to 1.3 exception API, report bad method via NoAspectBoundException.
преди 19 години
aclement
ad4e9209b4
accessed from gen'd code, needs to be visible
преди 19 години
aclement
2fcbc5bda7
From branch: Changes to runtime for @AJ
преди 19 години