Several of the methods of SimpleJavaFileObject are structured like:
"This implementation always throws UnsupportedOperationException. Subclasses can change this behavior as long as the contract of $METHOD is obeyed."
This idiom would be better captured using an implSpec tag and directed inheritance, something like:
"{@inhertiDoc JavaFileObject}
@implSpec his implementation always throws UnsupportedOperationException."
"This implementation always throws UnsupportedOperationException. Subclasses can change this behavior as long as the contract of $METHOD is obeyed."
This idiom would be better captured using an implSpec tag and directed inheritance, something like:
"{@inhertiDoc JavaFileObject}
@implSpec his implementation always throws UnsupportedOperationException."
- csr for
-
JDK-8325904 SimpleJavaFileObject specification would benefit from implSpec
-
- Closed
-
- links to
-
Commit openjdk/jdk/3b763722
-
Review(master) openjdk/jdk/17854