You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The compiler is report multiple "this-escape" warnings under JDK 21. The warning is especially chatty because it can be reported against the constructor and a calling method resulting in multiple warnings per site. This extra noise can make it a challenge to find other warnings.
The approach taken will be to:
Fix or update code to make it less vulnerable. Easy examples are using a different super constructor or using a super instance method call instead of this instance method call.
Suppress warning when dealing with classes that are designed to throw or invoke an method that can be overridden. These classes would not be updated to value types anyway.
Add at override annotations that are missing for classes that are modified.
Suppress terminal digit warning on module name for pop3 as that is the name of the protocol.
Suppress warning for fall through that are missing for classes that are modified and comment fall through cases.
Add at deprecated to methods that are deprecated via javadoc for classes that are modified.
Add serial ids to demo classes to get rid of those warnings.
Fix some raw type warnings for classes that are modified.
The text was updated successfully, but these errors were encountered:
The compiler is report multiple "this-escape" warnings under JDK 21. The warning is especially chatty because it can be reported against the constructor and a calling method resulting in multiple warnings per site. This extra noise can make it a challenge to find other warnings.
The approach taken will be to:
pop3
as that is the name of the protocol.The text was updated successfully, but these errors were encountered: