mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 01:50:44 +01:00
get things compiling again..
This commit is contained in:
@@ -68,7 +68,7 @@ class PdeMessageSiphon implements Runnable {
|
||||
(mess.indexOf("Bad file descriptor") != -1)) {
|
||||
//if (e.getMessage().indexOf("Bad file descriptor") == -1) {
|
||||
//System.err.println("PdeMessageSiphon err " + e);
|
||||
e.printStackTrace();
|
||||
//e.printStackTrace();
|
||||
}
|
||||
thread = null;
|
||||
}
|
||||
|
||||
@@ -408,7 +408,10 @@ public class PdeRuntime implements PdeMessageConsumer {
|
||||
|
||||
// if s.length <=2, ignore it because that probably means
|
||||
// that it's just the platform line-terminators.
|
||||
if (newMessage && s.length() > 2) {
|
||||
if (s.length() < 2) return;
|
||||
|
||||
//if (newMessage && s.length() > 2) {
|
||||
if (newMessage) {
|
||||
exception = new PdeException(s); // type of java ex
|
||||
exception.hideStackTrace = true;
|
||||
//System.out.println("setting ex type to " + s);
|
||||
|
||||
Reference in New Issue
Block a user