]> source.dussan.org Git - aspectj.git/log
aspectj.git
5 years agooverweaving decp/decm tests
Andy Clement [Wed, 23 Jan 2019 20:08:55 +0000 (12:08 -0800)]
overweaving decp/decm tests

5 years ago543657: overweaving declare parents fix
Andy Clement [Mon, 21 Jan 2019 23:30:55 +0000 (15:30 -0800)]
543657: overweaving declare parents fix

5 years ago389678: Better support for overweaving
Andy Clement [Mon, 21 Jan 2019 18:20:04 +0000 (10:20 -0800)]
389678: Better support for overweaving

More testcases for overweaving and better handling of WeaverStateInfo
to avoid the dreaded problems deserialized the 'special key' used
to store diffs.

With these changes once a class is woven via overweaving we switch
the diff we store in the weaverstateinfo to 0 byte array (indicating
overweaving happened for later weavers that see it). We also stop
writing the special 'key' into the attribute and avoid looking-for
and attempting to replace it at the end of weaving.

5 years ago389678: overweaving test resources
Andy Clement [Mon, 21 Jan 2019 17:47:07 +0000 (09:47 -0800)]
389678: overweaving test resources

5 years agonew infra for accessing weaver state info attribute from tests
Andy Clement [Mon, 21 Jan 2019 17:40:04 +0000 (09:40 -0800)]
new infra for accessing weaver state info attribute from tests

5 years ago1.9.3 snapshot updates
Andy Clement [Mon, 21 Jan 2019 17:39:38 +0000 (09:39 -0800)]
1.9.3 snapshot updates

5 years agoDig deeper to find WildTypePattern in DeclareParents
Andy Clement [Thu, 17 Jan 2019 20:20:57 +0000 (12:20 -0800)]
Dig deeper to find WildTypePattern in DeclareParents

The existing check crudely only checked the top level, failing
to find nested WildTypePatterns.

Resolves #542682

5 years agoCope with unusual local variable table per 539121
Andy Clement [Mon, 14 Jan 2019 23:51:56 +0000 (15:51 -0800)]
Cope with unusual local variable table per 539121

5 years agoOn JDK11 call the defineClass variant with a ProtectionDomain param
Andy Clement [Fri, 11 Jan 2019 23:49:49 +0000 (15:49 -0800)]
On JDK11 call the defineClass variant with a ProtectionDomain param

This alters the defineClass used when loadtime weaving and defining
'extra' classes (e.g. closures). This change causes us to call
the defineClass() method variant on ClassLoader that takes a
protection domain, so it should share the same protection domain as
the class for which the extra class was generated.

Issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=542421

5 years agoDiagnostics for https://bugs.eclipse.org/bugs/show_bug.cgi?id=543023
Andy Clement [Fri, 11 Jan 2019 18:49:09 +0000 (10:49 -0800)]
Diagnostics for https://bugs.eclipse.org/bugs/show_bug.cgi?id=543023

5 years agoInclude JDTCore fix for APT classloader closing
Andy Clement [Thu, 10 Jan 2019 01:28:19 +0000 (17:28 -0800)]
Include JDTCore fix for APT classloader closing

5 years agobetter infrastructure for checking pointcuts terminate correctly - inactive right now
Andy Clement [Wed, 9 Jan 2019 21:23:02 +0000 (13:23 -0800)]
better infrastructure for checking pointcuts terminate correctly - inactive right now

6 years agoFix 541325 - Support is(AbstractType)
Andy Clement [Mon, 19 Nov 2018 17:15:58 +0000 (09:15 -0800)]
Fix 541325 - Support is(AbstractType)

6 years agopolish V1_9_2
Andy Clement [Tue, 23 Oct 2018 23:44:47 +0000 (16:44 -0700)]
polish

6 years agopolish
Andy Clement [Tue, 23 Oct 2018 23:44:30 +0000 (16:44 -0700)]
polish

6 years agoExclude delegation loader on JDK11 too (it has been renamed)
Andy Clement [Tue, 23 Oct 2018 23:44:14 +0000 (16:44 -0700)]
Exclude delegation loader on JDK11 too (it has been renamed)

6 years agoAdd missing .classpath change V1_9_2RC3
Andy Clement [Tue, 16 Oct 2018 15:23:04 +0000 (08:23 -0700)]
Add missing .classpath change

