-
Notifications
You must be signed in to change notification settings - Fork 5.8k
8355004: Apply java.io.Serial annotations in java.compiler #24891
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
👋 Welcome back serb! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
src/java.compiler/share/classes/javax/lang/model/type/MirroredTypeException.java
Show resolved
Hide resolved
src/java.compiler/share/classes/javax/annotation/processing/FilerException.java
Show resolved
Hide resolved
Hmm, was there no compiler warning from the lack of serial annotations? |
There is no compiler warning currently, even with -Xlint:serial. |
Please review the application of
@Serial
annotation (JDK-8202385) to types in the compiler module to enable stricter compile-time checking of serialization-related declarations. Just a few classes are covered.This annotation can be applied to these methods in the module:
Any feedback or suggestions are welcome!
Progress
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/24891/head:pull/24891
$ git checkout pull/24891
Update a local copy of the PR:
$ git checkout pull/24891
$ git pull https://git.openjdk.org/jdk.git pull/24891/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 24891
View PR using the GUI difftool:
$ git pr show -t 24891
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/24891.diff
Using Webrev
Link to Webrev Comment