Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-1740

ManagedSocketBinding class Impossible cast from java.net.InetAddress to java.net.InetSocketAddress

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.0.0.CR1
    • 8.0.0.Alpha4
    • Server
    • None

    Description

      Reported by FindBugs:

      Impossible cast from java.net.InetAddress to java.net.InetSocketAddress

      Class:
      ManagedSocketBinding (org.jboss.as.network) line 55

      Method:
      getBindAddress (org.jboss.as.network.ManagedSocketBinding.getBindAddress())

      Priority:
           High Confidence Correctness
       
      Problem classification:
      Correctness (Bad casts of object references)
      BC_IMPOSSIBLE_CAST (Impossible cast)

      Notes:
      Actual type java.net.InetAddress
      Expected java.net.InetSocketAddress
      Return value of Class.cast(Object)
      FindBadCast2 (BC|NP)

      Attachments

        Activity

          People

            emuckenhuber_jira Emanuel Muckenhuber (Inactive)
            cfang@redhat.com Cheng Fang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: