• Brian Carlstrom's avatar
    SSLSocketFactory.connect(Socket...) should allow port of -1 · a653cca0
    Brian Carlstrom authored
    SSLSession.getPeerPort is supposed to return -1 when the port is
    undefined so now we initialize it to that value.
    
    	luni/src/main/java/org/apache/harmony/xnet/provider/jsse/OpenSSLSessionImpl.java
    
    Avoid creating InetAddress to store the OpenSSLSessionImplWrapper host
    and port arguments since it was causing an exception on an port value
    of -1 and was just used to go back to the original host and port when
    creating the SSLSession, which is allowed to return a port value of -1.
    
    	luni/src/main/java/org/apache/harmony/xnet/provider/jsse/OpenSSLSocketImpl.java
    
    Remove last of KnownFailures for SSLSocketFactory
    
    	luni/src/test/java/javax/net/ssl/SSLSocketFactoryTest.java
    
    Update classpath for newly seperated out junit jars
    
    	run-core-tests
    
    Change-Id: I646a8f23c3d6ae01f1dd38e40bc9c32d436e6254
    a653cca0
run-core-tests 1.47 KB