freebsd-ports/comms/rxtx/files/patch-src-gnu-io-NoSuchPortException.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

12 lines
366 B
Java

--- src/gnu/io/NoSuchPortException.java.orig 2007-04-26 05:26:05 UTC
+++ src/gnu/io/NoSuchPortException.java
@@ -67,6 +67,9 @@ import java.util.*;
public class NoSuchPortException extends Exception
{
+
+ private final static boolean debug = "true".equals( System.getProperty( "gnu.io.rxtx.DEBUG" ) );
+
NoSuchPortException( String str )
{
super( str );