]> source.dussan.org Git - aspectj.git/log
aspectj.git
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

7 years agoSwitched from diamond to specific types
Andy Clement [Fri, 20 Oct 2017 19:40:53 +0000 (12:40 -0700)]
Switched from diamond to specific types

7 years agoAdded automatic module name
Andy Clement [Fri, 20 Oct 2017 19:40:05 +0000 (12:40 -0700)]
Added automatic module name

7 years agoswitched from diamond operator
Andy Clement [Fri, 20 Oct 2017 19:39:13 +0000 (12:39 -0700)]
switched from diamond operator

7 years agoAdded automatic module name
Andy Clement [Fri, 20 Oct 2017 19:38:54 +0000 (12:38 -0700)]
Added automatic module name

7 years agoAdded automatic module name
Andy Clement [Fri, 20 Oct 2017 19:38:45 +0000 (12:38 -0700)]
Added automatic module name

7 years agoLatest jdtcore - with visibilty adjusted for classpath manipulation
Andy Clement [Fri, 20 Oct 2017 19:38:25 +0000 (12:38 -0700)]
Latest jdtcore - with visibilty adjusted for classpath manipulation

7 years agoTemporarily removing world reuse - needs a bit more thought
Andy Clement [Fri, 20 Oct 2017 19:37:58 +0000 (12:37 -0700)]
Temporarily removing world reuse - needs a bit more thought

7 years agoAdded automatic module name
Andy Clement [Fri, 20 Oct 2017 19:37:37 +0000 (12:37 -0700)]
Added automatic module name

7 years agoUpgraded test infra to support building/running modules
Andy Clement [Fri, 20 Oct 2017 19:36:27 +0000 (12:36 -0700)]
Upgraded test infra to support building/running modules

7 years ago1.9 test changes and new module tests
Andy Clement [Fri, 20 Oct 2017 19:35:24 +0000 (12:35 -0700)]
1.9 test changes and new module tests

7 years agoadded support to avoid weaving module-info.class
Andy Clement [Fri, 20 Oct 2017 19:35:06 +0000 (12:35 -0700)]
added support to avoid weaving module-info.class

7 years agoFix use of diamond and update versions to 1.9
Andy Clement [Fri, 20 Oct 2017 19:34:15 +0000 (12:34 -0700)]
Fix use of diamond and update versions to 1.9

7 years agorebuilt internal dependencies
Andy Clement [Fri, 20 Oct 2017 19:33:19 +0000 (12:33 -0700)]
rebuilt internal dependencies

7 years agoTests for smart annotation unpacking for reflection types
Andy Clement [Thu, 28 Sep 2017 23:05:13 +0000 (16:05 -0700)]
Tests for smart annotation unpacking for reflection types

7 years agoLatest build of bcel
Andy Clement [Thu, 28 Sep 2017 23:04:12 +0000 (16:04 -0700)]
Latest build of bcel

7 years agoFixes Bug 525293 - Spring AOP could be faster
Andy Clement [Thu, 28 Sep 2017 23:03:17 +0000 (16:03 -0700)]
Fixes Bug 525293 - Spring AOP could be faster

Multiple changes here:
- annotation unpacking is smarter and if it only needs runtime
  retention annotations it uses reflection and doesn't unpack the
  bytes to discover class level retention annotations.
- Reflection worlds are shared if for the same classloader.

7 years agoReusable SoftHashMap utility class
Andy Clement [Thu, 28 Sep 2017 22:52:29 +0000 (15:52 -0700)]
Reusable SoftHashMap utility class

7 years agoBasic tests for JImage access
Andy Clement [Thu, 28 Sep 2017 22:04:26 +0000 (15:04 -0700)]
Basic tests for JImage access

7 years agoPolish javadoc
Andy Clement [Thu, 28 Sep 2017 22:03:34 +0000 (15:03 -0700)]
Polish javadoc

7 years agoFix for Bug 518698 - typo in AspectJ Notebook: excetution
Andy Clement [Thu, 28 Sep 2017 20:45:18 +0000 (13:45 -0700)]
Fix for Bug 518698 - typo in AspectJ Notebook: excetution

7 years agoOptimized type lookup on Java9
Andy Clement [Thu, 28 Sep 2017 20:27:59 +0000 (13:27 -0700)]
Optimized type lookup on Java9

Took the code from the patch submitted by Mario Ivankovits
in bug 520597 and made some improvements to make (hopefully)
better use of memory. Some basic tests added.

7 years agopolish - generics
Andy Clement [Thu, 28 Sep 2017 04:50:27 +0000 (21:50 -0700)]
polish - generics

7 years agopolish - generics
Andy Clement [Thu, 28 Sep 2017 04:50:10 +0000 (21:50 -0700)]
polish - generics

