Andy Clement
aa4e441fca
Moved tests around for avoiding weaving switch infrastructure method
pirms 4 gadiem
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>
pirms 4 gadiem
Andy Clement
d3da67c03d
mavenizing weaver - wip
pirms 5 gadiem
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.
pirms 6 gadiem
Andy Clement
ab83398525
Various changes to get tests passing on 1.8 and 1.9
pirms 6 gadiem
Andy Clement
faac3d84e2
various changes to make more tests pass on Java9
pirms 6 gadiem
aclement
55cd615ec9
optimizations: working with Abraham on these: this one avoids trailing ':' which will create a CP hit more frequently.
pirms 14 gadiem
aclement
27fa7e9356
more overweaving tests and fixes: method call/field get/set
pirms 14 gadiem
aclement
5dd6c0eb63
231396: refactoring AspectJ: Due to PMD reported problem in Utility - had to change expected code
pirms 16 gadiem
aclement
af08e729f0
fixes for 145442: better line numbers for woven code
pirms 17 gadiem
aclement
c50a557d3c
test and fixes for 145442 - line number info for stack traces.
pirms 17 gadiem
aclement
e4ab0ae576
fix and testcode update for: 151673: after advice sometimes woven incorrectly into strangely formed input bytecode
pirms 18 gadiem
acolyer
c9f311aeeb
tests and implementation for enh 147711 (use true synthetic attribute/flag for aj synthetic members).
pirms 18 gadiem
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.
pirms 18 gadiem
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...)
pirms 18 gadiem
aclement
9ee775954d
feature: Use ASM for non-woven types: testcode
pirms 18 gadiem
aclement
1435cd1f6a
tests and fixes for 119657. from matthew.
pirms 18 gadiem
aclement
ab8ad33b20
serialized form of ITD field mungers changed (includes aliases) - jars rebuilt
pirms 18 gadiem
aclement
747be1c91a
change to itd ctor serialization - quick rebuild of jars.
pirms 18 gadiem
aclement
51b0f6261c
Updates for generic ITDs - see pr112105 for a description of all changes.
pirms 18 gadiem
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.
pirms 18 gadiem
acolyer
760ceb8dee
final part of fix for 100195 - local var debug info for inlined around advice
pirms 18 gadiem
aclement
1ee6fbfbdc
rebuilt post fix for pr110906: varargs ITD
pirms 18 gadiem
acolyer
4934819a8d
refreshed versions of .txt files for comparison
pirms 18 gadiem
aclement
efa7fb38c2
rebuilt due to attribute modifications.
pirms 19 gadiem
acolyer
a5e645fa9a
fix for pr59076, much more memory efficient creation of join point static parts
pirms 19 gadiem
wisberg
84542fbb09
tests for Fix 106736 - permitting classes dir as aspect URL (also permitting .zip files)
pirms 19 gadiem
aclement
d5d75b67f6
rebuilt jars because of resolvedmember serialization change to remember type variables.
pirms 19 gadiem
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.
pirms 19 gadiem
acolyer
40cf8dff34
changed the serialized form of a WildTypePattern to remember generic info... standby for mass updates of binary comparison tests.
pirms 19 gadiem
acolyer
a4a4da472b
first batch of updates for generics :- largely parsing plus storage of type variable patterns, plus a few tweaks to visitor pattern
pirms 19 gadiem
avasseur
4f1ce6df3b
@style if support, parser support for if() / if(true)/ if(false) [might lead to issue with code style to allow "if()" )
pirms 19 gadiem
avasseur
f4f22c7c08
test case for pattern visitor, issue with varargs so test case for Adrian to fix it
pirms 19 gadiem
aclement
e8601ecc09
from branch: expected test results changed because of new JP subtypes
pirms 19 gadiem
acolyer
983eb455bf
fixes for annotation type pattern bugs uncovered in 150 tests
pirms 19 gadiem
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.
pirms 19 gadiem
aclement
e63ee67d95
rebuilt with 2.0 weaver version attribute (aj1.2.1 had version 1.0)
pirms 19 gadiem
acolyer
ded1a744fc
payback time for all the "kinding" work - only ever generate and match
against shadows that we know might be matched.
pirms 19 gadiem
acolyer
ac6d522621
updated binary form
pirms 19 gadiem
acolyer
5287f71985
updated binary form
pirms 19 gadiem
aclement
963dcf64db
Annotation matching.
pirms 19 gadiem
aclement
ebd0cf2217
Rebuilt due to type munger attribute change
pirms 19 gadiem
aclement
4273a2ddbf
Annotation Matching - test code
pirms 19 gadiem
acolyer
a0d4509446
work in progress.... annotation pointcuts, parsing, and patterns
pirms 19 gadiem
aclement
413a9ef53b
BcWeaverJarMaker updates - now line numbers have changed.
pirms 20 gadiem
acolyer
65c67a4e84
fix for Bugzilla Bug 37020
wrong line for method execution join point
pirms 20 gadiem
aclement
9ebfc84930
Fix and tests for Bugzilla Bug 62227
Load Time Weaving aborts on any kind of warning (declare/xlint)
pirms 20 gadiem
aclement
0521e79aea
Fix for Bug 55341
error Type mismatch: cannot convert from java.lang.String to java.lang.String
pirms 20 gadiem
acolyer
33d8ee9eed
fix for Bugzilla Bug 31460
Weaving class loader
pirms 20 gadiem
aclement
cb2aaacf5c
Fix for Bugzilla Bug 41181
Support SerialVersionUID field if no new fields declared on class
(Regenerated with BcweaverJarMaker)
pirms 20 gadiem