diff options
Diffstat (limited to 'recipes-extended/rxtx/files/zsystem_init_exception.patch')
-rw-r--r-- | recipes-extended/rxtx/files/zsystem_init_exception.patch | 19 |
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 @@ | |||
1 | Description: print exception if initialization fails | ||
2 | Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=472053 | ||
3 | Author: Jan Niehusmann <jan@gondor.com> | ||
4 | |||
5 | Index: 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 {}"); | ||