Blame SOURCES/0052-Adapt-the-test-suite-to-Java-1.8.patch

f9a98e
From b02f61c9c411420add47e9b13eef683cd8ae000e Mon Sep 17 00:00:00 2001
f9a98e
From: Jakub Filak <jfilak@redhat.com>
f9a98e
Date: Wed, 29 Oct 2014 18:13:01 +0100
f9a98e
Subject: [PATCH] Adapt the test suite to Java-1.8
f9a98e
f9a98e
Related to #42
f9a98e
---
f9a98e
 test/Test.java                        |  10 +-
f9a98e
 test/outputs/run_test.log.in          |  31 ++-----
f9a98e
 test/outputs/run_test.log.in.java-1.7 | 167 ++++++++++++++++++++++++++++++++++
f9a98e
 3 files changed, 179 insertions(+), 29 deletions(-)
f9a98e
 create mode 100644 test/outputs/run_test.log.in.java-1.7
f9a98e
f9a98e
diff --git a/test/Test.java b/test/Test.java
f9a98e
index 9c5dedb..cd4acf4 100644
f9a98e
--- a/test/Test.java
f9a98e
+++ b/test/Test.java
f9a98e
@@ -68,14 +68,14 @@ public class Test {
f9a98e
      */
f9a98e
     public static void allocateMemory() {
f9a98e
         /* allocated size = 4096*4096*4 bytes */
f9a98e
-        int[]      intArray1D = new int[DIM_SIZE * DIM_SIZE];
f9a98e
+        { int[]      intArray1D = new int[DIM_SIZE * DIM_SIZE]; }
f9a98e
         /* allocated size = 4096*4096*4 bytes */
f9a98e
-        int[][]    intArray2D = new int[DIM_SIZE][DIM_SIZE];
f9a98e
-        double[]   doubleArray1D = new double[DIM_SIZE * DIM_SIZE];
f9a98e
-        double[][] doubleArray2D = new double[DIM_SIZE][DIM_SIZE];
f9a98e
+        { int[][]    intArray2D = new int[DIM_SIZE][DIM_SIZE]; }
f9a98e
+        { double[]   doubleArray1D = new double[DIM_SIZE * DIM_SIZE]; }
f9a98e
+        { double[][] doubleArray2D = new double[DIM_SIZE][DIM_SIZE]; }
f9a98e
 
f9a98e
         // string could be allocated using some base array
f9a98e
-        String s = new String(new byte[DIM_SIZE * DIM_SIZE]);
f9a98e
+        { String s = new String(new byte[DIM_SIZE * DIM_SIZE]); }
f9a98e
     }
f9a98e
 
f9a98e
 
f9a98e
diff --git a/test/outputs/run_test.log.in b/test/outputs/run_test.log.in
f9a98e
index 02708a4..804afb5 100644
f9a98e
--- a/test/outputs/run_test.log.in
f9a98e
+++ b/test/outputs/run_test.log.in
f9a98e
@@ -23,29 +23,10 @@ Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permiss
f9a98e
 	at Test.fileRelatedIssues(Test.java:463) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
 	at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
 executable: @CMAKE_BINARY_DIR@/test/Test.class
f9a98e
-Caught exception java.lang.NumberFormatException in method java.lang.Integer.parseInt()
f9a98e
-Exception in thread "main" java.lang.NumberFormatException: null
f9a98e
-	at java.lang.Integer.parseInt(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class]
f9a98e
-	at java.lang.Integer.<init>(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class]
f9a98e
-	at sun.net.InetAddressCachePolicy.<clinit>(InetAddressCachePolicy.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/InetAddressCachePolicy.class]
f9a98e
-	at java.net.InetAddress$Cache.getPolicy(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class]
f9a98e
-	at java.net.InetAddress$Cache.put(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class]
f9a98e
-	at java.net.InetAddress.cacheInitIfNeeded(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
f9a98e
-	at java.net.InetAddress.getCachedAddresses(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
f9a98e
-	at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
f9a98e
-	at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
f9a98e
-	at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
f9a98e
-	at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
f9a98e
-	at java.net.InetSocketAddress.<init>(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class]
f9a98e
-	at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
f9a98e
-	at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
-	at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
-	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
-executable: @CMAKE_BINARY_DIR@/test/Test.class
f9a98e
 Caught exception java.net.UnknownHostException in method java.net.Inet6AddressImpl.lookupAllHostAddr()
f9a98e
-Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known
f9a98e
+Exception in thread "main" java.net.UnknownHostException: xyzzy: unknown error
f9a98e
 	at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.class]
f9a98e
-	at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$1.class]
f9a98e
+	at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$2.class]
f9a98e
 	at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
f9a98e
 	at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
f9a98e
 	at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
f9a98e
@@ -88,17 +69,19 @@ Caught exception java.lang.NumberFormatException in method java.lang.Long.parseL
f9a98e
 Exception in thread "main" java.lang.NumberFormatException: null
f9a98e
 	at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class]