6 years agoMinor tweak to avoid NPE in BinaryTypeBinding method source location lookups
Andy Clement [Mon, 15 Oct 2018 19:23:44 +0000 (12:23 -0700)]
Minor tweak to avoid NPE in BinaryTypeBinding method source location lookups

6 years agowip 1.9.2 readme
Andy Clement [Mon, 15 Oct 2018 17:37:51 +0000 (10:37 -0700)]
wip 1.9.2 readme

6 years agoMerge changes for 536782
Andy Clement [Mon, 15 Oct 2018 16:25:27 +0000 (09:25 -0700)]
Merge changes for 536782

Changes contributed by Manfred under https://github.com/eclipse/org.aspectj/pull/5/commits

6 years agoadjust to allow clean merge - attempt 1
Andy Clement [Mon, 15 Oct 2018 16:15:22 +0000 (09:15 -0700)]
adjust to allow clean merge - attempt 1

6 years agopolish javadoc
Andy Clement [Mon, 15 Oct 2018 15:42:28 +0000 (08:42 -0700)]
polish javadoc

6 years agotypo reported by Emmanuel Bourg
Andy Clement [Mon, 15 Oct 2018 15:42:01 +0000 (08:42 -0700)]
typo reported by Emmanuel Bourg

6 years agopolish
Andy Clement [Mon, 15 Oct 2018 15:41:09 +0000 (08:41 -0700)]
polish

6 years agobetter handling for 1.8 modules
Andy Clement [Mon, 15 Oct 2018 15:40:53 +0000 (08:40 -0700)]
better handling for 1.8 modules

6 years agopolish
Andy Clement [Mon, 15 Oct 2018 15:39:46 +0000 (08:39 -0700)]
polish

6 years ago537678: Lazy initialization of jrt filesystem
Andy Clement [Thu, 11 Oct 2018 18:21:54 +0000 (11:21 -0700)]
537678: Lazy initialization of jrt filesystem

6 years agoChange the mehtod name "containsField" to "findsField".
Kui Liu [Tue, 21 Aug 2018 15:32:54 +0000 (17:32 +0200)]
Change the mehtod name "containsField" to "findsField".

The method implements finding a field object in the 'fieldsList' with a given name. If found, return the found field object, otherwise return null.
Thus, rename the method as "findsField" should be more clear than "containsField" since "containsField" is prone to ask whether the "fieldsFile" contains a field or not and return true or false.

Signed-off-by: Kui Liu <brucekuiliu@gmail.com>
6 years agoRemove class used for debugging
Andy Clement [Thu, 11 Oct 2018 17:58:44 +0000 (10:58 -0700)]
Remove class used for debugging

6 years agopolish
Andy Clement [Thu, 11 Oct 2018 17:50:01 +0000 (10:50 -0700)]
polish

6 years agopolish
Andy Clement [Thu, 11 Oct 2018 17:17:01 +0000 (10:17 -0700)]
polish

6 years ago513528: Fix use of lambda in ITD
Andy Clement [Wed, 10 Oct 2018 20:27:17 +0000 (13:27 -0700)]
513528: Fix use of lambda in ITD

6 years agoReverse default - behave like 1.5 (support annotations) by default
Andy Clement [Wed, 10 Oct 2018 19:56:00 +0000 (12:56 -0700)]
Reverse default - behave like 1.5 (support annotations) by default

6 years agoUp'd commit hash to correct one for 1.9.2.rc2
Andy Clement [Tue, 2 Oct 2018 04:27:10 +0000 (21:27 -0700)]
Up'd commit hash to correct one for 1.9.2.rc2

6 years agoMore fixes for 1.9.2 V1_9_2_RC2
Andy Clement [Mon, 1 Oct 2018 23:10:02 +0000 (16:10 -0700)]
More fixes for 1.9.2

- update to more recent JDT to pickup Nestmates fix
- bcel updated for NestMembers/NestHost attributes
- testcases for nestmates

6 years ago1.9.2.RC1 changes V1_9_2_RC1
Andy Clement [Sat, 29 Sep 2018 14:47:57 +0000 (07:47 -0700)]
1.9.2.RC1 changes

6 years agoGeneralized exception that might occur
Andy Clement [Wed, 29 Aug 2018 20:08:15 +0000 (13:08 -0700)]
Generalized exception that might occur

6 years agoFix 538393: Allow for toString() to fail on some classloaders
Andy Clement [Wed, 29 Aug 2018 20:07:25 +0000 (13:07 -0700)]
Fix 538393: Allow for toString() to fail on some classloaders

