Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8039096 Fix raw and unchecked lint warnings in jdk libraries
  3. JDK-8050798

New unchecked warning introduced in com.sun.jndi.ldap.Connection

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
      9
    • Resolved In Build:
      b24

      Backports

        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.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                darcy Joe Darcy
                Reporter:
                darcy Joe Darcy
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: