freebsd-ports/comms/rxtx/files/patch-src-gnu-io-SerialPortEvent.java
Kirill Ponomarev 19a4f0ddb2 - Added LICENSE
- Fixed patches for portlint
  - Supressed debug message on RXTXPort:removeEventListener:Exit when not in debug mode
  - Added java bootstrap class
  - Updated java source/target directives which will be depreciated in future release, see http://openjdk.java.net/
+jeps/182, and regression tested functionality.

PR:		216248
Submitted by:	james@elstone.net
Approved by:	mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D9508
2017-02-09 17:50:06 +00:00

11 lines
470 B
Java

--- src/gnu/io/SerialPortEvent.java.orig 2007-04-26 05:26:06 UTC
+++ src/gnu/io/SerialPortEvent.java
@@ -76,6 +76,8 @@ public class SerialPortEvent extends Eve
public static final int PE =8;
public static final int FE =9;
public static final int BI =10;
+
+ private final static boolean debug = "true".equals( System.getProperty( "gnu.io.rxtx.DEBUG" ) );
private boolean OldValue;
private boolean NewValue;