6 years ago537825: Remove FINAL for cflow related class elements for Java 9+
Andy Clement [Sat, 25 Aug 2018 00:49:44 +0000 (17:49 -0700)]
537825: Remove FINAL for cflow related class elements for Java 9+

6 years agoFix some generics warnings, add overrides
Andy Clement [Tue, 29 May 2018 15:51:24 +0000 (08:51 -0700)]
Fix some generics warnings, add overrides

6 years agotestcode for 535086
Andy Clement [Fri, 25 May 2018 19:51:25 +0000 (12:51 -0700)]
testcode for 535086

6 years agoInitial cut at bug 535086 - pertypewithin and non vis types
Andy Clement [Fri, 25 May 2018 19:49:56 +0000 (12:49 -0700)]
Initial cut at bug 535086 - pertypewithin and non vis types

In this version unless you specify an aspect is privileged then the
pertypewithin clause will not match types not visible from the aspect
(private types or default vis types in another package)

Debating whether to change this to not require privileged.

6 years agoRebuilt as a DEVELOPMENT version
Andy Clement [Fri, 25 May 2018 19:02:33 +0000 (12:02 -0700)]
Rebuilt as a DEVELOPMENT version

6 years agoWorking towards 1.9.1 V1_9_1
Andy Clement [Fri, 20 Apr 2018 16:45:31 +0000 (09:45 -0700)]
Working towards 1.9.1

6 years agoSupport Java10
Andy Clement [Wed, 18 Apr 2018 20:15:22 +0000 (13:15 -0700)]
Support Java10

6 years agotweak title V1_9_0
Andy Clement [Mon, 2 Apr 2018 18:49:05 +0000 (11:49 -0700)]
tweak title

6 years agoFixed release date to 2-Apr for 1.9.0
Andy Clement [Mon, 2 Apr 2018 17:17:45 +0000 (10:17 -0700)]
Fixed release date to 2-Apr for 1.9.0

6 years agoUpdated readme for 1.9.0 release
Andy Clement [Mon, 2 Apr 2018 17:15:58 +0000 (10:15 -0700)]
Updated readme for 1.9.0 release

6 years agoUpdated to 1.9.0 final
Andy Clement [Mon, 2 Apr 2018 17:15:39 +0000 (10:15 -0700)]
Updated to 1.9.0 final

6 years ago533038: Clear some generated class entries during class redefinition
Andy Clement [Mon, 2 Apr 2018 17:15:20 +0000 (10:15 -0700)]
533038: Clear some generated class entries during class redefinition

6 years agoFix 514062 - Failure duing stackmap generation of @Around
Andy Clement [Wed, 21 Mar 2018 19:26:11 +0000 (12:26 -0700)]
Fix 514062 - Failure duing stackmap generation of @Around

6 years agodocs for new code generation and factory methods
Andy Clement [Mon, 12 Mar 2018 15:54:48 +0000 (08:54 -0700)]
docs for new code generation and factory methods

6 years agoAdd checking for env variable ASPECTJ_OPTS in addition to sys prop
Andy Clement [Mon, 12 Mar 2018 15:37:38 +0000 (08:37 -0700)]
Add checking for env variable ASPECTJ_OPTS in addition to sys prop

6 years agoreset to 0 size to trigger it getting built
Andy Clement [Sat, 10 Mar 2018 01:58:58 +0000 (17:58 -0800)]
reset to 0 size to trigger it getting built

6 years agoBug#531694: generate more optional thisJoinPoint construction code
Andy Clement [Wed, 28 Feb 2018 19:53:14 +0000 (11:53 -0800)]
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 years agoFix for Bug 531819 - Negative parameter annotation matching not behaving
Andy Clement [Wed, 28 Feb 2018 20:07:51 +0000 (12:07 -0800)]
Fix for Bug 531819 - Negative parameter annotation matching not behaving

6 years agoUpdates for 1.9.0.RC4 - latest JDT V1_9_0_RC4
Andy Clement [Wed, 21 Feb 2018 20:10:36 +0000 (12:10 -0800)]
Updates for 1.9.0.RC4 - latest JDT

6 years agooops, really remove dodgy test
Andy Clement [Wed, 14 Feb 2018 22:32:18 +0000 (14:32 -0800)]
oops, really remove dodgy test

6 years agotemporarily remove dodgy test
Andy Clement [Wed, 14 Feb 2018 22:29:24 +0000 (14:29 -0800)]
temporarily remove dodgy test

