-
Bug
-
Resolution: Fixed
-
P2
-
None
-
b166
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8179146 | 10 | Jonathan Gibbons | P2 | Resolved | Fixed | b06 |
The methods
StandardjavaFileManager.getLocation
StandardjavaFileManager.getLocationAsPaths
StandardjavaFileManager.setLocation
StandardjavaFileManager.setLocationFromPaths
all throw UnsupportedOperationException for MODULE_SOURCE_PATH because the underlying methods in Locations.ModuleSourcePathLocationHandler are no implemented. Now that we have implemented the more complex setLocationForModule method, it is reasonable to implement these simpler variants.
StandardjavaFileManager.getLocation
StandardjavaFileManager.getLocationAsPaths
StandardjavaFileManager.setLocation
StandardjavaFileManager.setLocationFromPaths
all throw UnsupportedOperationException for MODULE_SOURCE_PATH because the underlying methods in Locations.ModuleSourcePathLocationHandler are no implemented. Now that we have implemented the more complex setLocationForModule method, it is reasonable to implement these simpler variants.
- backported by
-
JDK-8179146 MODULE_SOURCE_PATH: Implement missing methods
-
- Resolved
-
- duplicates
-
JDK-8150043 FileManager.getLocation(StandardLocation.MODULE_SOURCE_PATH) is unsupported
-
- Closed
-
- is blocked by
-
JDK-8178493 StandardJavaFileManager: Clarify/document the use of IllegalStateException
-
- Closed
-