JDK-8044866 : Fix raw and unchecked lint warnings in asm
  • Type: Sub-task
  • Component: other-libs
  • Sub-Component: other
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-06-05
  • Updated: 2015-01-21
  • Resolved: 2014-06-20
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.
JDK 8 JDK 9
8u40Fixed 9 b22Fixed
Description
The copy of asm embedded in the jdk has raw and unchecked warnings; these should be fixed.
Comments
Fixed in ASM source: http://websvn.ow2.org/revision.php?repname=asm&path=%2Ftrunk%2F&rev=1750&peg=1750 Next refresh will pick this change up.
06-06-2014

Let ASM team know.
05-06-2014

Warnings include: src/share/classes/jdk/internal/org/objectweb/asm/tree/analysis/Analyzer.java:137: warning: [unchecked] unchecked cast src/share/classes/jdk/internal/org/objectweb/asm/tree/analysis/Analyzer.java:142: warning: [unchecked] unchecked cast src/share/classes/jdk/internal/org/objectweb/asm/tree/analysis/Analyzer.java:143: warning: [unchecked] unchecked cast src/share/classes/jdk/internal/org/objectweb/asm/tree/analysis/Frame.java:116: warning: [unchecked] unchecked cast src/share/classes/jdk/internal/org/objectweb/asm/tree/InsnList.java:553: warning: [rawtypes] found raw type: ListIterator src/share/classes/jdk/internal/org/objectweb/asm/tree/MethodNode.java:408: warning: [unchecked] unchecked cast src/share/classes/jdk/internal/org/objectweb/asm/tree/MethodNode.java:418: warning: [unchecked] unchecked cast
05-06-2014