summaryrefslogtreecommitdiff
path: root/java/src/IceGridGUI/Logger.java
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2013-09-02 16:37:34 +0200
committerJose <jose@zeroc.com>2013-09-02 16:37:34 +0200
commita02750f7b732afc719f2101895bf7d80d4e8aa07 (patch)
tree9cc8a5ca5f5673e8c9a94b6d0366549be16ad4c4 /java/src/IceGridGUI/Logger.java
parentFixed unreferenced local variables (diff)
downloadice-a02750f7b732afc719f2101895bf7d80d4e8aa07.tar.bz2
ice-a02750f7b732afc719f2101895bf7d80d4e8aa07.tar.xz
ice-a02750f7b732afc719f2101895bf7d80d4e8aa07.zip
IceGrid GUI - Ignore spurious selector wake up warnings in solaris.
Diffstat (limited to 'java/src/IceGridGUI/Logger.java')
-rw-r--r--java/src/IceGridGUI/Logger.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/java/src/IceGridGUI/Logger.java b/java/src/IceGridGUI/Logger.java
index 794fb981cfa..21cbe3ae3ba 100644
--- a/java/src/IceGridGUI/Logger.java
+++ b/java/src/IceGridGUI/Logger.java
@@ -26,6 +26,13 @@ public class Logger extends Ice.LoggerI
public void
warning(final String message)
{
+ //
+ // Ignore spurious selector wake up warnings in solaris.
+ //
+ if(OS_IS_SOLARIS && message.equals("spurious selector wake up"))
+ {
+ return;
+ }
SwingUtilities.invokeLater(new Runnable()
{
public void run()
@@ -56,4 +63,6 @@ public class Logger extends Ice.LoggerI
}
private final JFrame _mainFrame;
+
+ private static final boolean OS_IS_SOLARIS = System.getProperty("os.name").equals("SunOS");
}