[patch] Fix non-PCH builds

Aleksey Shipilev shade at redhat.com
Thu Nov 1 20:32:58 UTC 2018


Hi,

Not sure what is the workflow for Panama patches. This trivial fix is needed to build foreign+vector
branch with --disable-precompiled-headers. Please push where you see fit?

---- 8< --------- --------- --------- --------- --------- --------- --------- ---------

diff -r 0260ce01533b src/hotspot/share/prims/universalNativeInvoker.cpp
--- a/src/hotspot/share/prims/universalNativeInvoker.cpp	Wed Oct 31 20:59:05 2018 +0100
+++ b/src/hotspot/share/prims/universalNativeInvoker.cpp	Thu Nov 01 21:30:03 2018 +0100
@@ -22,9 +22,12 @@
  */

 #include "precompiled.hpp"
+#include "code/codeBlob.hpp"
 #include "prims/universalNativeInvoker.hpp"
 #include "runtime/interfaceSupport.inline.hpp"
 #include "runtime/jniHandles.inline.hpp"
+#include "runtime/stubCodeGenerator.hpp"
+#include "prims/methodHandles.hpp"

 BufferBlob* UniversalNativeInvoker::_invoke_native_blob = NULL;

---- 8< --------- --------- --------- --------- --------- --------- --------- ---------

Unfortunately, there is a dependency between stubCodeGenerator.hpp and methodHandles.hpp that does
not allow these headers to go alphabetically.

Thanks,
-Aleksey



More information about the panama-dev mailing list