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

7 years agoPolishing for 1.8.10 release
Andy Clement [Thu, 8 Dec 2016 22:45:51 +0000 (14:45 -0800)]
Polishing for 1.8.10 release

- reduced build level from 8 to 7 so that the weaver can be used on Java7.
- minor readme tweaks

7 years agoUpdate to latest JDT (neon 2)
Andy Clement [Thu, 8 Dec 2016 20:40:19 +0000 (12:40 -0800)]
Update to latest JDT (neon 2)

7 years agoAdjust from nasty exception to messages
Andy Clement [Thu, 8 Dec 2016 16:43:16 +0000 (08:43 -0800)]
Adjust from nasty exception to messages

7 years agoadded 2016/2017 to years
Andy Clement [Fri, 2 Dec 2016 18:37:28 +0000 (10:37 -0800)]
added 2016/2017 to years

8 years agoFix 500035: handling target only binding in @AJ pointcut
Andy Clement [Fri, 18 Nov 2016 17:00:28 +0000 (09:00 -0800)]
Fix 500035: handling target only binding in @AJ pointcut

8 years agoFix 502119: InterTypeFieldBinding.java:122 - NullPointerException
Andy Clement [Thu, 10 Nov 2016 22:07:57 +0000 (14:07 -0800)]
Fix 502119: InterTypeFieldBinding.java:122 - NullPointerException

8 years agoFix 404345: another occurence of broken annotation building in JDT
Andy Clement [Thu, 10 Nov 2016 20:13:43 +0000 (12:13 -0800)]
Fix 404345: another occurence of broken annotation building in JDT

8 years agoFix 500796: Allow for kotlin creating 'synthetic' local variable table entries
Andy Clement [Tue, 8 Nov 2016 00:18:54 +0000 (16:18 -0800)]
Fix 500796: Allow for kotlin creating 'synthetic' local variable table entries

8 years agoUpgraded to new JDT compiler - neon.1 and a bit
Andy Clement [Mon, 7 Nov 2016 21:04:55 +0000 (13:04 -0800)]
Upgraded to new JDT compiler - neon.1 and a bit

8 years agoFixing generics warnings
Andy Clement [Fri, 28 Oct 2016 16:04:08 +0000 (09:04 -0700)]
Fixing generics warnings

8 years agoFix ambiguous binding problem on anonymous types
Andy Clement [Fri, 29 Jul 2016 17:05:50 +0000 (10:05 -0700)]
Fix ambiguous binding problem on anonymous types

If an anonymous class calls a method ITD'd onto one of its own
supertypes (e.g. new A() { xx(null); }) then it can be reported
as an ambiguous method invocation on Java8. There is different
handling for Java8 that is revealing an issue. The intertype
method declarations are recorded in a member finder attached to the
target type (A in this case). When the local type binding is
built it gets all the methods from supertypes added to it - this
unfortunately includes the ITD method.  Then later when something
asks for all 'xx' methods on A, it finds the ITD method from when
A was constructed and an additional copy from the member finder.

The quick fix is for the member finder to use a set rather than
list when answering 'what are the xx methods'. If this proves
a problem down the line the deeper fix would be to avoid including
ITDs when the local type binding is built.

8 years agoinfra changes for 1.9 builds
Andy Clement [Wed, 27 Jul 2016 17:32:53 +0000 (10:32 -0700)]
infra changes for 1.9 builds

8 years agoFurther 1.9 changes: better handling of source/target V1_9_0_BETA5
Andy Clement [Wed, 27 Jul 2016 05:06:30 +0000 (22:06 -0700)]
Further 1.9 changes: better handling of source/target

8 years agocreate copy of 1.6 sanity tests for use at 1.9
Andy Clement [Mon, 25 Jul 2016 14:35:29 +0000 (07:35 -0700)]
create copy of 1.6 sanity tests for use at 1.9

8 years agoadd asm v6 for stackmap creation on Java 9
Andy Clement [Sat, 23 Jul 2016 23:58:38 +0000 (16:58 -0700)]
add asm v6 for stackmap creation on Java 9

8 years agoensure modules on path in build arg parser V1_9_0_BETA4
Andy Clement [Wed, 29 Jun 2016 23:02:40 +0000 (16:02 -0700)]
ensure modules on path in build arg parser

8 years agochange to latest j9 commit
Andy Clement [Mon, 27 Jun 2016 22:51:54 +0000 (15:51 -0700)]
change to latest j9 commit

8 years agoFix classpath for tests on Java9
Andy Clement [Mon, 27 Jun 2016 22:49:09 +0000 (15:49 -0700)]
Fix classpath for tests on Java9

8 years agoChange to support new packaging of modules in Java9
Andy Clement [Mon, 27 Jun 2016 21:26:13 +0000 (14:26 -0700)]
Change to support new packaging of modules in Java9

8 years agoJava9 jrt-fs.jar helpers
Andy Clement [Mon, 27 Jun 2016 21:25:51 +0000 (14:25 -0700)]
Java9 jrt-fs.jar helpers

8 years agoRemove diamond usage
Andy Clement [Mon, 27 Jun 2016 21:11:24 +0000 (14:11 -0700)]
Remove diamond usage

8 years agoUpgrading to latest 1.9 compiler
Andy Clement [Fri, 17 Jun 2016 17:40:29 +0000 (10:40 -0700)]
Upgrading to latest 1.9 compiler

8 years ago[j9] Basic read/write of Module attribute
Andy Clement [Mon, 6 Jun 2016 19:00:12 +0000 (12:00 -0700)]
[j9] Basic read/write of Module attribute

8 years agoCode polishing and extra diagnostics around types and parameterized types
Andy Clement [Thu, 12 May 2016 22:29:07 +0000 (15:29 -0700)]
Code polishing and extra diagnostics around types and parameterized types