mirror of
https://github.com/corda/corda.git
synced 2025-04-15 23:16:59 +00:00
don't load libmawt ahead of time when starting the VM
At one point, loading libmawt ahead of time was necessary to make AWT work, but recent versions of OpenJDK seem to take care this from Java code, in which case loading it ahead of time causes trouble, so we comment it out for now until we exactly when it's needed.
This commit is contained in:
parent
435dbbc874
commit
419ac24963
@ -695,7 +695,13 @@ class MyClasspath : public Classpath {
|
||||
expect(t, loadLibrary(t, libraryPath, "verify", true, true));
|
||||
expect(t, loadLibrary(t, libraryPath, "java", true, true));
|
||||
# ifndef PLATFORM_WINDOWS
|
||||
loadLibrary(t, libraryPath, "mawt", true, true, false);
|
||||
// at one point, loading libmawt ahead of time was necessary to
|
||||
// make AWT work, but recent versions of OpenJDK seem to take care
|
||||
// of this from Java code, in which case loading it ahead of time
|
||||
// actually causes trouble, so we comment it out for now until we
|
||||
// know exactly when it's needed:
|
||||
|
||||
//loadLibrary(t, libraryPath, "mawt", true, true, false);
|
||||
# endif
|
||||
#endif // not AVIAN_OPENJDK_SRC
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user