v1.0.0-RC1
This is the first release candidate for the v1.0 stable release.
Changes
The aim of this set of changes is to remove all deprecated functionality that has been removed to simplify this API for the vast majority of use cases. I have attempted to ensure all functionality that may still be required in edge cases is still accessible via more explicit method calls.
The details of these changes are az follows:
- Remove deprecated features for v1.0.0 by @ascopes in #395
- Remove 'modules' parameter for JavacCompilersTest and related functionality.
- Remove 'modules' parameter in minSupportedVersion and maxSupportedVersion in JavacJctCompilerImpl.
- Remove deprecated JctCompilers.createPlatformCompiler, as we now just use JctCompilers.newPlatformCompiler instead.
- Remove deprecation warnings around toString in AbstractJctCompiler.
- Remove default override for JctCompilation.getArguments -- this is now a required method to be implemented by custom implementations.
- Move PathRoot.asJar into implementation level. Custom PathRoots must now provide this method explicitly.
- Remove platform classpath features deprecated in #396 -- platform classpath functionality historically was for Java versions prior to Java 11, and is mostly replaced with the system modules mechanism. If you still need to use this, you can use one of the method overrides that consume a Location object instead, passing StandardLocation.PLATFORM_CLASS_PATH as the Location parameter.
- Remove obscure deprecated methods in JctFileManager and Workspace classes as part of GH-417. If you still need to use this, you can use one of the method overrides that consume a Location object instead, passing StandardLocation as the Location parameter. The following methods have been affected:
- Removed JctFileManager.getNativeHeaderOutputGroup
- Removed JctFileManager.getUpgradeModulePathGroup
- Removed JctFileManager.getSystemModulesGroup
- Removed JctFileManager.getPatchModulePathGroup
- Removed Workspace.addNativeHeaderOutputPackage
- Removed Workspace.addNativeHeaderOutputModule
- Removed Workspace.addUpgradeModulePathModule
- Removed Workspace.addSystemModulePathModule
- Removed Workspace.addPatchModulePathModule
- Removed Workspace.createNativeHeaderOutputPackage
- Removed Workspace.createNativeHeaderOutputModule
- Removed Workspace.createUpgradeModulePathModule
- Removed Workspace.createSystemModulePathModule
- Removed Workspace.createPatchModulePathModule
- Removed Workspace.getNativeHeaderOutputPackages
- Removed Workspace.getNativeHeaderOutputModules
- Removed Workspace.getUpgradeModulePathModules
- Removed Workspace.getSystemModulePathModules
- Removed Workspace.getPatchModulePathModules
- Removed Workspace.getNativeHeaderOutputModule
- Removed Workspace.getUpgradeModulePathModule
- Removed Workspace.getSystemModulePathModule
- Removed Workspace.getPatchModulePathModule
- Remove deprecated RamFileSystemProvider mechanism
- Fix MemoryFileSystemProviderImpl to make use of the provided file system name
- Fix a couple of bugs regarding MemoryFileSystemProvider disallowing specific
characters in file system names. - Remove JctCompilationAssert.generatedHeaders - If you still need to use this, you can use one of the method overrides that consume a Location object instead, passing StandardLocation as the Location parameter.
- Remove methods deprecated in GH-447 for JctCompilationAssert - all of these have new methods in the same class that are named consistently with the rest of this library. Check the documentation for JctCompilationAssert to see what is available.
- Removed JctCompilationAssert.classOutput
- Removed JctCompilationAssert.sourceOutput
- Removed JctCompilationAssert.classPath
- Removed JctCompilationAssert.sourcePath
- Removed JctCompilationAssert.moduleSourcePath
- Removed JctCompilationAssert.modulePath
- Remove deprecated PathFileObject.getFullPath, which has been replaced with PathFileObject.getAbsolutePath
- Make PathFileObject into an interface, and make the existing implementation become part of the internal API.
Full Changelog: v0.7.3...v1.0.0-RC1