This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
abrt-java-connector/0007-test-output-run_remote_thread-Adjust-thread-indices.patch
2020-06-17 09:50:04 +02:00

36 lines
2.2 KiB
Diff
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

From c33aab10b138056be8ba7ea87f9d8ccd69bbc113 Mon Sep 17 00:00:00 2001
From: Ernestas Kulik <ekulik@redhat.com>
Date: Wed, 10 Jun 2020 09:08:57 +0200
Subject: [PATCH 7/8] test: output: run_remote_thread: Adjust thread indices
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
I dont know, seems that now the code starts only three, instead of
five, as intended.
---
test/outputs/run_remote_thread.log.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/outputs/run_remote_thread.log.in b/test/outputs/run_remote_thread.log.in
index a871ad0..4acfea7 100644
--- a/test/outputs/run_remote_thread.log.in
+++ b/test/outputs/run_remote_thread.log.in
@@ -1,12 +1,12 @@
Caught exception java.lang.ArrayIndexOutOfBoundsException in method SimpleTest.throwIndexOutOfBoundsException()
-Exception in thread "Thread-3" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
+Exception in thread "Thread-1" java.lang.ArrayIndexOutOfBoundsException: Index 42 out of bounds for length 10
at SimpleTest.throwIndexOutOfBoundsException(SimpleTest.java:24) [jar:http://localhost:54321/JarTest.jar!/SimpleTest.class]
at SimpleTest.catchIndexOutOfBoundsException(SimpleTest.java:47) [jar:http://localhost:54321/JarTest.jar!/SimpleTest.class]
at SimpleTest.throwAndCatchAllExceptions(SimpleTest.java:61) [jar:http://localhost:54321/JarTest.jar!/SimpleTest.class]
at ThreadCaughtException.run(ThreadCaughtException.java:7) [jar:http://localhost:54321/JarTest.jar!/ThreadCaughtException.class]
executable: http://localhost:54321/JarTest.jar
Uncaught exception java.lang.NullPointerException in method SimpleTest.throwNullPointerException()
-Exception in thread "Thread-4" java.lang.NullPointerException
+Exception in thread "Thread-2" java.lang.NullPointerException
at SimpleTest.throwNullPointerException(SimpleTest.java:36) [jar:http://localhost:54321/JarTest.jar!/SimpleTest.class]
at SimpleTest.throwAndDontCatchException(SimpleTest.java:71) [jar:http://localhost:54321/JarTest.jar!/SimpleTest.class]
at ThreadUncaughtException.run(ThreadUncaughtException.java:7) [jar:http://localhost:54321/JarTest.jar!/ThreadUncaughtException.class]
--
2.26.2