-
Notifications
You must be signed in to change notification settings - Fork 146
8266631: StandardJavaFileManager: getJavaFileObjects() impl violates the spec #56
Conversation
👋 Welcome back jlahoda! A progress list of the required criteria for merging this PR into |
@lahodaj This issue is referenced in the PR title - it will now be updated. |
@lahodaj |
@lahodaj |
@lahodaj |
Webrevs
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@lahodaj This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 55 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
/csr needed |
@lahodaj this pull request will not be integrated until the CSR request JDK-8268260 for issue JDK-8266631 has been approved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK ... but please avoid using {@linkplain}
for code constructs. Use {@link}
or {@code}
* cannot be converted to a file. | ||
* The default implementation lazily converts each path to a file and calls | ||
* {@link #getJavaFileObjectsFromFiles(Iterable) getJavaFileObjectsFromFiles}. | ||
* {@linkplain IllegalArgumentException IllegalArgumentException} will be thrown |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest using with {@link}
or {@code}
but not {@linkplain}
.
Given that there is a @throws
which will link it, {@code}
may be enough.
* cannot be converted to a file. | ||
* The default implementation lazily converts each path to a file and calls | ||
* {@link #getJavaFileObjectsFromPaths(Collection) getJavaFileObjectsFromPaths}. | ||
* {@linkplain IllegalArgumentException IllegalArgumentException} will be thrown |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto use {@code}
@@ -262,10 +263,15 @@ | |||
* getJavaFileObjectsFromPaths({@linkplain java.util.Arrays#asList Arrays.asList}(paths)) | |||
* </pre> | |||
* | |||
* @implSpec | |||
* The default implementation will only throw {@linkplain NullPointerException NullPointerException} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{@linkplain}
should only be used for natural-language text.
Alternatively, it may work to use {@linkplain NullPointerException {@code NullPointerException}}
but that seems overkill.
* The default implementation converts each path to a file and calls | ||
* {@link #getJavaFileObjectsFromFiles getJavaObjectsFromFiles}. | ||
* The default implementation lazily converts each path to a file and calls | ||
* {@link #setLocation setLocation}. | ||
* {@linkplain IllegalArgumentException IllegalArgumentException} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto.
/csr unneeded |
/csr needed |
@lahodaj the issue for this pull request, JDK-8266631, already has an approved CSR request: JDK-8268260 |
/integrate |
Going to push as commit 01f12fb.
Your commit was automatically rebased without conflicts. |
[a copy of https://github.com/openjdk/jdk/pull/4360 for openjdk/jdk17]
This improves javadoc/specification of several StandardJavaFileManager methods, as requested in these bugs:
https://bugs.openjdk.java.net/browse/JDK-8266631
https://bugs.openjdk.java.net/browse/JDK-8266596
https://bugs.openjdk.java.net/browse/JDK-8266591
https://bugs.openjdk.java.net/browse/JDK-8266590
The CSR is here:
https://bugs.openjdk.java.net/browse/JDK-8268260
/issue JDK-8266631
/issue JDK-8266596
/issue JDK-8266591
/issue JDK-8266590
Progress
Issues
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk17 pull/56/head:pull/56
$ git checkout pull/56
Update a local copy of the PR:
$ git checkout pull/56
$ git pull https://git.openjdk.java.net/jdk17 pull/56/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 56
View PR using the GUI difftool:
$ git pr show -t 56
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk17/pull/56.diff