mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
19a4f0ddb2
- 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
12 lines
462 B
Java
12 lines
462 B
Java
--- src/gnu/io/LPRPort.java.orig 2007-04-26 05:26:05 UTC
|
|
+++ src/gnu/io/LPRPort.java
|
|
@@ -77,7 +77,7 @@ final class LPRPort extends ParallelPort
|
|
|
|
/** Initialize the native library */
|
|
private native static void Initialize();
|
|
- private final static boolean debug = false;
|
|
+ private final static boolean debug = "true".equals( System.getProperty( "gnu.io.rxtx.DEBUG" ) );
|
|
|
|
/** Open the named port */
|
|
public LPRPort( String name ) throws PortInUseException
|