Uri Simchoni
5cdff3bf0c
Change value of woven class in generatedClasses map
Store the woven class and not a generated (inner) class as value of the
woven class name. This has no effect in this commit, because the value
is not consulted at all, but will be used later on.
Relates to #279 .
3 months ago
Alexander Kriegisch
3d7dd3d66e
Add javadoc links to ClassFileTransformer::transform
Relates to #277 .
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
3 months ago
Alexander Kriegisch
3e3c83712e
Weaver returns null instead of original bytes for unwoven classes
This change makes sense independently of #277, but also enables using
- cp "my.jar;aspectjweaver.jar"
-XX:+AllowArchivingWithJavaAgent
-javaagent:aspectjweaver.jar
while creating a CDS archive. Afterward, the application can be run in
its woven state from the CDS archive even without '-javaagent', because
the byte code was archived in its woven state ("poor man's AJC"). See
https://github.com/eclipse-aspectj/aspectj/issues/277#issuecomment-1931142753
for details.
Fixes #277 .
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
3 months ago
Andrey Turbanov
2301b36776
Cleanup redundant type casts, due to too weak variable type declaration
2 years ago
Andrey Turbanov
ffda2dde2d
Update 'weaver' code to use generics
2 years ago
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 years ago
Alexander Kriegisch
2fd6804db8
Fix 'ajdoc' tests for Java 15 build
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
3 years ago
Jerry James
de14ca22d7
Fix misplaced or incorrect javadoc tags
3 years ago
Lars Grefer
d7ba05ce26
Remove checks for old Java Versions
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
3 years ago
Lars Grefer
e1bff9a570
Use the diamond operator where possible
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
3 years ago
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 years ago
Andy Clement
7215c4599e
Fix Bug 387122 - threadlocal in weavingadaptor is potential memory leak
4 years ago
Andy Clement
de2f7c7532
Fix version tagging for info strings
5 years ago
Andy Clement
d3da67c03d
mavenizing weaver - wip
5 years ago
Andy Clement
a1953b5545
Merge changes for 536782
Changes contributed by Manfred under https://github.com/eclipse/org.aspectj/pull/5/commits
5 years ago
Andy Clement
23ee469880
Smarter classpath detection on Java9
On Java9 cannot rely on URLClassLoader being found from which
to determine classpath so use the environment variable. This may
have issues if loaders are being constructed that specifically
deviate from the java.class.path.
6 years ago
Andy Clement
faac3d84e2
various changes to make more tests pass on Java9
6 years ago
Andy Clement
8a6608f4d5
386341
11 years ago
Andy Clement
9a3cc2bc5c
389967
11 years ago
jkew
e07c4112d8
AspectJ Caching w/ CRC Index File
Signed-off-by: Andy Clement <aclement@vmware.com>
12 years ago
aclement
997bf891fa
catch security exception accessing property and return false
12 years ago
aclement
eb5a3b19f3
239649 and primitives no longer all resolved by default
12 years ago
aclement
f04fa59934
328099
13 years ago
aclement
4def7d519e
generics
14 years ago
aclement
cf0ee0c1ee
314130: hotswap and ltw
14 years ago
aclement
00ff26acf5
231945: guard on null and tell them what to do about it
14 years ago
aclement
b3f0ddfcb6
231945: guard on null and tell them what to do about it
14 years ago
aclement
25530f360c
296734: various optimizations for LTW and aop.xml include/exclude processing
14 years ago
aclement
0f5ecb7c4f
prevent re-entrancy on a per thread basis
14 years ago
aclement
cef6f5a98a
formatted
14 years ago
aclement
dbb946ecb6
formatted
14 years ago
aclement
1d771cda42
255643: test and fix
15 years ago
aclement
7ba6c461a1
246125: c14
15 years ago
aclement
a85c94e29a
248814: perclassloaderdumpdir
15 years ago
aclement
55f7bb1083
eclipse: addressed unnecessary casts, unused code, invalid null checks
15 years ago
aclement
b04b0c3c78
delegating 2 arg method to keep those on a back level happy
16 years ago
aclement
da0a976e4c
support weaving of java. and javax. in ltw - risky business
16 years ago
aclement
489f36454f
166647 changed the error message to a lint
16 years ago
aclement
d32f09ff0d
166647 fixes: produces a suitable error if XML defined aspects are excluded from weaving
16 years ago
mwebster
3cb2fd8d69
Bug 155033 "Use ajcore for LTW problems" (change MessageHandler to MessageHolder)
17 years ago
aclement
3294a35d1b
removing asm for the moment
17 years ago
mwebster
c315f9d9a7
Bug 158957 "NPE in LTW with RMI dynamic proxies w/ pointcut reuse" (restore catch(Throwable) in Aj.preProcess() and make adaptor disabled by default)
17 years ago
mwebster
6b31b32ae3
Bug 132080 "LTW concrete-aspect definitions not exposed to weaver"
17 years ago
aclement
409e613aac
141556#11 - reworked messagehandler with 'ignore' function! (wooo) - hope Matthew doesnt complain.
18 years ago
mwebster
04fa1dcce1
Bug 129525 "Don't Dump Bytecodes to Syserr in LTW" (don't throw AbortException in LTW message handler)
18 years ago
mwebster
8549d861b1
Bug 150271 "Allow multiple levels of LTW information" (make weaving/not weaving messages debug and add -debug to options for aop.xml)
18 years ago
mwebster
acf2739fa6
Bug 150487 "Tracing and Logging Framework" (WeavingAdaptorMessageHandler delegates and traces)
18 years ago
aclement
f239f2a2ac
tests (?) and fixes for 152873 - optimized check for @AJ aspects in LTW
18 years ago
aclement
c6b01b10d3
dont need TODO
18 years ago
aclement
c779c96eff
fix for 152871: parsing bytecode too often
18 years ago