Control: tags -1 + patch

Samuel Thibault, le lun. 11 juin 2018 15:17:05 +0200, a ecrit:
> be it a hardcoded classpath to java-atk-wrapper.jar.

For instance the attached patch works fine (and doesn't disturb the
headless case).

Samuel
Index: openjdk-10-10.0.1+10/src/hotspot/os/linux/os_linux.cpp
===================================================================
--- openjdk-10-10.0.1+10.orig/src/hotspot/os/linux/os_linux.cpp
+++ openjdk-10-10.0.1+10/src/hotspot/os/linux/os_linux.cpp
@@ -369,6 +369,7 @@ void os::init_system_properties_values()
     }
     Arguments::set_java_home(buf);
     set_boot_path('/', ':');
+    Arguments::append_sysclasspath("/usr/share/java/java-atk-wrapper.jar");
   }
 
   // Where to look for native libraries.

Reply via email to