Blame SOURCES/0059-add-test-outputs-for-java-1.7.patch

d7180c
From 84b8bdbc0ed926f3f7bea5df76eb4fdeba8dae31 Mon Sep 17 00:00:00 2001
d7180c
From: Matej Habrnal <mhabrnal@redhat.com>
d7180c
Date: Wed, 10 May 2017 15:04:25 +0200
d7180c
Subject: [PATCH] add test outputs for java-1.7
d7180c
d7180c
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
d7180c
---
d7180c
 .../outputs/Linux-aarch64/run_test.log.in.java-1.7 | 167 +++++++++++++++++++++
d7180c
 test/outputs/Linux-ppc64/run_test.log.in.java-1.7  | 167 +++++++++++++++++++++
d7180c
 .../outputs/Linux-ppc64le/run_test.log.in.java-1.7 | 167 +++++++++++++++++++++
d7180c
 test/outputs/run_bad_class.log.in.java-1.7         |  13 ++
d7180c
 4 files changed, 514 insertions(+)
d7180c
 create mode 100644 test/outputs/Linux-aarch64/run_test.log.in.java-1.7
d7180c
 create mode 100644 test/outputs/Linux-ppc64/run_test.log.in.java-1.7
d7180c
 create mode 100644 test/outputs/Linux-ppc64le/run_test.log.in.java-1.7
d7180c
 create mode 100644 test/outputs/run_bad_class.log.in.java-1.7
d7180c
d7180c
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
d7180c
new file mode 100644
d7180c
index 0000000..02708a4
d7180c
--- /dev/null
d7180c
+++ b/test/outputs/Linux-aarch64/run_test.log.in.java-1.7
d7180c
@@ -0,0 +1,167 @@
d7180c
+Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.open()
d7180c
+Exception in thread "main" java.io.FileNotFoundException: _wrong_file_ (No such file or directory)
d7180c
+	at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
d7180c
+	at java.io.FileInputStream.<init>(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
d7180c
+	at Test.readWrongFile(Test.java:89) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.fileRelatedIssues(Test.java:461) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.open()
d7180c
+Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied)
d7180c
+	at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
d7180c
+	at java.io.FileInputStream.<init>(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
d7180c
+	at Test.readUnreadableFile(Test.java:111) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.fileRelatedIssues(Test.java:462) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.io.FileNotFoundException in method java.io.FileOutputStream.open()
d7180c
+Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied)
d7180c
+	at java.io.FileOutputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class]
d7180c
+	at java.io.FileOutputStream.<init>(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class]
d7180c
+	at java.io.FileOutputStream.<init>(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class]
d7180c
+	at Test.writeToUnwritableFile(Test.java:134) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.fileRelatedIssues(Test.java:463) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.lang.NumberFormatException in method java.lang.Integer.parseInt()
d7180c
+Exception in thread "main" java.lang.NumberFormatException: null
d7180c
+	at java.lang.Integer.parseInt(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class]
d7180c
+	at java.lang.Integer.<init>(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class]
d7180c
+	at sun.net.InetAddressCachePolicy.<clinit>(InetAddressCachePolicy.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/InetAddressCachePolicy.class]
d7180c
+	at java.net.InetAddress$Cache.getPolicy(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class]
d7180c
+	at java.net.InetAddress$Cache.put(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class]
d7180c
+	at java.net.InetAddress.cacheInitIfNeeded(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetAddress.getCachedAddresses(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetSocketAddress.<init>(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class]
d7180c
+	at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.net.UnknownHostException in method java.net.Inet6AddressImpl.lookupAllHostAddr()
d7180c
+Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known
d7180c
+	at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.class]
d7180c
+	at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$1.class]
d7180c
+	at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetSocketAddress.<init>(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class]
d7180c
+	at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.net.UnknownHostException in method java.net.AbstractPlainSocketImpl.connect()
d7180c
+Exception in thread "main" java.net.UnknownHostException: xyzzy
d7180c
+	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class]
d7180c
+	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class]
d7180c
+	at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.net.ConnectException in method java.net.PlainSocketImpl.socketConnect()
d7180c
+Exception in thread "main" java.net.ConnectException: Connection refused (Connection refused)
d7180c
+	at java.net.PlainSocketImpl.socketConnect(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/PlainSocketImpl.class]
d7180c
+	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class]
d7180c
+	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class]
d7180c
+	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class]
d7180c
+	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class]
d7180c
+	at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at Test.readFromSocket(Test.java:177) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.networkRelatedIssues(Test.java:474) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.lang.NumberFormatException in method java.lang.Long.parseLong()
d7180c
+Exception in thread "main" java.lang.NumberFormatException: null
d7180c
+	at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class]
d7180c
+	at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class]
d7180c
+	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]
d7180c
+	at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class]
d7180c
+	at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream()
d7180c
+Exception in thread "main" java.io.FileNotFoundException: http://localhost:54321/_this_does_not_exists_
d7180c
+	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]
d7180c
+	at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class]
d7180c
+	at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.net.MalformedURLException in method java.net.URL.<init>()
d7180c
+Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&malformed URL@#$%^&*()
d7180c
+	at java.net.URL.<init>(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class]
d7180c
+	at java.net.URL.<init>(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class]
d7180c
+	at java.net.URL.<init>(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class]
d7180c
+	at Test.malformedURL(Test.java:194) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.networkRelatedIssues(Test.java:476) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException()
d7180c
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
d7180c
+	at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.lang.StringIndexOutOfBoundsException in method java.lang.String.charAt()
d7180c
+Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
d7180c
+	at java.lang.String.charAt(String.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/String.class]
d7180c
+	at Test.throwStringIndexOutOfBoundsException(Test.java:278) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.catchStringIndexOutOfBoundsException(Test.java:362) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.throwAndCatchAllExceptions(Test.java:487) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.lang.NullPointerException in method Test.throwNullPointerException()
d7180c
+Exception in thread "main" java.lang.NullPointerException
d7180c
+	at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.catchNullPointerException(Test.java:377) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.throwAndCatchAllExceptions(Test.java:488) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.lang.ClassCastException in method Test.throwClassCastException()
d7180c
+Exception in thread "main" java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
d7180c
+	at Test.throwClassCastException(Test.java:302) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.catchClassCastException(Test.java:392) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.throwAndCatchAllExceptions(Test.java:489) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.lang.UnsatisfiedLinkError in method java.lang.Runtime.load0()
d7180c
+Exception in thread "main" java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: xyzzy
d7180c
+	at java.lang.Runtime.load0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class]
d7180c
+	at java.lang.System.load(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class]
d7180c
+	at Test.loadLibrary(Test.java:325) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.catchUnsatisfiedLinkErrorUserLibrary(Test.java:422) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.throwAndCatchAllExceptions(Test.java:491) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.lang.UnsatisfiedLinkError in method java.lang.ClassLoader.loadLibrary()
d7180c
+Exception in thread "main" java.lang.UnsatisfiedLinkError: no xyzzy in java.library.path
d7180c
+	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/ClassLoader.class]
d7180c
+	at java.lang.Runtime.loadLibrary0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class]
d7180c
+	at java.lang.System.loadLibrary(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class]
d7180c
+	at Test.loadSystemLibrary(Test.java:336) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.catchUnsatisfiedLinkErrorSystemLibrary(Test.java:437) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.throwAndCatchAllExceptions(Test.java:492) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Uncaught exception java.lang.NullPointerException in method Test.throwNullPointerException()
d7180c
+Exception in thread "main" java.lang.NullPointerException
d7180c
+	at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.throwAndDontCatchException(Test.java:501) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:518) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
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
d7180c
new file mode 100644
d7180c
index 0000000..dd90e5c
d7180c
--- /dev/null
d7180c
+++ b/test/outputs/Linux-ppc64/run_test.log.in.java-1.7
d7180c
@@ -0,0 +1,167 @@
d7180c
+Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.<init>()
d7180c
+Exception in thread "main" java.io.FileNotFoundException: _wrong_file_ (No such file or directory)
d7180c
+	at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
d7180c
+	at java.io.FileInputStream.<init>(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
d7180c
+	at Test.readWrongFile(Test.java:89) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.fileRelatedIssues(Test.java:461) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.<init>()
d7180c
+Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied)
d7180c
+	at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
d7180c
+	at java.io.FileInputStream.<init>(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
d7180c
+	at Test.readUnreadableFile(Test.java:111) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.fileRelatedIssues(Test.java:462) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.io.FileNotFoundException in method java.io.FileOutputStream.<init>()
d7180c
+Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied)
d7180c
+	at java.io.FileOutputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class]
d7180c
+	at java.io.FileOutputStream.<init>(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class]
d7180c
+	at java.io.FileOutputStream.<init>(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class]
d7180c
+	at Test.writeToUnwritableFile(Test.java:134) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.fileRelatedIssues(Test.java:463) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.lang.NumberFormatException in method java.lang.Integer.parseInt()
d7180c
+Exception in thread "main" java.lang.NumberFormatException: null
d7180c
+	at java.lang.Integer.parseInt(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class]
d7180c
+	at java.lang.Integer.<init>(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class]
d7180c
+	at sun.net.InetAddressCachePolicy.<clinit>(InetAddressCachePolicy.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/InetAddressCachePolicy.class]
d7180c
+	at java.net.InetAddress$Cache.getPolicy(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class]
d7180c
+	at java.net.InetAddress$Cache.put(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class]
d7180c
+	at java.net.InetAddress.cacheInitIfNeeded(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetAddress.getCachedAddresses(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetSocketAddress.<init>(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class]
d7180c
+	at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.net.UnknownHostException in method java.net.InetAddress$1.lookupAllHostAddr()
d7180c
+Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known
d7180c
+	at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.class]
d7180c
+	at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$1.class]
d7180c
+	at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetSocketAddress.<init>(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class]
d7180c
+	at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.net.UnknownHostException in method java.net.AbstractPlainSocketImpl.connect()
d7180c
+Exception in thread "main" java.net.UnknownHostException: xyzzy
d7180c
+	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class]
d7180c
+	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class]
d7180c
+	at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.net.ConnectException in method java.net.AbstractPlainSocketImpl.doConnect()
d7180c
+Exception in thread "main" java.net.ConnectException: Connection refused (Connection refused)
d7180c
+	at java.net.PlainSocketImpl.socketConnect(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/PlainSocketImpl.class]
d7180c
+	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class]
d7180c
+	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class]
d7180c
+	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class]
d7180c
+	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class]
d7180c
+	at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at Test.readFromSocket(Test.java:177) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.networkRelatedIssues(Test.java:474) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.lang.NumberFormatException in method java.lang.Long.parseLong()
d7180c
+Exception in thread "main" java.lang.NumberFormatException: null
d7180c
+	at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class]
d7180c
+	at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class]
d7180c
+	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]
d7180c
+	at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class]
d7180c
+	at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream()
d7180c
+Exception in thread "main" java.io.FileNotFoundException: http://localhost:54321/_this_does_not_exists_
d7180c
+	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]
d7180c
+	at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class]
d7180c
+	at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.net.MalformedURLException in method java.net.URL.<init>()
d7180c
+Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&malformed URL@#$%^&*()
d7180c
+	at java.net.URL.<init>(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class]
d7180c
+	at java.net.URL.<init>(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class]
d7180c
+	at java.net.URL.<init>(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class]
d7180c
+	at Test.malformedURL(Test.java:194) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.networkRelatedIssues(Test.java:476) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException()
d7180c
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
d7180c
+	at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.lang.StringIndexOutOfBoundsException in method java.lang.String.charAt()
d7180c
+Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
d7180c
+	at java.lang.String.charAt(String.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/String.class]
d7180c
+	at Test.throwStringIndexOutOfBoundsException(Test.java:278) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.catchStringIndexOutOfBoundsException(Test.java:362) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.throwAndCatchAllExceptions(Test.java:487) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.lang.NullPointerException in method Test.throwNullPointerException()
d7180c
+Exception in thread "main" java.lang.NullPointerException
d7180c
+	at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.catchNullPointerException(Test.java:377) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.throwAndCatchAllExceptions(Test.java:488) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.lang.ClassCastException in method Test.throwClassCastException()
d7180c
+Exception in thread "main" java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
d7180c
+	at Test.throwClassCastException(Test.java:302) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.catchClassCastException(Test.java:392) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.throwAndCatchAllExceptions(Test.java:489) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.lang.UnsatisfiedLinkError in method java.lang.Runtime.load0()
d7180c
+Exception in thread "main" java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: xyzzy
d7180c
+	at java.lang.Runtime.load0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class]
d7180c
+	at java.lang.System.load(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class]
d7180c
+	at Test.loadLibrary(Test.java:325) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.catchUnsatisfiedLinkErrorUserLibrary(Test.java:422) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.throwAndCatchAllExceptions(Test.java:491) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.lang.UnsatisfiedLinkError in method java.lang.ClassLoader.loadLibrary()
d7180c
+Exception in thread "main" java.lang.UnsatisfiedLinkError: no xyzzy in java.library.path
d7180c
+	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/ClassLoader.class]
d7180c
+	at java.lang.Runtime.loadLibrary0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class]
d7180c
+	at java.lang.System.loadLibrary(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class]
d7180c
+	at Test.loadSystemLibrary(Test.java:336) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.catchUnsatisfiedLinkErrorSystemLibrary(Test.java:437) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.throwAndCatchAllExceptions(Test.java:492) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Uncaught exception java.lang.NullPointerException in method Test.throwNullPointerException()
d7180c
+Exception in thread "main" java.lang.NullPointerException
d7180c
+	at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.throwAndDontCatchException(Test.java:501) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:518) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
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
d7180c
new file mode 100644
d7180c
index 0000000..dd90e5c
d7180c
--- /dev/null
d7180c
+++ b/test/outputs/Linux-ppc64le/run_test.log.in.java-1.7
d7180c
@@ -0,0 +1,167 @@
d7180c
+Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.<init>()
d7180c
+Exception in thread "main" java.io.FileNotFoundException: _wrong_file_ (No such file or directory)
d7180c
+	at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
d7180c
+	at java.io.FileInputStream.<init>(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
d7180c
+	at Test.readWrongFile(Test.java:89) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.fileRelatedIssues(Test.java:461) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.io.FileNotFoundException in method java.io.FileInputStream.<init>()
d7180c
+Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied)
d7180c
+	at java.io.FileInputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
d7180c
+	at java.io.FileInputStream.<init>(FileInputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileInputStream.class]
d7180c
+	at Test.readUnreadableFile(Test.java:111) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.fileRelatedIssues(Test.java:462) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.io.FileNotFoundException in method java.io.FileOutputStream.<init>()
d7180c
+Exception in thread "main" java.io.FileNotFoundException: /root/.bashrc (Permission denied)
d7180c
+	at java.io.FileOutputStream.open(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class]
d7180c
+	at java.io.FileOutputStream.<init>(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class]
d7180c
+	at java.io.FileOutputStream.<init>(FileOutputStream.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/io/FileOutputStream.class]
d7180c
+	at Test.writeToUnwritableFile(Test.java:134) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.fileRelatedIssues(Test.java:463) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:513) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.lang.NumberFormatException in method java.lang.Integer.parseInt()
d7180c
+Exception in thread "main" java.lang.NumberFormatException: null
d7180c
+	at java.lang.Integer.parseInt(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class]
d7180c
+	at java.lang.Integer.<init>(Integer.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Integer.class]
d7180c
+	at sun.net.InetAddressCachePolicy.<clinit>(InetAddressCachePolicy.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/net/InetAddressCachePolicy.class]
d7180c
+	at java.net.InetAddress$Cache.getPolicy(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class]
d7180c
+	at java.net.InetAddress$Cache.put(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$Cache.class]
d7180c
+	at java.net.InetAddress.cacheInitIfNeeded(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetAddress.getCachedAddresses(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetSocketAddress.<init>(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class]
d7180c
+	at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.net.UnknownHostException in method java.net.InetAddress$1.lookupAllHostAddr()
d7180c
+Exception in thread "main" java.net.UnknownHostException: xyzzy: Name or service not known
d7180c
+	at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Inet6AddressImpl.class]
d7180c
+	at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress$1.class]
d7180c
+	at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetAddress.getAllByName0(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetAddress.getAllByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetAddress.getByName(InetAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetAddress.class]
d7180c
+	at java.net.InetSocketAddress.<init>(InetSocketAddress.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/InetSocketAddress.class]
d7180c
+	at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.net.UnknownHostException in method java.net.AbstractPlainSocketImpl.connect()
d7180c
+Exception in thread "main" java.net.UnknownHostException: xyzzy
d7180c
+	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class]
d7180c
+	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class]
d7180c
+	at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at Test.readFromUnknownHost(Test.java:157) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.networkRelatedIssues(Test.java:473) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.net.ConnectException in method java.net.AbstractPlainSocketImpl.doConnect()
d7180c
+Exception in thread "main" java.net.ConnectException: Connection refused (Connection refused)
d7180c
+	at java.net.PlainSocketImpl.socketConnect(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/PlainSocketImpl.class]
d7180c
+	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class]
d7180c
+	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class]
d7180c
+	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/AbstractPlainSocketImpl.class]
d7180c
+	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/SocksSocketImpl.class]
d7180c
+	at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at java.net.Socket.connect(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at java.net.Socket.<init>(Socket.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/Socket.class]
d7180c
+	at Test.readFromSocket(Test.java:177) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.networkRelatedIssues(Test.java:474) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.lang.NumberFormatException in method java.lang.Long.parseLong()
d7180c
+Exception in thread "main" java.lang.NumberFormatException: null
d7180c
+	at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class]
d7180c
+	at java.lang.Long.parseLong(Long.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Long.class]
d7180c
+	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]
d7180c
+	at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class]
d7180c
+	at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.io.FileNotFoundException in method sun.net.www.protocol.http.HttpURLConnection.getInputStream()
d7180c
+Exception in thread "main" java.io.FileNotFoundException: http://localhost:54321/_this_does_not_exists_
d7180c
+	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]
d7180c
+	at java.net.URL.openStream(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class]
d7180c
+	at Test.readFromURL(Test.java:237) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.networkRelatedIssues(Test.java:475) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.net.MalformedURLException in method java.net.URL.<init>()
d7180c
+Exception in thread "main" java.net.MalformedURLException: no protocol: @#$%^&malformed URL@#$%^&*()
d7180c
+	at java.net.URL.<init>(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class]
d7180c
+	at java.net.URL.<init>(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class]
d7180c
+	at java.net.URL.<init>(URL.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URL.class]
d7180c
+	at Test.malformedURL(Test.java:194) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.networkRelatedIssues(Test.java:476) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:514) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.lang.ArrayIndexOutOfBoundsException in method Test.throwIndexOutOfBoundsException()
d7180c
+Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 42
d7180c
+	at Test.throwIndexOutOfBoundsException(Test.java:266) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.catchIndexOutOfBoundsException(Test.java:347) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.throwAndCatchAllExceptions(Test.java:486) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.lang.StringIndexOutOfBoundsException in method java.lang.String.charAt()
d7180c
+Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
d7180c
+	at java.lang.String.charAt(String.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/String.class]
d7180c
+	at Test.throwStringIndexOutOfBoundsException(Test.java:278) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.catchStringIndexOutOfBoundsException(Test.java:362) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.throwAndCatchAllExceptions(Test.java:487) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.lang.NullPointerException in method Test.throwNullPointerException()
d7180c
+Exception in thread "main" java.lang.NullPointerException
d7180c
+	at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.catchNullPointerException(Test.java:377) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.throwAndCatchAllExceptions(Test.java:488) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.lang.ClassCastException in method Test.throwClassCastException()
d7180c
+Exception in thread "main" java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
d7180c
+	at Test.throwClassCastException(Test.java:302) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.catchClassCastException(Test.java:392) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.throwAndCatchAllExceptions(Test.java:489) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.lang.UnsatisfiedLinkError in method java.lang.Runtime.load0()
d7180c
+Exception in thread "main" java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: xyzzy
d7180c
+	at java.lang.Runtime.load0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class]
d7180c
+	at java.lang.System.load(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class]
d7180c
+	at Test.loadLibrary(Test.java:325) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.catchUnsatisfiedLinkErrorUserLibrary(Test.java:422) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.throwAndCatchAllExceptions(Test.java:491) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Caught exception java.lang.UnsatisfiedLinkError in method java.lang.ClassLoader.loadLibrary()
d7180c
+Exception in thread "main" java.lang.UnsatisfiedLinkError: no xyzzy in java.library.path
d7180c
+	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/ClassLoader.class]
d7180c
+	at java.lang.Runtime.loadLibrary0(Runtime.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Runtime.class]
d7180c
+	at java.lang.System.loadLibrary(System.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/System.class]
d7180c
+	at Test.loadSystemLibrary(Test.java:336) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.catchUnsatisfiedLinkErrorSystemLibrary(Test.java:437) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.throwAndCatchAllExceptions(Test.java:492) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:515) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
+Uncaught exception java.lang.NullPointerException in method Test.throwNullPointerException()
d7180c
+Exception in thread "main" java.lang.NullPointerException
d7180c
+	at Test.throwNullPointerException(Test.java:290) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.throwAndDontCatchException(Test.java:501) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+	at Test.main(Test.java:518) [file:@CMAKE_BINARY_DIR@/test/Test.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/Test.class
d7180c
diff --git a/test/outputs/run_bad_class.log.in.java-1.7 b/test/outputs/run_bad_class.log.in.java-1.7
d7180c
new file mode 100644
d7180c
index 0000000..348f056
d7180c
--- /dev/null
d7180c
+++ b/test/outputs/run_bad_class.log.in.java-1.7
d7180c
@@ -0,0 +1,13 @@
d7180c
+Uncaught exception java.lang.ClassNotFoundException in method java.lang.ClassLoader.loadClass()
d7180c
+Exception in thread "main" java.lang.ClassNotFoundException: foobar
d7180c
+	at java.net.URLClassLoader$1.run(URLClassLoader.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URLClassLoader$1.class]
d7180c
+	at java.net.URLClassLoader$1.run(URLClassLoader.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URLClassLoader$1.class]
d7180c
+	at java.security.AccessController.doPrivileged(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/security/AccessController.class]
d7180c
+	at java.net.URLClassLoader.findClass(URLClassLoader.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/net/URLClassLoader.class]
d7180c
+	at java.lang.ClassLoader.loadClass(ClassLoader.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/ClassLoader.class]
d7180c
+	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/sun/misc/Launcher$AppClassLoader.class]
d7180c
+	at java.lang.ClassLoader.loadClass(ClassLoader.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/ClassLoader.class]
d7180c
+	at java.lang.Class.forName0(Native Method) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Class.class]
d7180c
+	at java.lang.Class.forName(Class.java:LINENO) [jar:file:JAVA_AND_SYSTEM_SPECIFIC_PATH/rt.jar!/java/lang/Class.class]
d7180c
+	at BadClassTest.main(BadClassTest.java:13) [file:@CMAKE_BINARY_DIR@/test/BadClassTest.class]
d7180c
+executable: @CMAKE_BINARY_DIR@/test/BadClassTest.class
d7180c
-- 
d7180c
1.8.3.1
d7180c