JDK-8050798 : New unchecked warning introduced in com.sun.jndi.ldap.Connection
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: javax.naming
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-07-15
  • Updated: 2014-08-29
  • Resolved: 2014-07-17
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 9
9 b24Fixed
Related Reports
Relates :  
Description
The recent fix for JDK-8048175 introduced a new unchecked warning in the previous clean core libraries code:

jdk/src/share/classes/com/sun/jndi/ldap/Connection.java:263: warning: [unchecked] unchecked cast
                    (socketFactory);
                    ^
  required: java.lang.Class<? extends javax.net.SocketFactory>
  found:    java.lang.Class<capture#1 of ?>

This should be fixed to correct a regression in the lint warnings in core libs.

Comments
Review thread: http://mail.openjdk.java.net/pipermail/core-libs-dev/2014-July/027840.html
17-07-2014