6 years agoadd generics
Andy Clement [Wed, 14 Feb 2018 22:06:15 +0000 (14:06 -0800)]
add generics

6 years agoRemove modules from 'full classpath' for now
Andy Clement [Wed, 14 Feb 2018 22:05:57 +0000 (14:05 -0800)]
Remove modules from 'full classpath' for now

6 years agoFix Bug 531179 - Add compiler arg support to iajc task
Andy Clement [Wed, 14 Feb 2018 22:05:31 +0000 (14:05 -0800)]
Fix Bug 531179 - Add compiler arg support to iajc task

6 years agoadd generics
Andy Clement [Wed, 14 Feb 2018 22:04:41 +0000 (14:04 -0800)]
add generics

6 years agomore tests around module options
Andy Clement [Wed, 14 Feb 2018 22:03:53 +0000 (14:03 -0800)]
more tests around module options

6 years agobetter handling of modules
Andy Clement [Wed, 14 Feb 2018 21:03:24 +0000 (13:03 -0800)]
better handling of modules

6 years agoFixed up path handling, including implicit jmod inclusion
Andy Clement [Wed, 14 Feb 2018 21:00:50 +0000 (13:00 -0800)]
Fixed up path handling, including implicit jmod inclusion

6 years agomore generics and missing @Overrides
Andy Clement [Wed, 14 Feb 2018 20:54:11 +0000 (12:54 -0800)]
more generics and missing @Overrides

6 years agoNew simple tests for buildconfig
Andy Clement [Wed, 14 Feb 2018 20:53:33 +0000 (12:53 -0800)]
New simple tests for buildconfig

6 years agoAdjusted to refer to ASM 6 non beta
Andy Clement [Wed, 14 Feb 2018 20:42:35 +0000 (12:42 -0800)]
Adjusted to refer to ASM 6 non beta

6 years agoLatest JDT changes
Andy Clement [Wed, 14 Feb 2018 20:40:41 +0000 (12:40 -0800)]
Latest JDT changes

6 years agoAdd intermediate test class that ensures the tests are on J9
Andy Clement [Wed, 14 Feb 2018 20:40:22 +0000 (12:40 -0800)]
Add intermediate test class that ensures the tests are on J9

6 years agoAdd missing overrides
Andy Clement [Wed, 14 Feb 2018 20:39:28 +0000 (12:39 -0800)]
Add missing overrides

6 years agoAdd basic rename functionality to file step
Andy Clement [Wed, 14 Feb 2018 20:38:59 +0000 (12:38 -0800)]
Add basic rename functionality to file step

6 years agoAdd missing Overrides
Andy Clement [Wed, 14 Feb 2018 20:38:24 +0000 (12:38 -0800)]
Add missing Overrides

6 years agotidy up comment
Andy Clement [Wed, 14 Feb 2018 20:28:05 +0000 (12:28 -0800)]
tidy up comment

6 years agoAdd missing key for invalidModuleName
Andy Clement [Wed, 14 Feb 2018 20:27:35 +0000 (12:27 -0800)]
Add missing key for invalidModuleName

6 years agoupdated for 2018
Andy Clement [Wed, 14 Feb 2018 20:26:50 +0000 (12:26 -0800)]
updated for 2018

6 years agoAdd missing cases to bcel constantToString
Andy Clement [Wed, 7 Feb 2018 20:38:52 +0000 (12:38 -0800)]
Add missing cases to bcel constantToString

6 years agoavoid <> for now until build changes made to jump to right java version V1_9_0_RC3
Andy Clement [Mon, 5 Feb 2018 19:15:25 +0000 (11:15 -0800)]
avoid <> for now until build changes made to jump to right java version

6 years agoJDT Upgrade for 1.9.0.rc3
Andy Clement [Mon, 5 Feb 2018 19:00:34 +0000 (11:00 -0800)]
JDT Upgrade for 1.9.0.rc3

6 years agomerged
Andy Clement [Thu, 1 Feb 2018 01:21:15 +0000 (17:21 -0800)]
merged

6 years agoremove rogue println
Andy Clement [Wed, 3 Jan 2018 18:21:02 +0000 (10:21 -0800)]
remove rogue println

7 years agoMerge branch 'master' into earlyJava9
Andy Clement [Fri, 17 Nov 2017 17:18:23 +0000 (09:18 -0800)]
Merge branch 'master' into earlyJava9

