summaryrefslogtreecommitdiffstats
path: root/recipes-extended/rxtx/files/zsystem_init_exception.patch
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2013-04-05 10:03:05 +0200
committerHenning Heinold <heinold@inf.fu-berlin.de>2013-04-05 10:04:35 +0200
commit499e44455e1c37f89dfb9be9e8a970c26e1311d0 (patch)
tree3482587c7d027e092a8a281b606a85dcd800fd6e /recipes-extended/rxtx/files/zsystem_init_exception.patch
parent25ddfefe665ae48291d2ef3c88f4f1a74bad8768 (diff)
downloadmeta-java-499e44455e1c37f89dfb9be9e8a970c26e1311d0.tar.gz
recipes-extended: split out recipes which are not needed for compiling openjdk
Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
Diffstat (limited to 'recipes-extended/rxtx/files/zsystem_init_exception.patch')
-rw-r--r--recipes-extended/rxtx/files/zsystem_init_exception.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes-extended/rxtx/files/zsystem_init_exception.patch b/recipes-extended/rxtx/files/zsystem_init_exception.patch
new file mode 100644
index 0000000..6421574
--- /dev/null
+++ b/recipes-extended/rxtx/files/zsystem_init_exception.patch
@@ -0,0 +1,19 @@
1Description: print exception if initialization fails
2Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=472053
3Author: Jan Niehusmann <jan@gondor.com>
4
5Index: rxtx/src/gnu/io/RXTXPort.java
6===================================================================
7--- rxtx.orig/src/gnu/io/RXTXPort.java 2011-02-03 20:48:21.824924891 -0500
8+++ rxtx/src/gnu/io/RXTXPort.java 2011-02-03 20:50:04.058464228 -0500
9@@ -86,7 +86,9 @@
10 {
11 try {
12 z = new Zystem();
13- } catch ( Exception e ) {}
14+ } catch ( Exception e ) {
15+ throw new Error(e.toString());
16+ }
17
18 if(debug )
19 z.reportln( "RXTXPort {}");