]> source.dussan.org Git - aspectj.git/commit
Adjust how classpath entries manipulated for Java9 support
authorAndy Clement <aclement@pivotal.io>
Fri, 20 Oct 2017 19:48:41 +0000 (12:48 -0700)
committerAndy Clement <aclement@pivotal.io>
Fri, 20 Oct 2017 19:48:41 +0000 (12:48 -0700)
commita24d15f5e7538985ca9718d9e78635bb53372736
treeae5fec85a2442cc94a59127fc4c964723c69c6d0
parente9c279bc3e974f57053b718c895ad69194cd1dc0
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.
ajde.core/src/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java
org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/ConfigParser.java
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildConfig.java
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/StatefulNameEnvironment.java
org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjBuildManagerTest.java
org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjStateTest.java
org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjcTestCase.java
util/src/org/aspectj/util/SoftHashMap.java