f9a98e
 	at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class]
f9a98e
+	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/www/protocol/http/HttpURLConnection.class]
f9a98e
 	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/www/protocol/http/HttpURLConnection.class]
f9a98e
 	at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class]
f9a98e
-	at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.readFromURL(Test.java:238) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
 	at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
 	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
 executable: @CMAKE_BINARY_DIR@/test/Test.class
f9a98e
-Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream()
f9a98e
+Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream0()
f9a98e
 Exception in thread "main" java.io.FileNotFoundException: http://localhost:54321/_this_does_not_exists_
f9a98e
+	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/www/protocol/http/HttpURLConnection.class]
f9a98e
 	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/www/protocol/http/HttpURLConnection.class]
f9a98e
 	at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class]
f9a98e
-	at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.readFromURL(Test.java:238) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
 	at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
 	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
 executable: @CMAKE_BINARY_DIR@/test/Test.class
f9a98e
diff --git a/test/outputs/run_test.log.in.java-1.7 b/test/outputs/run_test.log.in.java-1.7
f9a98e
new file mode 100644
f9a98e
index 0000000..4d4d3c0
f9a98e
--- /dev/null
f9a98e
+++ b/test/outputs/run_test.log.in.java-1.7
f9a98e
@@ -0,0 +1,167 @@
f9a98e
+Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.open()
f9a98e
+Exception in thread "main" java.io.FileNotFoundException: _wrong_file_ (No such file or directory)
f9a98e
+	at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
f9a98e
+	at java.io.FileInputStream.<init>(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
f9a98e
+	at Test.readWrongFile(Test.java:89) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.fileRelatedIssues(Test.java:461) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+executable: @CMAKE_BINARY_DIR@/test/Test.class
f9a98e
+Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.open()
f9a98e
+Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied)
f9a98e
+	at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
f9a98e
+	at java.io.FileInputStream.<init>(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
f9a98e
+	at Test.readUnreadableFile(Test.java:111) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.fileRelatedIssues(Test.java:462) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+executable: @CMAKE_BINARY_DIR@/test/Test.class
f9a98e
+Caught exception java.io.FileNotFoundException in method java.io.FileOutputStream.open()
f9a98e
+Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied)
f9a98e
+	at java.io.FileOutputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class]
f9a98e
+	at java.io.FileOutputStream.<init>(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class]
f9a98e
+	at java.io.FileOutputStream.<init>(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class]
f9a98e
+	at Test.writeToUnwritableFile(Test.java:134) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.fileRelatedIssues(Test.java:463) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+executable: @CMAKE_BINARY_DIR@/test/Test.class
f9a98e
+Caught exception java.lang.NumberFormatException in method java.lang.Integer.parseInt()
f9a98e
+Exception in thread "main" java.lang.NumberFormatException: null
f9a98e
+	at java.lang.Integer.parseInt(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class]
f9a98e
+	at java.lang.Integer.<init>(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class]
f9a98e
+	at sun.net.InetAddressCachePolicy.<clinit>(InetAddressCachePolicy.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/InetAddressCachePolicy.class]
f9a98e
+	at java.net.InetAddress$Cache.getPolicy(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class]
f9a98e
+	at java.net.InetAddress$Cache.put(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class]
f9a98e
+	at java.net.InetAddress.cacheInitIfNeeded(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
f9a98e
+	at java.net.InetAddress.getCachedAddresses(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
f9a98e
+	at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
f9a98e
+	at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
f9a98e
+	at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
f9a98e
+	at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
f9a98e
+	at java.net.InetSocketAddress.<init>(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class]
f9a98e
+	at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
f9a98e
+	at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+executable: @CMAKE_BINARY_DIR@/test/Test.class
f9a98e
+Caught exception java.net.UnknownHostException in method java.net.Inet6AddressImpl.lookupAllHostAddr()
f9a98e
+Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known
f9a98e
+	at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.class]
f9a98e
+	at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$1.class]
f9a98e
+	at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
f9a98e
+	at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
f9a98e
+	at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
f9a98e
+	at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
f9a98e
+	at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
f9a98e
+	at java.net.InetSocketAddress.<init>(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class]
f9a98e
+	at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
f9a98e
+	at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+executable: @CMAKE_BINARY_DIR@/test/Test.class
f9a98e
+Caught exception java.net.UnknownHostException in method java.net.AbstractPlainSocketImpl.connect()
f9a98e
+Exception in thread "main" java.net.UnknownHostException: xyzzy
f9a98e
+	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class]
f9a98e
+	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class]
f9a98e
+	at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
f9a98e
+	at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
f9a98e
+	at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
f9a98e
+	at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
f9a98e
+	at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+executable: @CMAKE_BINARY_DIR@/test/Test.class
f9a98e
+Caught exception java.net.ConnectException in method java.net.PlainSocketImpl.socketConnect()
f9a98e
+Exception in thread "main" java.net.ConnectException: Connection refused
f9a98e
+	at java.net.PlainSocketImpl.socketConnect(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/PlainSocketImpl.class]
f9a98e
+	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class]
f9a98e
+	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class]
f9a98e
+	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class]
f9a98e
+	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class]
f9a98e
+	at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
f9a98e
+	at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
f9a98e
+	at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
f9a98e
+	at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
f9a98e
+	at Test.readFromSocket(Test.java:177) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.networkRelatedIssues(Test.java:474) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+executable: @CMAKE_BINARY_DIR@/test/Test.class
f9a98e
+Caught exception java.lang.NumberFormatException in method java.lang.Long.parseLong()
f9a98e
+Exception in thread "main" java.lang.NumberFormatException: null
f9a98e
+	at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class]
f9a98e
+	at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class]
f9a98e
+	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/www/protocol/http/HttpURLConnection.class]
f9a98e
+	at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class]
f9a98e
+	at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+executable: @CMAKE_BINARY_DIR@/test/Test.class
f9a98e
+Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream()
f9a98e
+Exception in thread "main" java.io.FileNotFoundException: http://localhost:54321/_this_does_not_exists_
f9a98e
+	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/www/protocol/http/HttpURLConnection.class]
f9a98e
+	at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class]
f9a98e
+	at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+executable: @CMAKE_BINARY_DIR@/test/Test.class
f9a98e
+Caught exception java.net.MalformedURLException in method java.net.URL.<init>()
f9a98e
+Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&malformed URL@#$%^&*()
f9a98e
+	at java.net.URL.<init>(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class]
f9a98e
+	at java.net.URL.<init>(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class]
f9a98e
+	at java.net.URL.<init>(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class]
f9a98e
+	at Test.malformedURL(Test.java:194) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.networkRelatedIssues(Test.java:476) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+executable: @CMAKE_BINARY_DIR@/test/Test.class
f9a98e
+Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException()
f9a98e
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
f9a98e
+	at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+executable: @CMAKE_BINARY_DIR@/test/Test.class
f9a98e
+Caught exception java.lang.StringIndexOutOfBoundsException in method java.lang.String.charAt()
f9a98e
+Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
f9a98e
+	at java.lang.String.charAt(String.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/String.class]
f9a98e
+	at Test.throwStringIndexOutOfBoundsException(Test.java:278) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.catchStringIndexOutOfBoundsException(Test.java:362) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.throwAndCatchAllExceptions(Test.java:487) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+executable: @CMAKE_BINARY_DIR@/test/Test.class
f9a98e
+Caught exception java.lang.NullPointerException in method Test.throwNullPointerException()
f9a98e
+Exception in thread "main" java.lang.NullPointerException
f9a98e
+	at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.catchNullPointerException(Test.java:377) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.throwAndCatchAllExceptions(Test.java:488) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+executable: @CMAKE_BINARY_DIR@/test/Test.class
f9a98e
+Caught exception java.lang.ClassCastException in method Test.throwClassCastException()
f9a98e
+Exception in thread "main" java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
f9a98e
+	at Test.throwClassCastException(Test.java:302) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.catchClassCastException(Test.java:392) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.throwAndCatchAllExceptions(Test.java:489) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+executable: @CMAKE_BINARY_DIR@/test/Test.class
f9a98e
+Caught exception java.lang.UnsatisfiedLinkError in method java.lang.Runtime.load0()
f9a98e
+Exception in thread "main" java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: xyzzy
f9a98e
+	at java.lang.Runtime.load0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class]
f9a98e
+	at java.lang.System.load(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class]
f9a98e
+	at Test.loadLibrary(Test.java:325) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.catchUnsatisfiedLinkErrorUserLibrary(Test.java:422) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.throwAndCatchAllExceptions(Test.java:491) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+executable: @CMAKE_BINARY_DIR@/test/Test.class
f9a98e
+Caught exception java.lang.UnsatisfiedLinkError in method java.lang.ClassLoader.loadLibrary()
f9a98e
+Exception in thread "main" java.lang.UnsatisfiedLinkError: no xyzzy in java.library.path
f9a98e
+	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/ClassLoader.class]
f9a98e
+	at java.lang.Runtime.loadLibrary0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class]
f9a98e
+	at java.lang.System.loadLibrary(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class]
f9a98e
+	at Test.loadSystemLibrary(Test.java:336) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.catchUnsatisfiedLinkErrorSystemLibrary(Test.java:437) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.throwAndCatchAllExceptions(Test.java:492) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+executable: @CMAKE_BINARY_DIR@/test/Test.class
f9a98e
+Uncaught exception java.lang.NullPointerException in method Test.throwNullPointerException()
f9a98e
+Exception in thread "main" java.lang.NullPointerException
f9a98e
+	at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.throwAndDontCatchException(Test.java:501) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+	at Test.main(Test.java:518) [file:@CMAKE_BINARY_DIR@/test/Test.class]
f9a98e
+executable: @CMAKE_BINARY_DIR@/test/Test.class
f9a98e
-- 
f9a98e
1.8.3.1
f9a98e