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

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