SSLSocketFactory.connect(Socket...) should allow port of -1
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
diff --git a/run-core-tests b/run-core-tests
index 893b0d6..80570f8d 100755
--- a/run-core-tests
+++ b/run-core-tests
@@ -24,7 +24,8 @@
chmod 777 $tmp
# Build the classpath by putting together the jar file for each module.
-classpath="/system/framework/sqlite-jdbc.jar" # Bonus item for jdbc testing.
+classpath="/system/framework/core-junit.jar:/system/framework/core-junitrunner.jar"
+classpath="$classpath:/system/framework/sqlite-jdbc.jar" # Bonus item for jdbc testing.
modules="dom json luni support xml"
for module in $modules; do
classpath="$classpath:/system/framework/core-tests-$module.jar"