Switching master to the earlyJava9 branch. This merge
with strategy=ours should give us a common root so that
anyone working from master will be able to absorb the change
easily.

7 years agobump compiler.name for rc2 earlyJava9
Andy Clement [Thu, 9 Nov 2017 23:32:44 +0000 (15:32 -0800)]
bump compiler.name for rc2

7 years agoupdated readme for 1.9.0.rc2
Andy Clement [Thu, 9 Nov 2017 23:16:52 +0000 (15:16 -0800)]
updated readme for 1.9.0.rc2

7 years agoUpdates to better cope with future JDKs
Andy Clement [Thu, 9 Nov 2017 21:14:02 +0000 (13:14 -0800)]
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.

7 years agoFix 526734 - Incorrect generic override decp validation when binary weaving
Andy Clement [Wed, 1 Nov 2017 22:08:27 +0000 (15:08 -0700)]
Fix 526734 - Incorrect generic override decp validation when binary weaving

7 years agoFixes Bug 526594
Andy Clement [Mon, 30 Oct 2017 16:39:50 +0000 (09:39 -0700)]
Fixes Bug 526594
Compile error: ClassCastException thrown: org.aspectj.weaver.MissingResolvedTypeWithKnownSignature cannot be cast to ReferenceType

7 years agofix typo
Andy Clement [Mon, 23 Oct 2017 21:53:12 +0000 (14:53 -0700)]
fix typo

7 years agoFix 525972 - java.lang.ArrayIndexOutOfBoundsException: 2 (at org.aspectj.weaver.Resol...
Andy Clement [Mon, 23 Oct 2017 21:39:20 +0000 (14:39 -0700)]
Fix 525972 - java.lang.ArrayIndexOutOfBoundsException: 2 (at org.aspectj.weaver.ResolvedType.getMemberParameterizationMap(ResolvedType.java:970))

7 years agoFix 526381 - Log-Message for nonReweavableTypeEncountered does not include class...
Andy Clement [Mon, 23 Oct 2017 19:39:12 +0000 (12:39 -0700)]
Fix 526381 - Log-Message for nonReweavableTypeEncountered does not include class name

7 years agoFix 526382 - damaged manifest.mf prevents LTW running from jar
Andy Clement [Mon, 23 Oct 2017 19:36:57 +0000 (12:36 -0700)]
Fix 526382 - damaged manifest.mf prevents LTW running from jar

7 years ago1.9.0 docs
Andy Clement [Fri, 20 Oct 2017 19:59:05 +0000 (12:59 -0700)]
1.9.0 docs

7 years ago1.9.0 update
Andy Clement [Fri, 20 Oct 2017 19:52:03 +0000 (12:52 -0700)]
1.9.0 update

7 years agoAdjust how classpath entries manipulated for Java9 support
Andy Clement [Fri, 20 Oct 2017 19:48:41 +0000 (12:48 -0700)]
Adjust how classpath entries manipulated for Java9 support

Prior to this AspectJ would discard ignore the ClasspathEntry
objects built by JDT and just work with the classpath as a string,
driving the JDT FileSystem to rebuild classpath entries again at
a later date using the string. This is more complex in Java9 because
the string representation was losing whether some entries came in
via modulepath.  ClasspathEntry construction for modulepath entries
is non trivial (since the module-info must be processed).

The new version will cache some of the ClasspathEntry objects (those
built for modulepaths) and do more work on the AspectJ side building
classpath entries in general. It now passes these entries to a
different FileSystem entry point rather than the entry point that
takes a string path.

7 years agoMoved to package
Andy Clement [Fri, 20 Oct 2017 19:46:40 +0000 (12:46 -0700)]
Moved to package

7 years agowip allowing flexibility in test infra for using modules with subdirs
Andy Clement [Fri, 20 Oct 2017 19:46:00 +0000 (12:46 -0700)]
wip allowing flexibility in test infra for using modules with subdirs

7 years agoSet version to 1.9.0.RC1
Andy Clement [Fri, 20 Oct 2017 19:44:44 +0000 (12:44 -0700)]
Set version to 1.9.0.RC1

7 years agoadded module/modulesourcepath to compiler configuration interface
Andy Clement [Fri, 20 Oct 2017 19:44:16 +0000 (12:44 -0700)]
added module/modulesourcepath to compiler configuration interface

7 years agoremoved shared reflection world test for now
Andy Clement [Fri, 20 Oct 2017 19:41:48 +0000 (12:41 -0700)]
removed shared reflection world test for now