Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make all tests run on Java 16 via '-add-opens' JVM optionjava16-add-opens | Alexander Kriegisch | 2021-03-23 | 1 | -23/+23 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to JEP 260 (Encapsulate Most Internal APIs), aspect weaving on Java 16 now requires '--add-opens java.base/java.lang=ALL-UNNAMED' on the command line. Otherwise there will be illegal access exceptions for some internal API calls AspectJ needs, most prominently when trying to define classes in other packages or modules. This had to be done on several levels: - Maven Surefire: running tests in a JVM directly forked by Surefire. In order to make this backwards compatible, I added two profiles with JDK-level-dependent auto-activation, one 8-15 and one 16+. In the latter a property containing the JVM parameter is defined, in the former it is empty, i.e. the JVM is started without the parameter. In Java 8 the parameter did not even exist, in Java 9+ we could use it, but we need to test how users use AspectJ. - RunSpec: Whenever an XML test is declared to use '<run>', we need to determine the current JVM version and again dynamically add the parameter when forking the target JVM. - AntSpec: Whenever an XML test is declared to use '<ant>', we need to determine the current JVM version dynamically add two properties usable from within Ant scripts: 'aj.addOpensKey' and 'aj.addOpensValue'. Unfortunately, Ant needs to use two '<argLine>' parameters, because the two parts of the option are separated by a space character. - Ant scripts: When triggered by an AntSpec, each Ant target using LTW needs to manually set <jvmarg value="${aj.addOpensKey}"/> <jvmarg value="${aj.addOpensValue}"/> for each '<java>' task. It was quite tedious to find all(?) of them. TODO: In the AspectJ 1.9.7 release notes we need to document that this parameter is now needed for LTW. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name> | ||||
* | Fix 'ajdoc' tests for Java 15 build | Alexander Kriegisch | 2021-03-14 | 2 | -76/+84 |
| | | | | Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name> | ||||
* | Revert to 1.9.7.BUILD-SNAPSHOT | Andy Clement | 2020-08-21 | 1 | -1/+1 |
| | |||||
* | 1.9.7 milestone 1 published | Andy Clement | 2020-08-21 | 1 | -1/+1 |
| | |||||
* | Merge pull request #10 from larsgrefer/cleanup/pom | Andy Clement | 2020-08-16 | 1 | -1/+0 |
|\ | | | | | Cleanup the Maven pom.xml files | ||||
| * | Remove project.parent.relative path as ../pom.xml is already the default | Lars Grefer | 2020-08-15 | 1 | -1/+0 |
| | | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de> | ||||
* | | Merge branch 'master' into feature/collection-performance | Andy Clement | 2020-08-15 | 2 | -2/+0 |
|\ \ | |||||
| * | | Cleanup unused imports | Lars Grefer | 2020-08-16 | 2 | -2/+0 |
| |/ | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de> | ||||
* | | Weaken Collection declarations | Lars Grefer | 2020-08-15 | 1 | -5/+5 |
| | | | | | | | | | | | | 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> | ||||
* | | Redundant Collection.addAll() call | Lars Grefer | 2020-08-15 | 1 | -2/+1 |
|/ | | | | | | 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> | ||||
* | lets have maven fail if those tests fail... | Andy Clement | 2020-08-14 | 1 | -1/+1 |
| | |||||
* | Unnecessary unboxing | Lars Grefer | 2020-08-08 | 1 | -1/+1 |
| | | | | | | 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> | ||||
* | 'String.indexOf()' expression is replaceable with 'contains()' | Lars Grefer | 2020-08-08 | 1 | -2/+2 |
| | | | | | | 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> | ||||
* | 'for' loop replaceable with enhanced 'for' loop | Lars Grefer | 2020-08-08 | 3 | -16/+16 |
| | | | | | | 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> | ||||
* | Rev to 1.9.7.BUILD-SNAPSHOT | Andy Clement | 2020-07-22 | 1 | -1/+1 |
| | |||||
* | AspectJ 1.9.6 final bitsV1_9_6 | Andy Clement | 2020-07-22 | 1 | -1/+1 |
| | |||||
* | polish | Andy Clement | 2019-11-29 | 2 | -1539/+1571 |
| | |||||
* | polish | Andy Clement | 2019-11-29 | 1 | -211/+222 |
| | |||||
* | Move to 1.9.6.BUILD-SNAPSHOT version | Andy Clement | 2019-11-28 | 1 | -1/+1 |
| | |||||
* | 1.9.5 release versions in pomsV1_9_5 | Andy Clement | 2019-11-28 | 1 | -1/+1 |
| | |||||
* | Update to 1.9.5.BUILD-SNAPSHOT in poms | Andy Clement | 2019-06-03 | 1 | -1/+1 |
| | |||||
* | 1.9.4 POMS | Andy Clement | 2019-05-10 | 1 | -1/+1 |
| | |||||
* | pushed versions to 1.9.4.BUILD-SNAPSHOT | Andy Clement | 2019-04-17 | 1 | -1/+1 |
| | |||||
* | Add module tests back in - but streamlined | Andy Clement | 2019-02-01 | 3 | -46/+29 |
| | |||||
* | mavenizing testing-drivers - done' | Andy Clement | 2019-01-30 | 3 | -0/+6 |
| | |||||
* | mavenizing testing-drivers - wip | Andy Clement | 2019-01-30 | 14 | -49/+61 |
| | |||||
* | Reverse default - behave like 1.5 (support annotations) by default | Andy Clement | 2018-10-10 | 1 | -7/+4 |
| | |||||
* | Fix classpath for tests on Java9 | Andy Clement | 2016-06-27 | 1 | -1/+2 |
| | |||||
* | findbugs/eclipse warnings fixed | aclement | 2008-08-27 | 3 | -52/+70 |
| | |||||
* | fixed jre lib warning | aclement | 2008-06-08 | 1 | -13/+13 |
| | |||||
* | Bug 113948 "Repackage AspectJ" (move module root suites out of default package) | mwebster | 2006-07-30 | 1 | -0/+1 |
| | |||||
* | update license to EPL | acolyer | 2006-06-01 | 8 | -16/+16 |
| | |||||
* | Completed: Improve ajc memory usage | acolyer | 2006-02-24 | 2 | -0/+21 |
| | | | | incremental tests need to ensure that AjState runs in incremental mode! | ||||
* | fixing typo | aclement | 2005-06-09 | 1 | -1/+1 |
| | |||||
* | Skipping long test of rarely-changed code | wisberg | 2005-06-08 | 1 | -0/+2 |
| | |||||
* | ignore bintest directories | acolyer | 2005-05-31 | 1 | -1/+2 |
| | |||||
* | newbuild.xml replacing build.xml, with Alex ok | wisberg | 2005-05-19 | 2 | -63/+3 |
| | |||||
* | prospective replacements for {module}/build.xml - will move there once ↵ | wisberg | 2005-05-11 | 1 | -0/+6 |
| | | | | validated by those who use build.xml. | ||||
* | From branch: New build scripts that Alex uses under IntelliJ - can be run ↵ | aclement | 2005-04-19 | 1 | -0/+60 |
| | | | | individually or via master in build module. | ||||
* | -exitOnFailure for System.exit(..) on failure, so release/build.xml can ↵ | wisberg | 2005-03-10 | 1 | -2/+20 |
| | | | | respond to test failures. | ||||
* | temporary workaround for (jar assembly after removing ant jar from ↵ | wisberg | 2005-03-10 | 1 | -1/+1 |
| | | | | testing-drivers-all) will work only when jar is in lib/ant/../../aj-build/jars directory. | ||||
* | ignoring ajcore files | wisberg | 2005-03-08 | 1 | -0/+1 |
| | |||||
* | refactoring, reformatting; support for generated test classes (latter not ↵ | wisberg | 2005-01-27 | 3 | -68/+263 |
| | | | | checked in) | ||||
* | support vm args during forking (simple update: forking still requires system ↵ | wisberg | 2004-10-05 | 1 | -35/+53 |
| | | | | properties) | ||||
* | fix for Bugzilla Bug 37020 | acolyer | 2004-08-19 | 3 | -2/+5 |
| | | | | wrong line for method execution join point | ||||
* | running negative harness tests, to verify that expected-fails actually fail | wisberg | 2004-03-31 | 3 | -7/+26 |
| | |||||
* | spring cleaning in advance of 1.2 enhancements: | acolyer | 2004-01-23 | 3 | -10/+10 |
| | | | | | removed unused imports, local variables, and private methods (still there, just commented out). | ||||
* | Merge of dependent tests (only shows up under IBM 131 JVM) | acolyer | 2003-12-08 | 1 | -20/+19 |
| | |||||
* | adjust tests for new message content when skipping | wisberg | 2003-10-29 | 2 | -4/+4 |
| | |||||
* | better mapping from messages to JUnit failure/error | wisberg | 2003-10-29 | 1 | -9/+11 |
| |