JAL-3991 Added information output about the slightly alarming 'WARNING: An illegal...
authorBen Soares <b.soares@dundee.ac.uk>
Wed, 6 Apr 2022 23:28:24 +0000 (00:28 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Wed, 6 Apr 2022 23:28:24 +0000 (00:28 +0100)
src/jalview/gui/Desktop.java

index aeb0fac..5b0d45a 100644 (file)
@@ -20,8 +20,6 @@
  */
 package jalview.gui;
 
-import java.util.Locale;
-
 import java.awt.BorderLayout;
 import java.awt.Color;
 import java.awt.Dimension;
@@ -64,6 +62,7 @@ import java.util.HashMap;
 import java.util.Hashtable;
 import java.util.List;
 import java.util.ListIterator;
+import java.util.Locale;
 import java.util.Vector;
 import java.util.concurrent.ExecutorService;
 import java.util.concurrent.Executors;
@@ -414,6 +413,8 @@ public class Desktop extends jalview.jbgui.GDesktop
      */
     if (Platform.isLinux())
     {
+      jalview.bin.Console.info(
+              "Linux platform only! You may have the following warning next: \"WARNING: An illegal reflective access operation has occurred\"\nThis is expected and cannot be avoided, sorry about that.");
       try
       {
         Toolkit xToolkit = Toolkit.getDefaultToolkit();