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

7 years agoReduced expected performance difference
Andy Clement [Wed, 27 Sep 2017 21:00:46 +0000 (14:00 -0700)]
Reduced expected performance difference

JVM improvements seem to reduce the difference.

7 years agoClarified expected message
Andy Clement [Wed, 27 Sep 2017 20:59:24 +0000 (13:59 -0700)]
Clarified expected message

7 years agoRebuilt bcel with latest changes
Andy Clement [Wed, 27 Sep 2017 20:58:31 +0000 (13:58 -0700)]
Rebuilt bcel with latest changes

7 years agoEnsure interfacemethodref can be built for invokestatic calls on interface methods
Andy Clement [Tue, 26 Sep 2017 14:43:22 +0000 (07:43 -0700)]
Ensure interfacemethodref can be built for invokestatic calls on interface methods

7 years agomore testdata for 1.9
Andy Clement [Mon, 25 Sep 2017 05:04:26 +0000 (22:04 -0700)]
more testdata for 1.9

7 years agoVarious changes to get tests passing on 1.8 and 1.9
Andy Clement [Mon, 25 Sep 2017 05:00:25 +0000 (22:00 -0700)]
Various changes to get tests passing on 1.8 and 1.9

7 years agoadd missing testdata
Andy Clement [Fri, 22 Sep 2017 22:30:33 +0000 (15:30 -0700)]
add missing testdata

7 years agovarious changes to make more tests pass on Java9
Andy Clement [Fri, 22 Sep 2017 22:17:54 +0000 (15:17 -0700)]
various changes to make more tests pass on Java9

7 years agotweaks to 1.9 tests
Andy Clement [Fri, 22 Sep 2017 00:57:49 +0000 (17:57 -0700)]
tweaks to 1.9 tests

7 years agolatest jdt related src zip
Andy Clement [Thu, 21 Sep 2017 22:26:28 +0000 (15:26 -0700)]
latest jdt related src zip

7 years agoincludes fix from aj_18 line related to 507372
Andy Clement [Thu, 21 Sep 2017 22:25:52 +0000 (15:25 -0700)]
includes fix from aj_18 line related to 507372

7 years agorefixed now that target bits don't overlap with JDT bits
Andy Clement [Thu, 21 Sep 2017 22:25:25 +0000 (15:25 -0700)]
refixed now that target bits don't overlap with JDT bits

7 years agopolish and ensure warnings set by group
Andy Clement [Thu, 21 Sep 2017 22:24:40 +0000 (15:24 -0700)]
polish and ensure warnings set by group

7 years agoUpgraded to ASM 6 BETA
Andy Clement [Thu, 21 Sep 2017 22:24:10 +0000 (15:24 -0700)]
Upgraded to ASM 6 BETA

7 years agorebuilt bcel
Andy Clement [Thu, 21 Sep 2017 18:00:13 +0000 (11:00 -0700)]
rebuilt bcel

7 years agorebuilt
Andy Clement [Thu, 21 Sep 2017 18:00:00 +0000 (11:00 -0700)]
rebuilt

7 years agopolish
Andy Clement [Thu, 21 Sep 2017 17:59:44 +0000 (10:59 -0700)]
polish

7 years agoBring Java9 branch in line with 1.8.11 progress
Andy Clement [Thu, 21 Sep 2017 17:48:59 +0000 (10:48 -0700)]
Bring Java9 branch in line with 1.8.11 progress

7 years agoadd constants to list
Andy Clement [Thu, 21 Sep 2017 17:29:14 +0000 (10:29 -0700)]
add constants to list

7 years agorebuilt bcel
Andy Clement [Thu, 21 Sep 2017 17:28:50 +0000 (10:28 -0700)]
rebuilt bcel

7 years agoMerged post 1.8.5 changes into Java9 branch
Andy Clement [Thu, 21 Sep 2017 04:34:21 +0000 (21:34 -0700)]
Merged post 1.8.5 changes into Java9 branch

