]>
source.dussan.org Git - aspectj.git/log
Alexander Kriegisch [Thu, 4 Mar 2021 09:43:15 +0000 (16:43 +0700)]
Support Windows 10 and Windows Server 2016/2019 in installer
Those versions were not detected until now, which lead to bogus Windows
batch files forwarding only 9 Ajc parameters to the Java process via
"%1 %2 %3 %4 %5 %6 %7 %8 %9" instead of "%*".
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Andy Clement [Fri, 8 Jan 2021 00:16:27 +0000 (16:16 -0800)]
Merge pull request #29 from ebourg/patch-1
Update the URL of BCEL
Emmanuel Bourg [Thu, 7 Jan 2021 14:03:26 +0000 (15:03 +0100)]
Update the URL of BCEL
Andy Clement [Wed, 2 Dec 2020 23:31:40 +0000 (15:31 -0800)]
Merge pull request #23 from larsgrefer/feature/java15
Update GitHub Actions from Java 14 to 15
Andy Clement [Wed, 2 Dec 2020 23:31:15 +0000 (15:31 -0800)]
Merge pull request #27 from capgen628/patch-1
Remove call to System.out
Anuj Dodhia [Wed, 2 Dec 2020 22:27:26 +0000 (22:27 +0000)]
Remove call to System.out
Lars Grefer [Sun, 20 Sep 2020 19:00:11 +0000 (21:00 +0200)]
Update GitHub Action from Java 14 to 15
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Andy Clement [Wed, 16 Sep 2020 17:50:55 +0000 (10:50 -0700)]
Merge pull request #22 from jamesjer/master
Fix apostrophe in the license
Jerry James [Tue, 15 Sep 2020 22:10:30 +0000 (16:10 -0600)]
Fix apostrophe in the license
Andy Clement [Mon, 14 Sep 2020 16:42:04 +0000 (09:42 -0700)]
Merge pull request #21 from jamesjer/master
Fix javadoc errors
Jerry James [Mon, 14 Sep 2020 14:29:53 +0000 (08:29 -0600)]
Typo fixes
Jerry James [Mon, 14 Sep 2020 14:28:28 +0000 (08:28 -0600)]
Fix javadoc references to nonexistent fields, classes, or packages
Jerry James [Mon, 14 Sep 2020 14:27:01 +0000 (08:27 -0600)]
Fix misplaced or incorrect javadoc tags
Jerry James [Mon, 14 Sep 2020 14:25:20 +0000 (08:25 -0600)]
Fix misplaced or incorrectly nested HTML tags
Jerry James [Mon, 14 Sep 2020 14:23:26 +0000 (08:23 -0600)]
Fix incorrect HTML entities in javadoc comments
Andy Clement [Wed, 9 Sep 2020 21:38:15 +0000 (14:38 -0700)]
Merge pull request #19 from jamesjer/master
Give docbook IDs unique names
Jerry James [Wed, 9 Sep 2020 19:50:13 +0000 (13:50 -0600)]
Give docbook IDs unique names
Andy Clement [Fri, 21 Aug 2020 19:40:34 +0000 (12:40 -0700)]
Revert to 1.9.7.BUILD-SNAPSHOT
Andy Clement [Fri, 21 Aug 2020 19:16:30 +0000 (12:16 -0700)]
1.9.7 milestone 1 published
Andy Clement [Mon, 17 Aug 2020 04:41:46 +0000 (21:41 -0700)]
Merge pull request #18 from larsgrefer/feature/github-actions
Split tests in a separate step on GitHub Actions
Lars Grefer [Mon, 17 Aug 2020 01:17:14 +0000 (03:17 +0200)]
Split tests in a separate step on GitHub Actions
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Andy Clement [Mon, 17 Aug 2020 00:27:48 +0000 (17:27 -0700)]
debug for test failure under github action
Lars Grefer [Sun, 16 Aug 2020 23:48:58 +0000 (01:48 +0200)]
Update to JUnit Jupiter 5.6.2
The "old" JUnit-3-style tests will be executed by the vintage-engine
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Andy Clement [Mon, 17 Aug 2020 00:03:37 +0000 (17:03 -0700)]
Merge pull request #16 from larsgrefer/cleanup/modifiers
Cleanup unnecessary modifiers
Andy Clement [Sun, 16 Aug 2020 23:43:41 +0000 (16:43 -0700)]
debug for test failure under github action
Lars Grefer [Sun, 16 Aug 2020 23:19:52 +0000 (01:19 +0200)]
Remove unnecessary interface modifiers
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Lars Grefer [Sun, 16 Aug 2020 23:08:18 +0000 (01:08 +0200)]
Remove unnecessary enum modifiers
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Andy Clement [Sun, 16 Aug 2020 20:45:32 +0000 (13:45 -0700)]
debug for test failure under github action
Andy Clement [Sun, 16 Aug 2020 18:31:18 +0000 (11:31 -0700)]
polish
Andy Clement [Sun, 16 Aug 2020 18:14:43 +0000 (11:14 -0700)]
Merge pull request #10 from larsgrefer/cleanup/pom
Cleanup the Maven pom.xml files
Andy Clement [Sun, 16 Aug 2020 06:08:40 +0000 (23:08 -0700)]
Reduce test output for incremental comp tests
Andy Clement [Sun, 16 Aug 2020 05:39:09 +0000 (22:39 -0700)]
Merge pull request #13 from larsgrefer/feature/collection-performance
Improve performance and readability of collection handling
Andy Clement [Sun, 16 Aug 2020 05:38:51 +0000 (22:38 -0700)]
Merge branch 'master' into feature/collection-performance
Andy Clement [Sun, 16 Aug 2020 05:30:45 +0000 (22:30 -0700)]
Merge pull request #15 from larsgrefer/update/maven/3.6.3
Update to Maven 3.6.3
Andy Clement [Sun, 16 Aug 2020 05:30:29 +0000 (22:30 -0700)]
Merge pull request #12 from larsgrefer/cleanup/unused-code
Cleanup unused imports
Andy Clement [Sun, 16 Aug 2020 05:29:59 +0000 (22:29 -0700)]
Merge pull request #11 from larsgrefer/feature/editorconfig
Add a basic .editorconfig file
Lars Grefer [Sun, 16 Aug 2020 02:04:28 +0000 (04:04 +0200)]
Cleanup unused imports
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Lars Grefer [Sat, 15 Aug 2020 18:29:23 +0000 (20:29 +0200)]
Update to Maven 3.6.3
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Lars Grefer [Fri, 14 Aug 2020 22:59:58 +0000 (00:59 +0200)]
Update to JUnit 4.13
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Andy Clement [Sat, 15 Aug 2020 16:19:02 +0000 (09:19 -0700)]
Merge pull request #7 from larsgrefer/patch-2
Use the Maven Wrapper for GitHub Actions
Andy Clement [Sat, 15 Aug 2020 15:28:46 +0000 (08:28 -0700)]
Reduce test output for incremental comp tests
Lars Grefer [Sat, 15 Aug 2020 15:01:46 +0000 (17:01 +0200)]
Weaken Collection declarations
Reports on declarations of Collection variables made by using the collection class as the type, rather than an appropriate interface.
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Andy Clement [Sat, 15 Aug 2020 14:56:48 +0000 (07:56 -0700)]
Fix test on J14
Lars Grefer [Sat, 15 Aug 2020 14:33:00 +0000 (16:33 +0200)]
Redundant Collection.addAll() call
Reports Collection.addAll() and Map.putAll() calls after instantiation of a collection using a constructor call without arguments. Such constructs can be replaced with a single call to a parametrized constructor which simplifies code. Also for some collections the replacement might be more performant.
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Lars Grefer [Sat, 15 Aug 2020 14:30:09 +0000 (16:30 +0200)]
Collection.toArray() call style
There are two styles to convert a collection to an array: either using a pre-sized array (like c.toArray(new String[c.size()])) or using an empty array (like c.toArray(new String[0]).
In older Java versions using pre-sized array was recommended, as the reflection call which is necessary to create an array of proper size was quite slow. However since late updates of OpenJDK 6 this call was intrinsified, making the performance of the empty array version the same and sometimes even better, compared to the pre-sized version. Also passing pre-sized array is dangerous for a concurrent or synchronized collection as a data race is possible between the size and toArray call which may result in extra nulls at the end of the array, if the collection was concurrently shrunk during the operation.
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Lars Grefer [Sat, 15 Aug 2020 14:25:42 +0000 (16:25 +0200)]
Single Map method can be used
Reports common usage patterns of java.util.Map that could be replaced with Java 8 methods: getOrDefault(), computeIfAbsent(), putIfAbsent(), merge(), or replaceAll().
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Lars Grefer [Sat, 15 Aug 2020 14:35:54 +0000 (16:35 +0200)]
Manual array copy
Reports the manual copying of array contents which may be replaced by calls to System.arraycopy().
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Lars Grefer [Sat, 15 Aug 2020 14:13:00 +0000 (16:13 +0200)]
Collections.sort() can be replaced with List.sort()
Reports calls to Collections.sort(list, comparator) which could be replaced with list.sort(comparator).
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Lars Grefer [Sat, 15 Aug 2020 14:09:05 +0000 (16:09 +0200)]
Replace List.indexOf() with List.contains()
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Lars Grefer [Sat, 15 Aug 2020 14:06:32 +0000 (16:06 +0200)]
Manual array to collection copy
Reports the copying of array contents to a collection where each element is added individually using a for loop. Such constructs may be replaced by a call to Collection.addAll(Arrays.asList()) or Collections.addAll().
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Lars Grefer [Fri, 14 Aug 2020 23:22:45 +0000 (01:22 +0200)]
Remove non-existing dependency
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Lars Grefer [Fri, 14 Aug 2020 23:07:29 +0000 (01:07 +0200)]
Remove project.parent.relative path as ../pom.xml is already the default
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Andy Clement [Sat, 15 Aug 2020 06:34:43 +0000 (23:34 -0700)]
Fix the serial version UID contribution to work properly
Andy Clement [Sat, 15 Aug 2020 05:45:11 +0000 (22:45 -0700)]
lets have maven fail if those tests fail...
Lars Grefer [Fri, 14 Aug 2020 23:36:53 +0000 (01:36 +0200)]
Use the Maven Wrapper for GitHub Actions
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Lars Grefer [Fri, 14 Aug 2020 23:27:18 +0000 (01:27 +0200)]
Add a basic .editorconfig file
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Andy Clement [Fri, 14 Aug 2020 22:50:39 +0000 (15:50 -0700)]
typo
Andy Clement [Fri, 14 Aug 2020 22:00:44 +0000 (15:00 -0700)]
Merge pull request #5 from larsgrefer/remove-old-version-checks
Remove checks for old Java Versions
Lars Grefer [Fri, 14 Aug 2020 21:02:52 +0000 (23:02 +0200)]
Merge branch 'master' of github.com:eclipse/org.aspectj into remove-old-version-checks
Andy Clement [Fri, 14 Aug 2020 21:01:22 +0000 (14:01 -0700)]
Test on LTS versions and most recent non LTS
Lars Grefer [Fri, 14 Aug 2020 21:00:48 +0000 (23:00 +0200)]
Merge branch 'master' of github.com:eclipse/org.aspectj into remove-old-version-checks
Andy Clement [Fri, 14 Aug 2020 20:59:47 +0000 (13:59 -0700)]
Merge pull request #4 from larsgrefer/feature/github-actions
Fix and improve the CI Jobs
Lars Grefer [Fri, 14 Aug 2020 20:58:34 +0000 (22:58 +0200)]
Merge branch 'master' of github.com:eclipse/org.aspectj into feature/github-actions
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Andy Clement [Fri, 14 Aug 2020 17:56:10 +0000 (10:56 -0700)]
Fix up tests and reduce verbosity on J11
Andy Clement [Fri, 14 Aug 2020 04:58:17 +0000 (21:58 -0700)]
Attempting to get J11 build happy at github
Andy Clement [Thu, 13 Aug 2020 23:06:08 +0000 (16:06 -0700)]
Making tests behave on 11
Lars Grefer [Thu, 13 Aug 2020 22:28:34 +0000 (00:28 +0200)]
Merge branch 'feature/simplify-ajdoc' of github.com:larsgrefer/org.aspectj into feature/github-actions
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Lars Grefer [Thu, 13 Aug 2020 22:25:54 +0000 (00:25 +0200)]
Simplify checks for Java 8 to true
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Lars Grefer [Thu, 13 Aug 2020 22:22:30 +0000 (00:22 +0200)]
Always run javadoc using the ToolProvider API
`com.sun.tools.javadoc.Main` isn't available in recent Java versions (13+)
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Andy Clement [Thu, 13 Aug 2020 21:24:40 +0000 (14:24 -0700)]
Trying to reduce test verbosity
Lars Grefer [Thu, 13 Aug 2020 21:21:11 +0000 (23:21 +0200)]
Remove checks for old Java Versions
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Andy Clement [Thu, 13 Aug 2020 20:40:06 +0000 (13:40 -0700)]
Adjust ASM version number used to work properly with Records (J14)
Lars Grefer [Thu, 13 Aug 2020 19:47:19 +0000 (21:47 +0200)]
Fix compilation of JavadocRunner for Java 13+
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Lars Grefer [Thu, 13 Aug 2020 19:32:03 +0000 (21:32 +0200)]
Fix JRockitAgentTest for Java 9 and 10
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Lars Grefer [Thu, 13 Aug 2020 16:31:20 +0000 (18:31 +0200)]
Test more Java versions
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Lars Grefer [Thu, 13 Aug 2020 16:27:03 +0000 (18:27 +0200)]
Print used tool versions
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Lars Grefer [Thu, 13 Aug 2020 16:15:28 +0000 (18:15 +0200)]
Fix compilation on Java 11
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Andy Clement [Thu, 13 Aug 2020 15:32:30 +0000 (08:32 -0700)]
Merge pull request #3 from larsgrefer/feature/github-actions
Create a simple CI Job using GitHub Actions
Andy Clement [Thu, 13 Aug 2020 15:28:27 +0000 (08:28 -0700)]
Merge pull request #2 from larsgrefer/feature/diamond-operator
Use the diamond operator where possible
Lars Grefer [Thu, 13 Aug 2020 01:58:56 +0000 (03:58 +0200)]
Fix Javadoc generation on Java 11
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Lars Grefer [Thu, 13 Aug 2020 01:32:01 +0000 (03:32 +0200)]
Fix Testcase
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Lars Grefer [Wed, 12 Aug 2020 23:25:24 +0000 (01:25 +0200)]
Create maven.yml
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Lars Grefer [Wed, 12 Aug 2020 23:01:58 +0000 (01:01 +0200)]
Use the diamond operator where possible
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Andy Clement [Wed, 12 Aug 2020 22:20:45 +0000 (15:20 -0700)]
Merge pull request #1 from larsgrefer/feature/java5
Update the code to Java 5 features
Andy Clement [Wed, 12 Aug 2020 22:20:29 +0000 (15:20 -0700)]
Merge branch 'master' into feature/java5
Andy Clement [Mon, 10 Aug 2020 23:13:20 +0000 (16:13 -0700)]
Add a debug flag to workaround issue until we can sort it (565713)
Lars Grefer [Sat, 8 Aug 2020 01:16:40 +0000 (03:16 +0200)]
Unnecessary unboxing
Reports "unboxing", e.g. explicit unwrapping of wrapped primitive values. Unboxing is unnecessary under Java 5 and newer, and can be safely removed.
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Lars Grefer [Sat, 8 Aug 2020 01:14:13 +0000 (03:14 +0200)]
Unnecessary boxing
Reports explicit boxing, i.e. wrapping of primitive values in objects. Explicit manual boxing is unnecessary under Java 5 and newer, and can be safely removed.
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Lars Grefer [Sat, 8 Aug 2020 01:11:12 +0000 (03:11 +0200)]
'String.indexOf()' expression is replaceable with 'contains()'
Reports any String.indexOf() expressions which can be replaced with a call to the String.contains() method available in Java 5 and newer.
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Lars Grefer [Sat, 8 Aug 2020 01:09:01 +0000 (03:09 +0200)]
'while' loop replaceable with enhanced 'for' loop
Reports while loops which iterate over collections, and can be replaced with an enhanced for loop (i.e. foreach iteration syntax).
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Lars Grefer [Sat, 8 Aug 2020 01:06:37 +0000 (03:06 +0200)]
'for' loop replaceable with enhanced 'for' loop
Reports for loops which iterate over collections or arrays, and can be replaced with an enhanced for loop (i.e. the foreach iteration syntax).
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Andy Clement [Wed, 22 Jul 2020 21:09:06 +0000 (14:09 -0700)]
Polish
eli-fin [Sun, 19 May 2019 11:10:35 +0000 (14:10 +0300)]
Fix serialVersionUID initialization for java9+
Move initialization of static final serialVersionUID field to clinit, since as of java9+, the runtime won't allow setting final fields outside clinit
Signed-off-by: Eli Finkel <eyfinkel@gmail.com>
Andy Clement [Wed, 22 Jul 2020 20:23:05 +0000 (13:23 -0700)]
Rev to 1.9.7.BUILD-SNAPSHOT
Emmanuel Bourg [Thu, 23 Oct 2014 13:55:56 +0000 (15:55 +0200)]
Fixed a misplaced <para> element in the Docbook documentation for ajc
Andy Clement [Wed, 22 Jul 2020 19:34:07 +0000 (12:34 -0700)]
AspectJ 1.9.6 final bits
Andy Clement [Sat, 18 Jul 2020 00:29:08 +0000 (17:29 -0700)]
Update ASM and fix packaging for matcher artifact
Andy Clement [Fri, 1 May 2020 19:08:11 +0000 (12:08 -0700)]
polish and new test for 550705
Andy Clement [Wed, 29 Apr 2020 22:14:34 +0000 (15:14 -0700)]
558995 testcode
Andy Clement [Wed, 29 Apr 2020 21:19:51 +0000 (14:19 -0700)]
Fix 550705: tricky intermittent verify error