JDK-8213244 : Fix all warnings in jpackager java code
  • Type: Bug
  • Component: tools
  • Sub-Component: jpackage
  • Affected Version: internal
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-11-01
  • Updated: 2019-03-22
  • Resolved: 2018-11-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
internalFixed
Related Reports
Relates :  
Description
In make/CompileJavaModules.gmk:
We use GENERATE_JDKBYTECODE_NOWARNINGS
 When you add new code to OpenJDK, it really *should* be able to build without warnings. This has previously only been used for legacy code that has not yet been brought up to OpenJDK standards. Introducing new code with warnings silenced feels like a step in the wrong direction. 

we need to remove the GENERATE_JDKBYTECODE_NOWARNINGS and fix all the code that generates warnings
Comments
Crucible review: https://java.se.oracle.com/code/cru/CR-JDK-JDK-222#details
01-11-2018