From 4bfb13858d411db207dae5f921916f0c96d881ff Mon Sep 17 00:00:00 2001 From: Jakub Filak Date: Oct 30 2014 12:22:41 +0000 Subject: Support OpenJDK-1.8 --- diff --git a/.gitignore b/.gitignore index 6052ad5..861938f 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /abrt-java-connector-1.0.8-39322b0.tar.gz /abrt-java-connector-1.0.9-c933894.tar.gz /abrt-java-connector-1.0.10-fdf80c5.tar.gz +/abrt-java-connector-1.1.0-230b726.tar.gz diff --git a/0001-Add-test-results-for-Linux-ppc64le.patch b/0001-Add-test-results-for-Linux-ppc64le.patch deleted file mode 100644 index 601e849..0000000 --- a/0001-Add-test-results-for-Linux-ppc64le.patch +++ /dev/null @@ -1,201 +0,0 @@ -From 079ebced0f614c21b0ed7fc15a4039667394e6fd Mon Sep 17 00:00:00 2001 -From: Jakub Filak -Date: Fri, 9 May 2014 12:34:04 +0200 -Subject: [PATCH] Add test results for Linux-ppc64le - -Related to rhbz#981682 ---- - test/CMakeLists.txt | 2 +- - test/outputs/Linux-ppc64le/run_test.log.in | 167 +++++++++++++++++++++++++++++ - 2 files changed, 168 insertions(+), 1 deletion(-) - create mode 100644 test/outputs/Linux-ppc64le/run_test.log.in - -diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt -index 5717c10..6cc888b 100644 ---- a/test/CMakeLists.txt -+++ b/test/CMakeLists.txt -@@ -259,7 +259,7 @@ _add_test(run_cut_reason_message 2) - if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "^s390x?$") - set(STRESS_TEST_REPEATS 30) - set(STRESS_TEST_THREADS 200) --elseif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^ppc\(64\)?$") -+elseif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^ppc\(64\)?\(le\)?$") - set(STRESS_TEST_REPEATS 20) - set(STRESS_TEST_THREADS 150) - elseif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^armv7l$") -diff --git a/test/outputs/Linux-ppc64le/run_test.log.in b/test/outputs/Linux-ppc64le/run_test.log.in -new file mode 100644 -index 0000000..2a41f50 ---- /dev/null -+++ b/test/outputs/Linux-ppc64le/run_test.log.in -@@ -0,0 +1,167 @@ -+Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.() -+Exception in thread "main" java.io.FileNotFoundException: _wrong_file_ (No such file or directory) -+ at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] -+ at java.io.FileInputStream.(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] -+ at Test.readWrongFile(Test.java:89) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.fileRelatedIssues(Test.java:461) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+executable: @CMAKE_BINARY_DIR@/test/Test.class -+Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.() -+Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied) -+ at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] -+ at java.io.FileInputStream.(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] -+ at Test.readUnreadableFile(Test.java:111) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.fileRelatedIssues(Test.java:462) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+executable: @CMAKE_BINARY_DIR@/test/Test.class -+Caught exception java.io.FileNotFoundException in method java.io.FileOutputStream.() -+Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied) -+ at java.io.FileOutputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] -+ at java.io.FileOutputStream.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] -+ at java.io.FileOutputStream.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] -+ at Test.writeToUnwritableFile(Test.java:134) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.fileRelatedIssues(Test.java:463) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+executable: @CMAKE_BINARY_DIR@/test/Test.class -+Caught exception java.lang.NumberFormatException in method java.lang.Integer.parseInt() -+Exception in thread "main" java.lang.NumberFormatException: null -+ at java.lang.Integer.parseInt(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] -+ at java.lang.Integer.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] -+ at sun.net.InetAddressCachePolicy.(InetAddressCachePolicy.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/InetAddressCachePolicy.class] -+ at java.net.InetAddress$Cache.getPolicy(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] -+ at java.net.InetAddress$Cache.put(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] -+ at java.net.InetAddress.cacheInitIfNeeded(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] -+ at java.net.InetAddress.getCachedAddresses(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] -+ at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] -+ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] -+ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] -+ at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] -+ at java.net.InetSocketAddress.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] -+ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] -+ at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+executable: @CMAKE_BINARY_DIR@/test/Test.class -+Caught exception java.net.UnknownHostException in method java.net.InetAddress$1.lookupAllHostAddr() -+Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known -+ at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.class] -+ at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$1.class] -+ at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] -+ at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] -+ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] -+ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] -+ at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] -+ at java.net.InetSocketAddress.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] -+ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] -+ at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+executable: @CMAKE_BINARY_DIR@/test/Test.class -+Caught exception java.net.UnknownHostException in method java.net.AbstractPlainSocketImpl.connect() -+Exception in thread "main" java.net.UnknownHostException: xyzzy -+ at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] -+ at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class] -+ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] -+ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] -+ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] -+ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] -+ at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+executable: @CMAKE_BINARY_DIR@/test/Test.class -+Caught exception java.net.ConnectException in method java.net.AbstractPlainSocketImpl.doConnect() -+Exception in thread "main" java.net.ConnectException: Connection refused -+ at java.net.PlainSocketImpl.socketConnect(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/PlainSocketImpl.class] -+ at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] -+ at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] -+ at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] -+ at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class] -+ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] -+ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] -+ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] -+ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] -+ at Test.readFromSocket(Test.java:177) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.networkRelatedIssues(Test.java:474) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+executable: @CMAKE_BINARY_DIR@/test/Test.class -+Caught exception java.lang.NumberFormatException in method java.lang.Long.parseLong() -+Exception in thread "main" java.lang.NumberFormatException: null -+ at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] -+ at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] -+ 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] -+ at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] -+ at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+executable: @CMAKE_BINARY_DIR@/test/Test.class -+Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream() -+Exception in thread "main" java.io.FileNotFoundException: http://localhost:54321/_this_does_not_exists_ -+ 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] -+ at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] -+ at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+executable: @CMAKE_BINARY_DIR@/test/Test.class -+Caught exception java.net.MalformedURLException in method java.net.URL.() -+Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&malformed URL@#$%^&*() -+ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] -+ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] -+ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] -+ at Test.malformedURL(Test.java:194) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.networkRelatedIssues(Test.java:476) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+executable: @CMAKE_BINARY_DIR@/test/Test.class -+Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException() -+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42 -+ at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+executable: @CMAKE_BINARY_DIR@/test/Test.class -+Caught exception java.lang.StringIndexOutOfBoundsException in method java.lang.String.charAt() -+Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1 -+ at java.lang.String.charAt(String.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/String.class] -+ at Test.throwStringIndexOutOfBoundsException(Test.java:278) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.catchStringIndexOutOfBoundsException(Test.java:362) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.throwAndCatchAllExceptions(Test.java:487) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+executable: @CMAKE_BINARY_DIR@/test/Test.class -+Caught exception java.lang.NullPointerException in method Test.throwNullPointerException() -+Exception in thread "main" java.lang.NullPointerException -+ at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.catchNullPointerException(Test.java:377) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.throwAndCatchAllExceptions(Test.java:488) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+executable: @CMAKE_BINARY_DIR@/test/Test.class -+Caught exception java.lang.ClassCastException in method Test.throwClassCastException() -+Exception in thread "main" java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String -+ at Test.throwClassCastException(Test.java:302) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.catchClassCastException(Test.java:392) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.throwAndCatchAllExceptions(Test.java:489) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+executable: @CMAKE_BINARY_DIR@/test/Test.class -+Caught exception java.lang.UnsatisfiedLinkError in method java.lang.Runtime.load0() -+Exception in thread "main" java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: xyzzy -+ at java.lang.Runtime.load0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class] -+ at java.lang.System.load(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class] -+ at Test.loadLibrary(Test.java:325) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.catchUnsatisfiedLinkErrorUserLibrary(Test.java:422) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.throwAndCatchAllExceptions(Test.java:491) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+executable: @CMAKE_BINARY_DIR@/test/Test.class -+Caught exception java.lang.UnsatisfiedLinkError in method java.lang.ClassLoader.loadLibrary() -+Exception in thread "main" java.lang.UnsatisfiedLinkError: no xyzzy in java.library.path -+ at java.lang.ClassLoader.loadLibrary(ClassLoader.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/ClassLoader.class] -+ at java.lang.Runtime.loadLibrary0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class] -+ at java.lang.System.loadLibrary(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class] -+ at Test.loadSystemLibrary(Test.java:336) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.catchUnsatisfiedLinkErrorSystemLibrary(Test.java:437) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.throwAndCatchAllExceptions(Test.java:492) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+executable: @CMAKE_BINARY_DIR@/test/Test.class -+Uncaught exception java.lang.NullPointerException in method Test.throwNullPointerException() -+Exception in thread "main" java.lang.NullPointerException -+ at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.throwAndDontCatchException(Test.java:501) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+ at Test.main(Test.java:518) [file:@CMAKE_BINARY_DIR@/test/Test.class] -+executable: @CMAKE_BINARY_DIR@/test/Test.class --- -1.8.3.1 - diff --git a/0001-Decrease-the-tested-memory-limits-because-of-failure.patch b/0001-Decrease-the-tested-memory-limits-because-of-failure.patch new file mode 100644 index 0000000..863b74c --- /dev/null +++ b/0001-Decrease-the-tested-memory-limits-because-of-failure.patch @@ -0,0 +1,29 @@ +From f6d7c30415898c73a3b1c207d2acb496f53f67ee Mon Sep 17 00:00:00 2001 +From: Jakub Filak +Date: Thu, 30 Oct 2014 09:36:49 +0100 +Subject: [PATCH 1/3] Decrease the tested memory limits because of failures on + arm + +Related to #42 +--- + test/Test.java | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/test/Test.java b/test/Test.java +index cd4acf4..cbbc113 100644 +--- a/test/Test.java ++++ b/test/Test.java +@@ -71,8 +71,8 @@ public class Test { + { int[] intArray1D = new int[DIM_SIZE * DIM_SIZE]; } + /* allocated size = 4096*4096*4 bytes */ + { int[][] intArray2D = new int[DIM_SIZE][DIM_SIZE]; } +- { double[] doubleArray1D = new double[DIM_SIZE * DIM_SIZE]; } +- { double[][] doubleArray2D = new double[DIM_SIZE][DIM_SIZE]; } ++ { double[] doubleArray1D = new double[DIM_SIZE * (DIM_SIZE/2)]; } ++ { double[][] doubleArray2D = new double[DIM_SIZE][DIM_SIZE/2]; } + + // string could be allocated using some base array + { String s = new String(new byte[DIM_SIZE * DIM_SIZE]); } +-- +2.1.0 + diff --git a/0002-Adapt-the-arm-test-outputs-to-java-1.8.patch b/0002-Adapt-the-arm-test-outputs-to-java-1.8.patch new file mode 100644 index 0000000..bb8c3d6 --- /dev/null +++ b/0002-Adapt-the-arm-test-outputs-to-java-1.8.patch @@ -0,0 +1,248 @@ +From 0495592c727a624d12e7840ec62d4d60370ed5d3 Mon Sep 17 00:00:00 2001 +From: Jakub Filak +Date: Thu, 30 Oct 2014 11:41:08 +0100 +Subject: [PATCH 2/3] Adapt the arm test outputs to java-1.8 + +Related to #42 +--- + test/outputs/Linux-armv7l/run_test.log.in | 33 +--- + test/outputs/Linux-armv7l/run_test.log.in.java-1.7 | 167 +++++++++++++++++++++ + 2 files changed, 175 insertions(+), 25 deletions(-) + create mode 100644 test/outputs/Linux-armv7l/run_test.log.in.java-1.7 + +diff --git a/test/outputs/Linux-armv7l/run_test.log.in b/test/outputs/Linux-armv7l/run_test.log.in +index 2a41f50..3d83a66 100644 +--- a/test/outputs/Linux-armv7l/run_test.log.in ++++ b/test/outputs/Linux-armv7l/run_test.log.in +@@ -23,29 +23,10 @@ Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permiss + at Test.fileRelatedIssues(Test.java:463) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] + executable: @CMAKE_BINARY_DIR@/test/Test.class +-Caught exception java.lang.NumberFormatException in method java.lang.Integer.parseInt() +-Exception in thread "main" java.lang.NumberFormatException: null +- at java.lang.Integer.parseInt(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] +- at java.lang.Integer.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] +- at sun.net.InetAddressCachePolicy.(InetAddressCachePolicy.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/InetAddressCachePolicy.class] +- at java.net.InetAddress$Cache.getPolicy(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] +- at java.net.InetAddress$Cache.put(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] +- at java.net.InetAddress.cacheInitIfNeeded(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getCachedAddresses(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetSocketAddress.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] +- at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] +- at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] +- at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] +- at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] +-executable: @CMAKE_BINARY_DIR@/test/Test.class +-Caught exception java.net.UnknownHostException in method java.net.InetAddress$1.lookupAllHostAddr() +-Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known ++Caught exception java.net.UnknownHostException in method java.net.InetAddress$2.lookupAllHostAddr() ++Exception in thread "main" java.net.UnknownHostException: xyzzy: unknown error + at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.class] +- at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$1.class] ++ at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$2.class] + at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] + at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] + at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +@@ -88,17 +69,19 @@ Caught exception java.lang.NumberFormatException in method java.lang.Long.parseL + Exception in thread "main" java.lang.NumberFormatException: null + at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] + at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] ++ 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] + 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] + at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] +- at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.readFromURL(Test.java:238) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] + executable: @CMAKE_BINARY_DIR@/test/Test.class +-Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream() ++Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream0() + Exception in thread "main" java.io.FileNotFoundException: http://localhost:54321/_this_does_not_exists_ ++ 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] + 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] + at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] +- at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.readFromURL(Test.java:238) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] + executable: @CMAKE_BINARY_DIR@/test/Test.class +diff --git a/test/outputs/Linux-armv7l/run_test.log.in.java-1.7 b/test/outputs/Linux-armv7l/run_test.log.in.java-1.7 +new file mode 100644 +index 0000000..2a41f50 +--- /dev/null ++++ b/test/outputs/Linux-armv7l/run_test.log.in.java-1.7 +@@ -0,0 +1,167 @@ ++Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.() ++Exception in thread "main" java.io.FileNotFoundException: _wrong_file_ (No such file or directory) ++ at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at java.io.FileInputStream.(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at Test.readWrongFile(Test.java:89) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.fileRelatedIssues(Test.java:461) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.() ++Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied) ++ at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at java.io.FileInputStream.(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at Test.readUnreadableFile(Test.java:111) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.fileRelatedIssues(Test.java:462) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.io.FileNotFoundException in method java.io.FileOutputStream.() ++Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied) ++ at java.io.FileOutputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at java.io.FileOutputStream.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at java.io.FileOutputStream.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at Test.writeToUnwritableFile(Test.java:134) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.fileRelatedIssues(Test.java:463) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.NumberFormatException in method java.lang.Integer.parseInt() ++Exception in thread "main" java.lang.NumberFormatException: null ++ at java.lang.Integer.parseInt(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] ++ at java.lang.Integer.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] ++ at sun.net.InetAddressCachePolicy.(InetAddressCachePolicy.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/InetAddressCachePolicy.class] ++ at java.net.InetAddress$Cache.getPolicy(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] ++ at java.net.InetAddress$Cache.put(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] ++ at java.net.InetAddress.cacheInitIfNeeded(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getCachedAddresses(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetSocketAddress.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.UnknownHostException in method java.net.InetAddress$1.lookupAllHostAddr() ++Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known ++ at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.class] ++ at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$1.class] ++ at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetSocketAddress.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.UnknownHostException in method java.net.AbstractPlainSocketImpl.connect() ++Exception in thread "main" java.net.UnknownHostException: xyzzy ++ at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.ConnectException in method java.net.AbstractPlainSocketImpl.doConnect() ++Exception in thread "main" java.net.ConnectException: Connection refused ++ at java.net.PlainSocketImpl.socketConnect(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/PlainSocketImpl.class] ++ at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromSocket(Test.java:177) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:474) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.NumberFormatException in method java.lang.Long.parseLong() ++Exception in thread "main" java.lang.NumberFormatException: null ++ at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] ++ at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] ++ 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] ++ at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream() ++Exception in thread "main" java.io.FileNotFoundException: http://localhost:54321/_this_does_not_exists_ ++ 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] ++ at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.MalformedURLException in method java.net.URL.() ++Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&malformed URL@#$%^&*() ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at Test.malformedURL(Test.java:194) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:476) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException() ++Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42 ++ at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.StringIndexOutOfBoundsException in method java.lang.String.charAt() ++Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1 ++ at java.lang.String.charAt(String.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/String.class] ++ at Test.throwStringIndexOutOfBoundsException(Test.java:278) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchStringIndexOutOfBoundsException(Test.java:362) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:487) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.NullPointerException in method Test.throwNullPointerException() ++Exception in thread "main" java.lang.NullPointerException ++ at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchNullPointerException(Test.java:377) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:488) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.ClassCastException in method Test.throwClassCastException() ++Exception in thread "main" java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String ++ at Test.throwClassCastException(Test.java:302) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchClassCastException(Test.java:392) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:489) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.UnsatisfiedLinkError in method java.lang.Runtime.load0() ++Exception in thread "main" java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: xyzzy ++ at java.lang.Runtime.load0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class] ++ at java.lang.System.load(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class] ++ at Test.loadLibrary(Test.java:325) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchUnsatisfiedLinkErrorUserLibrary(Test.java:422) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:491) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.UnsatisfiedLinkError in method java.lang.ClassLoader.loadLibrary() ++Exception in thread "main" java.lang.UnsatisfiedLinkError: no xyzzy in java.library.path ++ at java.lang.ClassLoader.loadLibrary(ClassLoader.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/ClassLoader.class] ++ at java.lang.Runtime.loadLibrary0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class] ++ at java.lang.System.loadLibrary(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class] ++ at Test.loadSystemLibrary(Test.java:336) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchUnsatisfiedLinkErrorSystemLibrary(Test.java:437) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:492) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Uncaught exception java.lang.NullPointerException in method Test.throwNullPointerException() ++Exception in thread "main" java.lang.NullPointerException ++ at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndDontCatchException(Test.java:501) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:518) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class +-- +2.1.0 + diff --git a/0003-Add-java-1.8-test-outputs-for-aarch-ppc-and-s390.patch b/0003-Add-java-1.8-test-outputs-for-aarch-ppc-and-s390.patch new file mode 100644 index 0000000..b0839d9 --- /dev/null +++ b/0003-Add-java-1.8-test-outputs-for-aarch-ppc-and-s390.patch @@ -0,0 +1,1428 @@ +From ec252755392cd5dcd0eaf63e5d0b46c246c24199 Mon Sep 17 00:00:00 2001 +From: Jakub Filak +Date: Thu, 30 Oct 2014 11:58:34 +0100 +Subject: [PATCH 3/3] Add java-1.8 test outputs for aarch, ppc and s390 + +Related to #42 +--- + test/outputs/Linux-aarch64/run_test.log.in | 33 +--- + .../outputs/Linux-aarch64/run_test.log.in.java-1.7 | 167 +++++++++++++++++++++ + test/outputs/Linux-ppc/run_test.log.in | 33 +--- + test/outputs/Linux-ppc/run_test.log.in.java-1.7 | 167 +++++++++++++++++++++ + test/outputs/Linux-ppc64/run_test.log.in | 33 +--- + test/outputs/Linux-ppc64/run_test.log.in.java-1.7 | 167 +++++++++++++++++++++ + test/outputs/Linux-ppc64le/run_test.log.in | 33 +--- + .../outputs/Linux-ppc64le/run_test.log.in.java-1.7 | 167 +++++++++++++++++++++ + test/outputs/Linux-s390/run_test.log.in | 33 +--- + test/outputs/Linux-s390/run_test.log.in.java-1.7 | 167 +++++++++++++++++++++ + test/outputs/Linux-s390x/run_test.log.in | 33 +--- + test/outputs/Linux-s390x/run_test.log.in.java-1.7 | 167 +++++++++++++++++++++ + 12 files changed, 1050 insertions(+), 150 deletions(-) + create mode 100644 test/outputs/Linux-aarch64/run_test.log.in.java-1.7 + create mode 100644 test/outputs/Linux-ppc/run_test.log.in.java-1.7 + create mode 100644 test/outputs/Linux-ppc64/run_test.log.in.java-1.7 + create mode 100644 test/outputs/Linux-ppc64le/run_test.log.in.java-1.7 + create mode 100644 test/outputs/Linux-s390/run_test.log.in.java-1.7 + create mode 100644 test/outputs/Linux-s390x/run_test.log.in.java-1.7 + +diff --git a/test/outputs/Linux-aarch64/run_test.log.in b/test/outputs/Linux-aarch64/run_test.log.in +index 2a41f50..3d83a66 100644 +--- a/test/outputs/Linux-aarch64/run_test.log.in ++++ b/test/outputs/Linux-aarch64/run_test.log.in +@@ -23,29 +23,10 @@ Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permiss + at Test.fileRelatedIssues(Test.java:463) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] + executable: @CMAKE_BINARY_DIR@/test/Test.class +-Caught exception java.lang.NumberFormatException in method java.lang.Integer.parseInt() +-Exception in thread "main" java.lang.NumberFormatException: null +- at java.lang.Integer.parseInt(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] +- at java.lang.Integer.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] +- at sun.net.InetAddressCachePolicy.(InetAddressCachePolicy.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/InetAddressCachePolicy.class] +- at java.net.InetAddress$Cache.getPolicy(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] +- at java.net.InetAddress$Cache.put(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] +- at java.net.InetAddress.cacheInitIfNeeded(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getCachedAddresses(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetSocketAddress.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] +- at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] +- at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] +- at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] +- at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] +-executable: @CMAKE_BINARY_DIR@/test/Test.class +-Caught exception java.net.UnknownHostException in method java.net.InetAddress$1.lookupAllHostAddr() +-Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known ++Caught exception java.net.UnknownHostException in method java.net.InetAddress$2.lookupAllHostAddr() ++Exception in thread "main" java.net.UnknownHostException: xyzzy: unknown error + at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.class] +- at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$1.class] ++ at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$2.class] + at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] + at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] + at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +@@ -88,17 +69,19 @@ Caught exception java.lang.NumberFormatException in method java.lang.Long.parseL + Exception in thread "main" java.lang.NumberFormatException: null + at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] + at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] ++ 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] + 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] + at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] +- at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.readFromURL(Test.java:238) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] + executable: @CMAKE_BINARY_DIR@/test/Test.class +-Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream() ++Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream0() + Exception in thread "main" java.io.FileNotFoundException: http://localhost:54321/_this_does_not_exists_ ++ 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] + 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] + at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] +- at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.readFromURL(Test.java:238) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] + executable: @CMAKE_BINARY_DIR@/test/Test.class +diff --git a/test/outputs/Linux-aarch64/run_test.log.in.java-1.7 b/test/outputs/Linux-aarch64/run_test.log.in.java-1.7 +new file mode 100644 +index 0000000..2a41f50 +--- /dev/null ++++ b/test/outputs/Linux-aarch64/run_test.log.in.java-1.7 +@@ -0,0 +1,167 @@ ++Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.() ++Exception in thread "main" java.io.FileNotFoundException: _wrong_file_ (No such file or directory) ++ at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at java.io.FileInputStream.(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at Test.readWrongFile(Test.java:89) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.fileRelatedIssues(Test.java:461) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.() ++Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied) ++ at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at java.io.FileInputStream.(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at Test.readUnreadableFile(Test.java:111) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.fileRelatedIssues(Test.java:462) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.io.FileNotFoundException in method java.io.FileOutputStream.() ++Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied) ++ at java.io.FileOutputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at java.io.FileOutputStream.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at java.io.FileOutputStream.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at Test.writeToUnwritableFile(Test.java:134) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.fileRelatedIssues(Test.java:463) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.NumberFormatException in method java.lang.Integer.parseInt() ++Exception in thread "main" java.lang.NumberFormatException: null ++ at java.lang.Integer.parseInt(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] ++ at java.lang.Integer.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] ++ at sun.net.InetAddressCachePolicy.(InetAddressCachePolicy.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/InetAddressCachePolicy.class] ++ at java.net.InetAddress$Cache.getPolicy(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] ++ at java.net.InetAddress$Cache.put(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] ++ at java.net.InetAddress.cacheInitIfNeeded(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getCachedAddresses(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetSocketAddress.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.UnknownHostException in method java.net.InetAddress$1.lookupAllHostAddr() ++Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known ++ at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.class] ++ at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$1.class] ++ at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetSocketAddress.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.UnknownHostException in method java.net.AbstractPlainSocketImpl.connect() ++Exception in thread "main" java.net.UnknownHostException: xyzzy ++ at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.ConnectException in method java.net.AbstractPlainSocketImpl.doConnect() ++Exception in thread "main" java.net.ConnectException: Connection refused ++ at java.net.PlainSocketImpl.socketConnect(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/PlainSocketImpl.class] ++ at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromSocket(Test.java:177) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:474) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.NumberFormatException in method java.lang.Long.parseLong() ++Exception in thread "main" java.lang.NumberFormatException: null ++ at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] ++ at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] ++ 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] ++ at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream() ++Exception in thread "main" java.io.FileNotFoundException: http://localhost:54321/_this_does_not_exists_ ++ 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] ++ at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.MalformedURLException in method java.net.URL.() ++Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&malformed URL@#$%^&*() ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at Test.malformedURL(Test.java:194) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:476) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException() ++Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42 ++ at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.StringIndexOutOfBoundsException in method java.lang.String.charAt() ++Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1 ++ at java.lang.String.charAt(String.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/String.class] ++ at Test.throwStringIndexOutOfBoundsException(Test.java:278) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchStringIndexOutOfBoundsException(Test.java:362) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:487) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.NullPointerException in method Test.throwNullPointerException() ++Exception in thread "main" java.lang.NullPointerException ++ at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchNullPointerException(Test.java:377) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:488) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.ClassCastException in method Test.throwClassCastException() ++Exception in thread "main" java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String ++ at Test.throwClassCastException(Test.java:302) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchClassCastException(Test.java:392) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:489) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.UnsatisfiedLinkError in method java.lang.Runtime.load0() ++Exception in thread "main" java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: xyzzy ++ at java.lang.Runtime.load0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class] ++ at java.lang.System.load(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class] ++ at Test.loadLibrary(Test.java:325) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchUnsatisfiedLinkErrorUserLibrary(Test.java:422) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:491) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.UnsatisfiedLinkError in method java.lang.ClassLoader.loadLibrary() ++Exception in thread "main" java.lang.UnsatisfiedLinkError: no xyzzy in java.library.path ++ at java.lang.ClassLoader.loadLibrary(ClassLoader.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/ClassLoader.class] ++ at java.lang.Runtime.loadLibrary0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class] ++ at java.lang.System.loadLibrary(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class] ++ at Test.loadSystemLibrary(Test.java:336) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchUnsatisfiedLinkErrorSystemLibrary(Test.java:437) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:492) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Uncaught exception java.lang.NullPointerException in method Test.throwNullPointerException() ++Exception in thread "main" java.lang.NullPointerException ++ at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndDontCatchException(Test.java:501) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:518) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class +diff --git a/test/outputs/Linux-ppc/run_test.log.in b/test/outputs/Linux-ppc/run_test.log.in +index 2a41f50..3d83a66 100644 +--- a/test/outputs/Linux-ppc/run_test.log.in ++++ b/test/outputs/Linux-ppc/run_test.log.in +@@ -23,29 +23,10 @@ Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permiss + at Test.fileRelatedIssues(Test.java:463) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] + executable: @CMAKE_BINARY_DIR@/test/Test.class +-Caught exception java.lang.NumberFormatException in method java.lang.Integer.parseInt() +-Exception in thread "main" java.lang.NumberFormatException: null +- at java.lang.Integer.parseInt(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] +- at java.lang.Integer.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] +- at sun.net.InetAddressCachePolicy.(InetAddressCachePolicy.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/InetAddressCachePolicy.class] +- at java.net.InetAddress$Cache.getPolicy(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] +- at java.net.InetAddress$Cache.put(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] +- at java.net.InetAddress.cacheInitIfNeeded(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getCachedAddresses(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetSocketAddress.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] +- at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] +- at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] +- at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] +- at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] +-executable: @CMAKE_BINARY_DIR@/test/Test.class +-Caught exception java.net.UnknownHostException in method java.net.InetAddress$1.lookupAllHostAddr() +-Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known ++Caught exception java.net.UnknownHostException in method java.net.InetAddress$2.lookupAllHostAddr() ++Exception in thread "main" java.net.UnknownHostException: xyzzy: unknown error + at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.class] +- at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$1.class] ++ at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$2.class] + at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] + at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] + at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +@@ -88,17 +69,19 @@ Caught exception java.lang.NumberFormatException in method java.lang.Long.parseL + Exception in thread "main" java.lang.NumberFormatException: null + at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] + at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] ++ 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] + 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] + at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] +- at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.readFromURL(Test.java:238) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] + executable: @CMAKE_BINARY_DIR@/test/Test.class +-Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream() ++Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream0() + Exception in thread "main" java.io.FileNotFoundException: http://localhost:54321/_this_does_not_exists_ ++ 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] + 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] + at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] +- at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.readFromURL(Test.java:238) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] + executable: @CMAKE_BINARY_DIR@/test/Test.class +diff --git a/test/outputs/Linux-ppc/run_test.log.in.java-1.7 b/test/outputs/Linux-ppc/run_test.log.in.java-1.7 +new file mode 100644 +index 0000000..2a41f50 +--- /dev/null ++++ b/test/outputs/Linux-ppc/run_test.log.in.java-1.7 +@@ -0,0 +1,167 @@ ++Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.() ++Exception in thread "main" java.io.FileNotFoundException: _wrong_file_ (No such file or directory) ++ at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at java.io.FileInputStream.(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at Test.readWrongFile(Test.java:89) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.fileRelatedIssues(Test.java:461) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.() ++Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied) ++ at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at java.io.FileInputStream.(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at Test.readUnreadableFile(Test.java:111) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.fileRelatedIssues(Test.java:462) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.io.FileNotFoundException in method java.io.FileOutputStream.() ++Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied) ++ at java.io.FileOutputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at java.io.FileOutputStream.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at java.io.FileOutputStream.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at Test.writeToUnwritableFile(Test.java:134) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.fileRelatedIssues(Test.java:463) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.NumberFormatException in method java.lang.Integer.parseInt() ++Exception in thread "main" java.lang.NumberFormatException: null ++ at java.lang.Integer.parseInt(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] ++ at java.lang.Integer.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] ++ at sun.net.InetAddressCachePolicy.(InetAddressCachePolicy.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/InetAddressCachePolicy.class] ++ at java.net.InetAddress$Cache.getPolicy(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] ++ at java.net.InetAddress$Cache.put(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] ++ at java.net.InetAddress.cacheInitIfNeeded(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getCachedAddresses(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetSocketAddress.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.UnknownHostException in method java.net.InetAddress$1.lookupAllHostAddr() ++Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known ++ at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.class] ++ at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$1.class] ++ at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetSocketAddress.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.UnknownHostException in method java.net.AbstractPlainSocketImpl.connect() ++Exception in thread "main" java.net.UnknownHostException: xyzzy ++ at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.ConnectException in method java.net.AbstractPlainSocketImpl.doConnect() ++Exception in thread "main" java.net.ConnectException: Connection refused ++ at java.net.PlainSocketImpl.socketConnect(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/PlainSocketImpl.class] ++ at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromSocket(Test.java:177) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:474) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.NumberFormatException in method java.lang.Long.parseLong() ++Exception in thread "main" java.lang.NumberFormatException: null ++ at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] ++ at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] ++ 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] ++ at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream() ++Exception in thread "main" java.io.FileNotFoundException: http://localhost:54321/_this_does_not_exists_ ++ 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] ++ at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.MalformedURLException in method java.net.URL.() ++Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&malformed URL@#$%^&*() ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at Test.malformedURL(Test.java:194) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:476) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException() ++Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42 ++ at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.StringIndexOutOfBoundsException in method java.lang.String.charAt() ++Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1 ++ at java.lang.String.charAt(String.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/String.class] ++ at Test.throwStringIndexOutOfBoundsException(Test.java:278) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchStringIndexOutOfBoundsException(Test.java:362) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:487) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.NullPointerException in method Test.throwNullPointerException() ++Exception in thread "main" java.lang.NullPointerException ++ at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchNullPointerException(Test.java:377) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:488) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.ClassCastException in method Test.throwClassCastException() ++Exception in thread "main" java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String ++ at Test.throwClassCastException(Test.java:302) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchClassCastException(Test.java:392) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:489) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.UnsatisfiedLinkError in method java.lang.Runtime.load0() ++Exception in thread "main" java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: xyzzy ++ at java.lang.Runtime.load0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class] ++ at java.lang.System.load(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class] ++ at Test.loadLibrary(Test.java:325) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchUnsatisfiedLinkErrorUserLibrary(Test.java:422) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:491) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.UnsatisfiedLinkError in method java.lang.ClassLoader.loadLibrary() ++Exception in thread "main" java.lang.UnsatisfiedLinkError: no xyzzy in java.library.path ++ at java.lang.ClassLoader.loadLibrary(ClassLoader.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/ClassLoader.class] ++ at java.lang.Runtime.loadLibrary0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class] ++ at java.lang.System.loadLibrary(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class] ++ at Test.loadSystemLibrary(Test.java:336) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchUnsatisfiedLinkErrorSystemLibrary(Test.java:437) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:492) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Uncaught exception java.lang.NullPointerException in method Test.throwNullPointerException() ++Exception in thread "main" java.lang.NullPointerException ++ at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndDontCatchException(Test.java:501) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:518) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class +diff --git a/test/outputs/Linux-ppc64/run_test.log.in b/test/outputs/Linux-ppc64/run_test.log.in +index 2a41f50..3d83a66 100644 +--- a/test/outputs/Linux-ppc64/run_test.log.in ++++ b/test/outputs/Linux-ppc64/run_test.log.in +@@ -23,29 +23,10 @@ Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permiss + at Test.fileRelatedIssues(Test.java:463) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] + executable: @CMAKE_BINARY_DIR@/test/Test.class +-Caught exception java.lang.NumberFormatException in method java.lang.Integer.parseInt() +-Exception in thread "main" java.lang.NumberFormatException: null +- at java.lang.Integer.parseInt(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] +- at java.lang.Integer.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] +- at sun.net.InetAddressCachePolicy.(InetAddressCachePolicy.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/InetAddressCachePolicy.class] +- at java.net.InetAddress$Cache.getPolicy(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] +- at java.net.InetAddress$Cache.put(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] +- at java.net.InetAddress.cacheInitIfNeeded(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getCachedAddresses(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetSocketAddress.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] +- at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] +- at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] +- at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] +- at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] +-executable: @CMAKE_BINARY_DIR@/test/Test.class +-Caught exception java.net.UnknownHostException in method java.net.InetAddress$1.lookupAllHostAddr() +-Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known ++Caught exception java.net.UnknownHostException in method java.net.InetAddress$2.lookupAllHostAddr() ++Exception in thread "main" java.net.UnknownHostException: xyzzy: unknown error + at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.class] +- at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$1.class] ++ at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$2.class] + at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] + at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] + at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +@@ -88,17 +69,19 @@ Caught exception java.lang.NumberFormatException in method java.lang.Long.parseL + Exception in thread "main" java.lang.NumberFormatException: null + at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] + at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] ++ 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] + 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] + at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] +- at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.readFromURL(Test.java:238) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] + executable: @CMAKE_BINARY_DIR@/test/Test.class +-Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream() ++Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream0() + Exception in thread "main" java.io.FileNotFoundException: http://localhost:54321/_this_does_not_exists_ ++ 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] + 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] + at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] +- at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.readFromURL(Test.java:238) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] + executable: @CMAKE_BINARY_DIR@/test/Test.class +diff --git a/test/outputs/Linux-ppc64/run_test.log.in.java-1.7 b/test/outputs/Linux-ppc64/run_test.log.in.java-1.7 +new file mode 100644 +index 0000000..2a41f50 +--- /dev/null ++++ b/test/outputs/Linux-ppc64/run_test.log.in.java-1.7 +@@ -0,0 +1,167 @@ ++Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.() ++Exception in thread "main" java.io.FileNotFoundException: _wrong_file_ (No such file or directory) ++ at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at java.io.FileInputStream.(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at Test.readWrongFile(Test.java:89) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.fileRelatedIssues(Test.java:461) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.() ++Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied) ++ at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at java.io.FileInputStream.(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at Test.readUnreadableFile(Test.java:111) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.fileRelatedIssues(Test.java:462) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.io.FileNotFoundException in method java.io.FileOutputStream.() ++Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied) ++ at java.io.FileOutputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at java.io.FileOutputStream.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at java.io.FileOutputStream.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at Test.writeToUnwritableFile(Test.java:134) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.fileRelatedIssues(Test.java:463) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.NumberFormatException in method java.lang.Integer.parseInt() ++Exception in thread "main" java.lang.NumberFormatException: null ++ at java.lang.Integer.parseInt(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] ++ at java.lang.Integer.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] ++ at sun.net.InetAddressCachePolicy.(InetAddressCachePolicy.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/InetAddressCachePolicy.class] ++ at java.net.InetAddress$Cache.getPolicy(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] ++ at java.net.InetAddress$Cache.put(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] ++ at java.net.InetAddress.cacheInitIfNeeded(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getCachedAddresses(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetSocketAddress.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.UnknownHostException in method java.net.InetAddress$1.lookupAllHostAddr() ++Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known ++ at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.class] ++ at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$1.class] ++ at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetSocketAddress.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.UnknownHostException in method java.net.AbstractPlainSocketImpl.connect() ++Exception in thread "main" java.net.UnknownHostException: xyzzy ++ at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.ConnectException in method java.net.AbstractPlainSocketImpl.doConnect() ++Exception in thread "main" java.net.ConnectException: Connection refused ++ at java.net.PlainSocketImpl.socketConnect(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/PlainSocketImpl.class] ++ at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromSocket(Test.java:177) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:474) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.NumberFormatException in method java.lang.Long.parseLong() ++Exception in thread "main" java.lang.NumberFormatException: null ++ at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] ++ at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] ++ 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] ++ at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream() ++Exception in thread "main" java.io.FileNotFoundException: http://localhost:54321/_this_does_not_exists_ ++ 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] ++ at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.MalformedURLException in method java.net.URL.() ++Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&malformed URL@#$%^&*() ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at Test.malformedURL(Test.java:194) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:476) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException() ++Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42 ++ at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.StringIndexOutOfBoundsException in method java.lang.String.charAt() ++Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1 ++ at java.lang.String.charAt(String.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/String.class] ++ at Test.throwStringIndexOutOfBoundsException(Test.java:278) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchStringIndexOutOfBoundsException(Test.java:362) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:487) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.NullPointerException in method Test.throwNullPointerException() ++Exception in thread "main" java.lang.NullPointerException ++ at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchNullPointerException(Test.java:377) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:488) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.ClassCastException in method Test.throwClassCastException() ++Exception in thread "main" java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String ++ at Test.throwClassCastException(Test.java:302) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchClassCastException(Test.java:392) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:489) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.UnsatisfiedLinkError in method java.lang.Runtime.load0() ++Exception in thread "main" java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: xyzzy ++ at java.lang.Runtime.load0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class] ++ at java.lang.System.load(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class] ++ at Test.loadLibrary(Test.java:325) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchUnsatisfiedLinkErrorUserLibrary(Test.java:422) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:491) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.UnsatisfiedLinkError in method java.lang.ClassLoader.loadLibrary() ++Exception in thread "main" java.lang.UnsatisfiedLinkError: no xyzzy in java.library.path ++ at java.lang.ClassLoader.loadLibrary(ClassLoader.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/ClassLoader.class] ++ at java.lang.Runtime.loadLibrary0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class] ++ at java.lang.System.loadLibrary(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class] ++ at Test.loadSystemLibrary(Test.java:336) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchUnsatisfiedLinkErrorSystemLibrary(Test.java:437) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:492) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Uncaught exception java.lang.NullPointerException in method Test.throwNullPointerException() ++Exception in thread "main" java.lang.NullPointerException ++ at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndDontCatchException(Test.java:501) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:518) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class +diff --git a/test/outputs/Linux-ppc64le/run_test.log.in b/test/outputs/Linux-ppc64le/run_test.log.in +index 2a41f50..3d83a66 100644 +--- a/test/outputs/Linux-ppc64le/run_test.log.in ++++ b/test/outputs/Linux-ppc64le/run_test.log.in +@@ -23,29 +23,10 @@ Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permiss + at Test.fileRelatedIssues(Test.java:463) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] + executable: @CMAKE_BINARY_DIR@/test/Test.class +-Caught exception java.lang.NumberFormatException in method java.lang.Integer.parseInt() +-Exception in thread "main" java.lang.NumberFormatException: null +- at java.lang.Integer.parseInt(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] +- at java.lang.Integer.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] +- at sun.net.InetAddressCachePolicy.(InetAddressCachePolicy.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/InetAddressCachePolicy.class] +- at java.net.InetAddress$Cache.getPolicy(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] +- at java.net.InetAddress$Cache.put(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] +- at java.net.InetAddress.cacheInitIfNeeded(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getCachedAddresses(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetSocketAddress.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] +- at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] +- at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] +- at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] +- at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] +-executable: @CMAKE_BINARY_DIR@/test/Test.class +-Caught exception java.net.UnknownHostException in method java.net.InetAddress$1.lookupAllHostAddr() +-Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known ++Caught exception java.net.UnknownHostException in method java.net.InetAddress$2.lookupAllHostAddr() ++Exception in thread "main" java.net.UnknownHostException: xyzzy: unknown error + at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.class] +- at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$1.class] ++ at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$2.class] + at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] + at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] + at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +@@ -88,17 +69,19 @@ Caught exception java.lang.NumberFormatException in method java.lang.Long.parseL + Exception in thread "main" java.lang.NumberFormatException: null + at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] + at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] ++ 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] + 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] + at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] +- at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.readFromURL(Test.java:238) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] + executable: @CMAKE_BINARY_DIR@/test/Test.class +-Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream() ++Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream0() + Exception in thread "main" java.io.FileNotFoundException: http://localhost:54321/_this_does_not_exists_ ++ 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] + 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] + at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] +- at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.readFromURL(Test.java:238) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] + executable: @CMAKE_BINARY_DIR@/test/Test.class +diff --git a/test/outputs/Linux-ppc64le/run_test.log.in.java-1.7 b/test/outputs/Linux-ppc64le/run_test.log.in.java-1.7 +new file mode 100644 +index 0000000..2a41f50 +--- /dev/null ++++ b/test/outputs/Linux-ppc64le/run_test.log.in.java-1.7 +@@ -0,0 +1,167 @@ ++Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.() ++Exception in thread "main" java.io.FileNotFoundException: _wrong_file_ (No such file or directory) ++ at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at java.io.FileInputStream.(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at Test.readWrongFile(Test.java:89) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.fileRelatedIssues(Test.java:461) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.() ++Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied) ++ at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at java.io.FileInputStream.(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at Test.readUnreadableFile(Test.java:111) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.fileRelatedIssues(Test.java:462) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.io.FileNotFoundException in method java.io.FileOutputStream.() ++Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied) ++ at java.io.FileOutputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at java.io.FileOutputStream.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at java.io.FileOutputStream.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at Test.writeToUnwritableFile(Test.java:134) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.fileRelatedIssues(Test.java:463) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.NumberFormatException in method java.lang.Integer.parseInt() ++Exception in thread "main" java.lang.NumberFormatException: null ++ at java.lang.Integer.parseInt(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] ++ at java.lang.Integer.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] ++ at sun.net.InetAddressCachePolicy.(InetAddressCachePolicy.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/InetAddressCachePolicy.class] ++ at java.net.InetAddress$Cache.getPolicy(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] ++ at java.net.InetAddress$Cache.put(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] ++ at java.net.InetAddress.cacheInitIfNeeded(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getCachedAddresses(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetSocketAddress.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.UnknownHostException in method java.net.InetAddress$1.lookupAllHostAddr() ++Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known ++ at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.class] ++ at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$1.class] ++ at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetSocketAddress.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.UnknownHostException in method java.net.AbstractPlainSocketImpl.connect() ++Exception in thread "main" java.net.UnknownHostException: xyzzy ++ at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.ConnectException in method java.net.AbstractPlainSocketImpl.doConnect() ++Exception in thread "main" java.net.ConnectException: Connection refused ++ at java.net.PlainSocketImpl.socketConnect(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/PlainSocketImpl.class] ++ at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromSocket(Test.java:177) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:474) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.NumberFormatException in method java.lang.Long.parseLong() ++Exception in thread "main" java.lang.NumberFormatException: null ++ at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] ++ at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] ++ 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] ++ at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream() ++Exception in thread "main" java.io.FileNotFoundException: http://localhost:54321/_this_does_not_exists_ ++ 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] ++ at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.MalformedURLException in method java.net.URL.() ++Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&malformed URL@#$%^&*() ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at Test.malformedURL(Test.java:194) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:476) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException() ++Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42 ++ at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.StringIndexOutOfBoundsException in method java.lang.String.charAt() ++Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1 ++ at java.lang.String.charAt(String.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/String.class] ++ at Test.throwStringIndexOutOfBoundsException(Test.java:278) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchStringIndexOutOfBoundsException(Test.java:362) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:487) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.NullPointerException in method Test.throwNullPointerException() ++Exception in thread "main" java.lang.NullPointerException ++ at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchNullPointerException(Test.java:377) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:488) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.ClassCastException in method Test.throwClassCastException() ++Exception in thread "main" java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String ++ at Test.throwClassCastException(Test.java:302) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchClassCastException(Test.java:392) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:489) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.UnsatisfiedLinkError in method java.lang.Runtime.load0() ++Exception in thread "main" java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: xyzzy ++ at java.lang.Runtime.load0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class] ++ at java.lang.System.load(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class] ++ at Test.loadLibrary(Test.java:325) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchUnsatisfiedLinkErrorUserLibrary(Test.java:422) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:491) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.UnsatisfiedLinkError in method java.lang.ClassLoader.loadLibrary() ++Exception in thread "main" java.lang.UnsatisfiedLinkError: no xyzzy in java.library.path ++ at java.lang.ClassLoader.loadLibrary(ClassLoader.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/ClassLoader.class] ++ at java.lang.Runtime.loadLibrary0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class] ++ at java.lang.System.loadLibrary(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class] ++ at Test.loadSystemLibrary(Test.java:336) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchUnsatisfiedLinkErrorSystemLibrary(Test.java:437) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:492) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Uncaught exception java.lang.NullPointerException in method Test.throwNullPointerException() ++Exception in thread "main" java.lang.NullPointerException ++ at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndDontCatchException(Test.java:501) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:518) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class +diff --git a/test/outputs/Linux-s390/run_test.log.in b/test/outputs/Linux-s390/run_test.log.in +index 2a41f50..3d83a66 100644 +--- a/test/outputs/Linux-s390/run_test.log.in ++++ b/test/outputs/Linux-s390/run_test.log.in +@@ -23,29 +23,10 @@ Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permiss + at Test.fileRelatedIssues(Test.java:463) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] + executable: @CMAKE_BINARY_DIR@/test/Test.class +-Caught exception java.lang.NumberFormatException in method java.lang.Integer.parseInt() +-Exception in thread "main" java.lang.NumberFormatException: null +- at java.lang.Integer.parseInt(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] +- at java.lang.Integer.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] +- at sun.net.InetAddressCachePolicy.(InetAddressCachePolicy.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/InetAddressCachePolicy.class] +- at java.net.InetAddress$Cache.getPolicy(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] +- at java.net.InetAddress$Cache.put(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] +- at java.net.InetAddress.cacheInitIfNeeded(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getCachedAddresses(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetSocketAddress.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] +- at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] +- at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] +- at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] +- at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] +-executable: @CMAKE_BINARY_DIR@/test/Test.class +-Caught exception java.net.UnknownHostException in method java.net.InetAddress$1.lookupAllHostAddr() +-Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known ++Caught exception java.net.UnknownHostException in method java.net.InetAddress$2.lookupAllHostAddr() ++Exception in thread "main" java.net.UnknownHostException: xyzzy: unknown error + at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.class] +- at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$1.class] ++ at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$2.class] + at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] + at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] + at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +@@ -88,17 +69,19 @@ Caught exception java.lang.NumberFormatException in method java.lang.Long.parseL + Exception in thread "main" java.lang.NumberFormatException: null + at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] + at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] ++ 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] + 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] + at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] +- at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.readFromURL(Test.java:238) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] + executable: @CMAKE_BINARY_DIR@/test/Test.class +-Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream() ++Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream0() + Exception in thread "main" java.io.FileNotFoundException: http://localhost:54321/_this_does_not_exists_ ++ 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] + 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] + at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] +- at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.readFromURL(Test.java:238) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] + executable: @CMAKE_BINARY_DIR@/test/Test.class +diff --git a/test/outputs/Linux-s390/run_test.log.in.java-1.7 b/test/outputs/Linux-s390/run_test.log.in.java-1.7 +new file mode 100644 +index 0000000..2a41f50 +--- /dev/null ++++ b/test/outputs/Linux-s390/run_test.log.in.java-1.7 +@@ -0,0 +1,167 @@ ++Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.() ++Exception in thread "main" java.io.FileNotFoundException: _wrong_file_ (No such file or directory) ++ at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at java.io.FileInputStream.(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at Test.readWrongFile(Test.java:89) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.fileRelatedIssues(Test.java:461) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.() ++Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied) ++ at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at java.io.FileInputStream.(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at Test.readUnreadableFile(Test.java:111) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.fileRelatedIssues(Test.java:462) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.io.FileNotFoundException in method java.io.FileOutputStream.() ++Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied) ++ at java.io.FileOutputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at java.io.FileOutputStream.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at java.io.FileOutputStream.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at Test.writeToUnwritableFile(Test.java:134) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.fileRelatedIssues(Test.java:463) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.NumberFormatException in method java.lang.Integer.parseInt() ++Exception in thread "main" java.lang.NumberFormatException: null ++ at java.lang.Integer.parseInt(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] ++ at java.lang.Integer.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] ++ at sun.net.InetAddressCachePolicy.(InetAddressCachePolicy.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/InetAddressCachePolicy.class] ++ at java.net.InetAddress$Cache.getPolicy(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] ++ at java.net.InetAddress$Cache.put(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] ++ at java.net.InetAddress.cacheInitIfNeeded(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getCachedAddresses(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetSocketAddress.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.UnknownHostException in method java.net.InetAddress$1.lookupAllHostAddr() ++Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known ++ at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.class] ++ at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$1.class] ++ at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetSocketAddress.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.UnknownHostException in method java.net.AbstractPlainSocketImpl.connect() ++Exception in thread "main" java.net.UnknownHostException: xyzzy ++ at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.ConnectException in method java.net.AbstractPlainSocketImpl.doConnect() ++Exception in thread "main" java.net.ConnectException: Connection refused ++ at java.net.PlainSocketImpl.socketConnect(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/PlainSocketImpl.class] ++ at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromSocket(Test.java:177) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:474) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.NumberFormatException in method java.lang.Long.parseLong() ++Exception in thread "main" java.lang.NumberFormatException: null ++ at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] ++ at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] ++ 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] ++ at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream() ++Exception in thread "main" java.io.FileNotFoundException: http://localhost:54321/_this_does_not_exists_ ++ 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] ++ at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.MalformedURLException in method java.net.URL.() ++Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&malformed URL@#$%^&*() ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at Test.malformedURL(Test.java:194) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:476) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException() ++Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42 ++ at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.StringIndexOutOfBoundsException in method java.lang.String.charAt() ++Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1 ++ at java.lang.String.charAt(String.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/String.class] ++ at Test.throwStringIndexOutOfBoundsException(Test.java:278) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchStringIndexOutOfBoundsException(Test.java:362) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:487) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.NullPointerException in method Test.throwNullPointerException() ++Exception in thread "main" java.lang.NullPointerException ++ at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchNullPointerException(Test.java:377) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:488) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.ClassCastException in method Test.throwClassCastException() ++Exception in thread "main" java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String ++ at Test.throwClassCastException(Test.java:302) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchClassCastException(Test.java:392) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:489) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.UnsatisfiedLinkError in method java.lang.Runtime.load0() ++Exception in thread "main" java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: xyzzy ++ at java.lang.Runtime.load0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class] ++ at java.lang.System.load(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class] ++ at Test.loadLibrary(Test.java:325) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchUnsatisfiedLinkErrorUserLibrary(Test.java:422) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:491) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.UnsatisfiedLinkError in method java.lang.ClassLoader.loadLibrary() ++Exception in thread "main" java.lang.UnsatisfiedLinkError: no xyzzy in java.library.path ++ at java.lang.ClassLoader.loadLibrary(ClassLoader.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/ClassLoader.class] ++ at java.lang.Runtime.loadLibrary0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class] ++ at java.lang.System.loadLibrary(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class] ++ at Test.loadSystemLibrary(Test.java:336) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchUnsatisfiedLinkErrorSystemLibrary(Test.java:437) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:492) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Uncaught exception java.lang.NullPointerException in method Test.throwNullPointerException() ++Exception in thread "main" java.lang.NullPointerException ++ at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndDontCatchException(Test.java:501) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:518) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class +diff --git a/test/outputs/Linux-s390x/run_test.log.in b/test/outputs/Linux-s390x/run_test.log.in +index 2a41f50..3d83a66 100644 +--- a/test/outputs/Linux-s390x/run_test.log.in ++++ b/test/outputs/Linux-s390x/run_test.log.in +@@ -23,29 +23,10 @@ Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permiss + at Test.fileRelatedIssues(Test.java:463) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] + executable: @CMAKE_BINARY_DIR@/test/Test.class +-Caught exception java.lang.NumberFormatException in method java.lang.Integer.parseInt() +-Exception in thread "main" java.lang.NumberFormatException: null +- at java.lang.Integer.parseInt(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] +- at java.lang.Integer.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] +- at sun.net.InetAddressCachePolicy.(InetAddressCachePolicy.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/InetAddressCachePolicy.class] +- at java.net.InetAddress$Cache.getPolicy(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] +- at java.net.InetAddress$Cache.put(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] +- at java.net.InetAddress.cacheInitIfNeeded(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getCachedAddresses(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +- at java.net.InetSocketAddress.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] +- at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] +- at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] +- at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] +- at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] +-executable: @CMAKE_BINARY_DIR@/test/Test.class +-Caught exception java.net.UnknownHostException in method java.net.InetAddress$1.lookupAllHostAddr() +-Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known ++Caught exception java.net.UnknownHostException in method java.net.InetAddress$2.lookupAllHostAddr() ++Exception in thread "main" java.net.UnknownHostException: xyzzy: unknown error + at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.class] +- at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$1.class] ++ at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$2.class] + at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] + at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] + at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] +@@ -88,17 +69,19 @@ Caught exception java.lang.NumberFormatException in method java.lang.Long.parseL + Exception in thread "main" java.lang.NumberFormatException: null + at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] + at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] ++ 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] + 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] + at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] +- at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.readFromURL(Test.java:238) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] + executable: @CMAKE_BINARY_DIR@/test/Test.class +-Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream() ++Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream0() + Exception in thread "main" java.io.FileNotFoundException: http://localhost:54321/_this_does_not_exists_ ++ 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] + 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] + at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] +- at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.readFromURL(Test.java:238) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] + at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] + executable: @CMAKE_BINARY_DIR@/test/Test.class +diff --git a/test/outputs/Linux-s390x/run_test.log.in.java-1.7 b/test/outputs/Linux-s390x/run_test.log.in.java-1.7 +new file mode 100644 +index 0000000..2a41f50 +--- /dev/null ++++ b/test/outputs/Linux-s390x/run_test.log.in.java-1.7 +@@ -0,0 +1,167 @@ ++Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.() ++Exception in thread "main" java.io.FileNotFoundException: _wrong_file_ (No such file or directory) ++ at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at java.io.FileInputStream.(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at Test.readWrongFile(Test.java:89) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.fileRelatedIssues(Test.java:461) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.() ++Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied) ++ at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at java.io.FileInputStream.(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class] ++ at Test.readUnreadableFile(Test.java:111) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.fileRelatedIssues(Test.java:462) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.io.FileNotFoundException in method java.io.FileOutputStream.() ++Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied) ++ at java.io.FileOutputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at java.io.FileOutputStream.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at java.io.FileOutputStream.(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class] ++ at Test.writeToUnwritableFile(Test.java:134) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.fileRelatedIssues(Test.java:463) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.NumberFormatException in method java.lang.Integer.parseInt() ++Exception in thread "main" java.lang.NumberFormatException: null ++ at java.lang.Integer.parseInt(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] ++ at java.lang.Integer.(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class] ++ at sun.net.InetAddressCachePolicy.(InetAddressCachePolicy.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/InetAddressCachePolicy.class] ++ at java.net.InetAddress$Cache.getPolicy(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] ++ at java.net.InetAddress$Cache.put(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class] ++ at java.net.InetAddress.cacheInitIfNeeded(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getCachedAddresses(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetSocketAddress.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.UnknownHostException in method java.net.InetAddress$1.lookupAllHostAddr() ++Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known ++ at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.class] ++ at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$1.class] ++ at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class] ++ at java.net.InetSocketAddress.(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.UnknownHostException in method java.net.AbstractPlainSocketImpl.connect() ++Exception in thread "main" java.net.UnknownHostException: xyzzy ++ at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.ConnectException in method java.net.AbstractPlainSocketImpl.doConnect() ++Exception in thread "main" java.net.ConnectException: Connection refused ++ at java.net.PlainSocketImpl.socketConnect(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/PlainSocketImpl.class] ++ at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class] ++ at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at java.net.Socket.(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class] ++ at Test.readFromSocket(Test.java:177) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:474) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.NumberFormatException in method java.lang.Long.parseLong() ++Exception in thread "main" java.lang.NumberFormatException: null ++ at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] ++ at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class] ++ 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] ++ at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream() ++Exception in thread "main" java.io.FileNotFoundException: http://localhost:54321/_this_does_not_exists_ ++ 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] ++ at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.net.MalformedURLException in method java.net.URL.() ++Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&malformed URL@#$%^&*() ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at java.net.URL.(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class] ++ at Test.malformedURL(Test.java:194) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.networkRelatedIssues(Test.java:476) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException() ++Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42 ++ at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.StringIndexOutOfBoundsException in method java.lang.String.charAt() ++Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1 ++ at java.lang.String.charAt(String.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/String.class] ++ at Test.throwStringIndexOutOfBoundsException(Test.java:278) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchStringIndexOutOfBoundsException(Test.java:362) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:487) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.NullPointerException in method Test.throwNullPointerException() ++Exception in thread "main" java.lang.NullPointerException ++ at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchNullPointerException(Test.java:377) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:488) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.ClassCastException in method Test.throwClassCastException() ++Exception in thread "main" java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String ++ at Test.throwClassCastException(Test.java:302) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchClassCastException(Test.java:392) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:489) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.UnsatisfiedLinkError in method java.lang.Runtime.load0() ++Exception in thread "main" java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: xyzzy ++ at java.lang.Runtime.load0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class] ++ at java.lang.System.load(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class] ++ at Test.loadLibrary(Test.java:325) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchUnsatisfiedLinkErrorUserLibrary(Test.java:422) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:491) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Caught exception java.lang.UnsatisfiedLinkError in method java.lang.ClassLoader.loadLibrary() ++Exception in thread "main" java.lang.UnsatisfiedLinkError: no xyzzy in java.library.path ++ at java.lang.ClassLoader.loadLibrary(ClassLoader.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/ClassLoader.class] ++ at java.lang.Runtime.loadLibrary0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class] ++ at java.lang.System.loadLibrary(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class] ++ at Test.loadSystemLibrary(Test.java:336) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.catchUnsatisfiedLinkErrorSystemLibrary(Test.java:437) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndCatchAllExceptions(Test.java:492) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class ++Uncaught exception java.lang.NullPointerException in method Test.throwNullPointerException() ++Exception in thread "main" java.lang.NullPointerException ++ at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.throwAndDontCatchException(Test.java:501) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++ at Test.main(Test.java:518) [file:@CMAKE_BINARY_DIR@/test/Test.class] ++executable: @CMAKE_BINARY_DIR@/test/Test.class +-- +2.1.0 + diff --git a/abrt-java-connector.spec b/abrt-java-connector.spec index 2445501..2f8d364 100644 --- a/abrt-java-connector.spec +++ b/abrt-java-connector.spec @@ -1,9 +1,9 @@ -%global commit fdf80c5de2400437cc2fbe56f14aacbf346274df +%global commit 230b72697c7c43db747b2644b17cb2685d1539de %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: abrt-java-connector -Version: 1.0.10 -Release: 4%{?dist} +Version: 1.1.0 +Release: 1%{?dist} Summary: JNI Agent library converting Java exceptions to ABRT problems Group: System Environment/Libraries @@ -11,13 +11,11 @@ License: GPLv2+ URL: https://github.com/jfilak/abrt-java-connector Source0: https://github.com/jfilak/%{name}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz -Patch01: 0001-Add-test-results-for-Linux-ppc64le.patch - BuildRequires: cmake BuildRequires: satyr-devel BuildRequires: libreport-devel BuildRequires: abrt-devel -BuildRequires: java-1.7.0-openjdk-devel +BuildRequires: java-devel BuildRequires: systemd-devel BuildRequires: gettext BuildRequires: check-devel @@ -26,6 +24,10 @@ BuildRequires: git Requires: abrt +Patch0001: 0001-Decrease-the-tested-memory-limits-because-of-failure.patch +Patch0002: 0002-Adapt-the-arm-test-outputs-to-java-1.8.patch +Patch0003: 0003-Add-java-1.8-test-outputs-for-aarch-ppc-and-s390.patch + %description JNI library providing an agent capable to process both caught and uncaught exceptions and transform them to ABRT problems @@ -61,24 +63,26 @@ make install DESTDIR=%{buildroot} %{_mandir}/man5/bugzilla_formatdup_java.conf.5* %{_datadir}/abrt/conf.d/plugins/java.conf -# install only unversioned shared object because the package is a Java plugin -# and not a system library but unfortunately the library must be placed in ld -# library paths -%{_libdir}/lib%{name}.so +# Applications may use a single subdirectory under/usr/lib. +# http://www.pathname.com/fhs/pub/fhs-2.3.html#PURPOSE22 +# +# Java does not support multilib. +# https://fedorahosted.org/fesco/ticket/961 +%{_prefix}/lib/abrt-java-connector %check -make test - - -%post -p /sbin/ldconfig - - -%postun -p /sbin/ldconfig - +make test || { + cat Testing/Temporary/LastTest.log + exit 1 +} %changelog +* Wed Oct 29 2014 Jakub Filak - 1.1.0-1 +- Support java-1.8-openjdk +- Install the library to /usr/lib/abrt-java-connector on all arches + * Fri Aug 15 2014 Fedora Release Engineering - 1.0.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild diff --git a/sources b/sources index fa8abdc..3ffa7d3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6f703b5ccecc8373c214d6298e223a13 abrt-java-connector-1.0.10-fdf80c5.tar.gz +6bcf0a39c24bb77d6588be3573485d08 abrt-java-connector-1.1.0-230b726.tar.gz