7 years agolatest version
Andy Clement [Wed, 20 Sep 2017 23:51:50 +0000 (16:51 -0700)]
latest version

7 years agominor tweaks to better handle J9
Andy Clement [Wed, 20 Sep 2017 23:50:42 +0000 (16:50 -0700)]
minor tweaks to better handle J9

7 years agolatest JDT update for Java9
Andy Clement [Wed, 20 Sep 2017 23:17:19 +0000 (16:17 -0700)]
latest JDT update for Java9

7 years agoUpgrading bcel to latest J9 attributes
Andy Clement [Wed, 20 Sep 2017 23:16:48 +0000 (16:16 -0700)]
Upgrading bcel to latest J9 attributes

7 years agocompatibility with JDK 190 build 175
Andy Clement [Wed, 28 Jun 2017 05:31:17 +0000 (22:31 -0700)]
compatibility with JDK 190 build 175

7 years agopickup latest jdt core
Andy Clement [Tue, 9 May 2017 00:34:00 +0000 (17:34 -0700)]
pickup latest jdt core

7 years agofixup tests for 1.9
Andy Clement [Tue, 9 May 2017 00:33:33 +0000 (17:33 -0700)]
fixup tests for 1.9

7 years agoadapt to JDT changes
Andy Clement [Tue, 9 May 2017 00:31:27 +0000 (17:31 -0700)]
adapt to JDT changes

7 years agoAdapt to JDT changes
Andy Clement [Tue, 9 May 2017 00:27:15 +0000 (17:27 -0700)]
Adapt to JDT changes

7 years agoCorrected version for latest update
Andy Clement [Tue, 9 May 2017 00:27:01 +0000 (17:27 -0700)]
Corrected version for latest update

7 years agoAdd resolution of argument types
Andy Clement [Tue, 9 May 2017 00:25:45 +0000 (17:25 -0700)]
Add resolution of argument types

Some new code in JDT is using the information in here, so need
to resolve them.

7 years agoAdd ability to recognize an intertype scope
Andy Clement [Tue, 9 May 2017 00:25:15 +0000 (17:25 -0700)]
Add ability to recognize an intertype scope

7 years agoAdd version of jdtcore with proper APT support
Andy Clement [Mon, 8 May 2017 19:35:13 +0000 (12:35 -0700)]
Add version of jdtcore with proper APT support

7 years agoAdd guard for clone()
Andy Clement [Mon, 8 May 2017 19:34:18 +0000 (12:34 -0700)]
Add guard for clone()

clone is saying it is protected rather than public and so we need
to add a guard to avoid creating accessor for it.

7 years ago509327: extended the test slightly
Andy Clement [Sat, 17 Dec 2016 01:23:41 +0000 (17:23 -0800)]
509327: extended the test slightly

7 years agoreduced min Java version to 1.6
Andy Clement [Sat, 17 Dec 2016 00:32:49 +0000 (16:32 -0800)]
reduced min Java version to 1.6

7 years agopolish
Andy Clement [Fri, 16 Dec 2016 23:47:55 +0000 (15:47 -0800)]
polish

7 years ago1.8.11 test setup and wip tests
Andy Clement [Fri, 16 Dec 2016 23:47:37 +0000 (15:47 -0800)]
1.8.11 test setup and wip tests

7 years ago509327: Minor fixes to improve the situation, wip
Andy Clement [Fri, 16 Dec 2016 23:46:48 +0000 (15:46 -0800)]
509327: Minor fixes to improve the situation, wip

7 years agofix warnings in build - support .isJava8 option in build V1_8_10
Andy Clement [Fri, 9 Dec 2016 17:46:10 +0000 (09:46 -0800)]
fix warnings in build - support .isJava8 option in build

7 years ago508661: testcode
Andy Clement [Fri, 9 Dec 2016 17:04:56 +0000 (09:04 -0800)]
508661: testcode