[jboss-jira] [JBoss JIRA] (WFLY-1740) ManagedSocketBinding class Impossible cast from java.net.InetAddress to java.net.InetSocketAddress

Cheng Fang (JIRA) jira-events at lists.jboss.org
Mon Jul 22 16:52:26 EDT 2013


Cheng Fang created WFLY-1740:
--------------------------------

             Summary: ManagedSocketBinding class Impossible cast from java.net.InetAddress to java.net.InetSocketAddress
                 Key: WFLY-1740
                 URL: https://issues.jboss.org/browse/WFLY-1740
             Project: WildFly
          Issue Type: Bug
          Components: Server
    Affects Versions: 8.0.0.Beta1
            Reporter: Cheng Fang
            Assignee: Emanuel Muckenhuber


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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jboss-jira mailing list