7 years agoPolish use of Unsafe
Andy Clement [Thu, 28 Sep 2017 04:49:53 +0000 (21:49 -0700)]
Polish use of Unsafe

7 years agocorrected test now that compliance handling improved for 1.9
Andy Clement [Wed, 27 Sep 2017 23:26:37 +0000 (16:26 -0700)]
corrected test now that compliance handling improved for 1.9

7 years agofirst pass at using Unsafe, needs review
Andy Clement [Wed, 27 Sep 2017 23:24:42 +0000 (16:24 -0700)]
first pass at using Unsafe, needs review

7 years agoImproved Java9 option handling
Andy Clement [Wed, 27 Sep 2017 23:24:02 +0000 (16:24 -0700)]
Improved Java9 option handling

7 years agoUpdate project source/target levels to 1.7
Andy Clement [Wed, 27 Sep 2017 21:49:51 +0000 (14:49 -0700)]
Update project source/target levels to 1.7

7 years agoUpdate to beta 7
Andy Clement [Wed, 27 Sep 2017 21:49:04 +0000 (14:49 -0700)]
Update to beta 7

7 years agoUpdate project source/target levels to 1.7
Andy Clement [Wed, 27 Sep 2017 21:48:47 +0000 (14:48 -0700)]
Update project source/target levels to 1.7

7 years agoUpdate project source/target levels to 1.7
Andy Clement [Wed, 27 Sep 2017 21:47:59 +0000 (14:47 -0700)]
Update project source/target levels to 1.7

7 years agoSmarter classpath detection on Java9
Andy Clement [Wed, 27 Sep 2017 21:46:47 +0000 (14:46 -0700)]
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.

7 years agoPass explicitly whether it is an interface target
Andy Clement [Wed, 27 Sep 2017 21:44:32 +0000 (14:44 -0700)]
Pass explicitly whether it is an interface target

If you only let it determine it from the INVOKE instruction this
can make a mistake when using INVOKESTATIC with an interface
target.

7 years agoEnsure version information get/settable
Andy Clement [Wed, 27 Sep 2017 21:43:36 +0000 (14:43 -0700)]
Ensure version information get/settable

7 years agoEnsure version of generated class is correct
Andy Clement [Wed, 27 Sep 2017 21:43:04 +0000 (14:43 -0700)]
Ensure version of generated class is correct

Important to ensure we generate it of the right version as it may
end up containing code derived from a particular class that needs
a be run with a certain level of verifier. In this case if
inserting invokestatic targeting a interface method, we need to
be using something later than a java 1.2 level class file.

7 years agoActivate test
Andy Clement [Wed, 27 Sep 2017 21:40:50 +0000 (14:40 -0700)]
Activate test

7 years agoSkip tests on Java9
Andy Clement [Wed, 27 Sep 2017 21:28:56 +0000 (14:28 -0700)]
Skip tests on Java9

Issue it due to split packages (see comments in code). Don't want to
debug this further right now, possibly needs a command line flag passing
to the JVM that runs the test, so these tests need forking.

7 years agoMore actively print diagnostics to help future debugging
Andy Clement [Wed, 27 Sep 2017 21:21:01 +0000 (14:21 -0700)]
More actively print diagnostics to help future debugging

7 years agoversion bump to 1.6
Andy Clement [Wed, 27 Sep 2017 21:20:16 +0000 (14:20 -0700)]
version bump to 1.6

7 years agoSkip test on Java9
Andy Clement [Wed, 27 Sep 2017 21:19:54 +0000 (14:19 -0700)]
Skip test on Java9

Added test commentary to link it to the code that is causing the
difference in behaviour compared to Java8.

7 years agoAdjusted test expectations for Java9
Andy Clement [Wed, 27 Sep 2017 21:18:22 +0000 (14:18 -0700)]
Adjusted test expectations for Java9

Annotation toString() changes on Java9 so need to include those quotes
in expected output.

7 years agoBetter handling of classpath discovery
Andy Clement [Wed, 27 Sep 2017 21:17:19 +0000 (14:17 -0700)]
Better handling of classpath discovery

Some alternate behaviour added to work better on Java9

7 years agoAdded commentary on a strange bit of code
Andy Clement [Wed, 27 Sep 2017 21:15:38 +0000 (14:15 -0700)]
Added commentary on a strange bit of code

I don't want to change that code until I see more evidence of it
misbehaving but I'm having trouble working out why it is there!

7 years agoper singleton field no longer final to satisfy 1.9 verification
Andy Clement [Wed, 27 Sep 2017 21:01:35 +0000 (14:01 -0700)]
per singleton field no longer final to satisfy 1.9 verification