8265888: StandardJavaFileManager::setLocationForModule specification misses 'Implementation Requirements:'

Reviewed-by: jlahoda
This commit is contained in:
Jonathan Gibbons 2021-07-15 16:06:40 +00:00
parent c962e6ec0b
commit 1f995e52b2

View File

@ -372,6 +372,9 @@ public interface StandardJavaFileManager extends JavaFileManager {
* {@linkplain #setLocation setLocation} or
* {@linkplain #setLocationFromPaths setLocationFromPaths}.
*
* @implSpec
* The default implementation throws {@link UnsupportedOperationException}.
*
* @throws IllegalStateException if the location is not a module-oriented
* or output location.
* @throws UnsupportedOperationException if this operation is not supported by