Andy Clement
aa4e441fca
Moved tests around for avoiding weaving switch infrastructure method
4 anni fa
Semyon Danilov
d8821e28d6
- dont't weave synthetic enum helper method for switch
- add test for switch on enum with around all advice
Signed-off-by: Semyon Danilov <samvimes@yandex.ru>
4 anni fa
Andy Clement
d3da67c03d
mavenizing weaver - wip
5 anni fa
Andy Clement
d92319c43f
Updates to better cope with future JDKs
The version handling in LangUtil has been overhauled
to cope better with post 1.8 releases (JDK9 and JDK10 or 18.3
or whatever they call it). As part of this moved
to treating JDK9 as '9' rather than '1.9'. Also removed
duplicate version processing logic and had that defer to
the one place in LangUtil where we now deal with it.
Includes some generics tidyup in ajdoc. More ajdoc work
is necessary for Java10 because it removes the standard doclet
(old style). However trying to invoke the internal Javadoc
handler in Java10 is failing due to module visibility rules.
6 anni fa
Andy Clement
ab83398525
Various changes to get tests passing on 1.8 and 1.9
6 anni fa
Andy Clement
faac3d84e2
various changes to make more tests pass on Java9
6 anni fa
aclement
55cd615ec9
optimizations: working with Abraham on these: this one avoids trailing ':' which will create a CP hit more frequently.
14 anni fa
aclement
27fa7e9356
more overweaving tests and fixes: method call/field get/set
14 anni fa
aclement
5dd6c0eb63
231396: refactoring AspectJ: Due to PMD reported problem in Utility - had to change expected code
16 anni fa
aclement
af08e729f0
fixes for 145442: better line numbers for woven code
17 anni fa
aclement
c50a557d3c
test and fixes for 145442 - line number info for stack traces.
17 anni fa
aclement
e4ab0ae576
fix and testcode update for: 151673: after advice sometimes woven incorrectly into strangely formed input bytecode
18 anni fa
acolyer
c9f311aeeb
tests and implementation for enh 147711 (use true synthetic attribute/flag for aj synthetic members).
18 anni fa
acolyer
426cbdccfd
tests and "fix" for pr148007 - workaround JRockit "goto" bug by generating code closer to that produced by javac when weaving after and after returning. In particular: avoid adding a goto that branches to the next instruction (now replaces that return opcode with a nop instead), and store the return value on the top of the stack in a temp before branching to the after advice dispatch and restore it afterwards.
18 anni fa
aclement
5a01932b9d
fixes for 137235 (contributed by Ron): more intelligent logic for determining if a path entry is a jar/zip (don't just rely on suffix, some new .bndl files seem to be becoming popular...)
18 anni fa
aclement
9ee775954d
feature: Use ASM for non-woven types: testcode
18 anni fa
aclement
1435cd1f6a
tests and fixes for 119657. from matthew.
18 anni fa
aclement
ab8ad33b20
serialized form of ITD field mungers changed (includes aliases) - jars rebuilt
18 anni fa
aclement
747be1c91a
change to itd ctor serialization - quick rebuild of jars.
18 anni fa
aclement
51b0f6261c
Updates for generic ITDs - see pr112105 for a description of all changes.
18 anni fa
aclement
71aa3b1f58
change to resolvedmember serialization (to support varargs ITDs) is quite serious - major version number of attribute rev'd to 4 in this case.
18 anni fa
acolyer
760ceb8dee
final part of fix for 100195 - local var debug info for inlined around advice
18 anni fa
aclement
1ee6fbfbdc
rebuilt post fix for pr110906: varargs ITD
18 anni fa
acolyer
4934819a8d
refreshed versions of .txt files for comparison
18 anni fa
aclement
efa7fb38c2
rebuilt due to attribute modifications.
19 anni fa
acolyer
a5e645fa9a
fix for pr59076, much more memory efficient creation of join point static parts
19 anni fa
wisberg
84542fbb09
tests for Fix 106736 - permitting classes dir as aspect URL (also permitting .zip files)
19 anni fa
aclement
d5d75b67f6
rebuilt jars because of resolvedmember serialization change to remember type variables.
19 anni fa
aclement
8db7e37a1b
fixing the versioning problem. Up until now if we found no version in a class we 'assumed' it was the latest (1.5.0) - this is dumb. No version really means it is probably 1.2.0 (as the version was added for 1.2.1). These fixes mean that you can now safely check that version when reading in attributes, confident that checking for 1.5.0 *means* 1.5.0 was used to build it.
19 anni fa
acolyer
40cf8dff34
changed the serialized form of a WildTypePattern to remember generic info... standby for mass updates of binary comparison tests.
19 anni fa
acolyer
a4a4da472b
first batch of updates for generics :- largely parsing plus storage of type variable patterns, plus a few tweaks to visitor pattern
19 anni fa
avasseur
4f1ce6df3b
@style if support, parser support for if() / if(true)/ if(false) [might lead to issue with code style to allow "if()" )
19 anni fa
avasseur
f4f22c7c08
test case for pattern visitor, issue with varargs so test case for Adrian to fix it
19 anni fa
aclement
e8601ecc09
from branch: expected test results changed because of new JP subtypes
19 anni fa
acolyer
983eb455bf
fixes for annotation type pattern bugs uncovered in 150 tests
19 anni fa
aclement
603b063ecd
Fixes for 78021, 79554 - both to do with us breaking the exception table for a method on weaving *if* finally blocks are involved.
19 anni fa
aclement
e63ee67d95
rebuilt with 2.0 weaver version attribute (aj1.2.1 had version 1.0)
19 anni fa
acolyer
ded1a744fc
payback time for all the "kinding" work - only ever generate and match
against shadows that we know might be matched.
19 anni fa
acolyer
ac6d522621
updated binary form
19 anni fa
acolyer
5287f71985
updated binary form
19 anni fa
aclement
963dcf64db
Annotation matching.
19 anni fa
aclement
ebd0cf2217
Rebuilt due to type munger attribute change
19 anni fa
aclement
4273a2ddbf
Annotation Matching - test code
19 anni fa
acolyer
a0d4509446
work in progress.... annotation pointcuts, parsing, and patterns
19 anni fa
aclement
413a9ef53b
BcWeaverJarMaker updates - now line numbers have changed.
20 anni fa
acolyer
65c67a4e84
fix for Bugzilla Bug 37020
wrong line for method execution join point
20 anni fa
aclement
9ebfc84930
Fix and tests for Bugzilla Bug 62227
Load Time Weaving aborts on any kind of warning (declare/xlint)
20 anni fa
aclement
0521e79aea
Fix for Bug 55341
error Type mismatch: cannot convert from java.lang.String to java.lang.String
20 anni fa
acolyer
33d8ee9eed
fix for Bugzilla Bug 31460
Weaving class loader
20 anni fa
aclement
cb2aaacf5c
Fix for Bugzilla Bug 41181
Support SerialVersionUID field if no new fields declared on class
(Regenerated with BcweaverJarMaker)
20 anni fa