[vector] include header file for java_lang_Class definition in opto/library_call.hpp

Paul Sandoz paul.sandoz at oracle.com
Thu Jul 16 23:54:35 UTC 2020


Hi,

Debug builds fail when building with no precompiled headers. Specifically the compilation of vectorIntrinsics.cpp fails, since library_call.hpp makes reference to java_lang_Class, but neither file provides inclusion of the definition (defined in classfile/javaClasses.hpp).

See patch below.

Paul.

diff -r f50bcfb0a7f1 src/hotspot/share/opto/library_call.hpp
--- a/src/hotspot/share/opto/library_call.hpp   Wed Jul 15 18:43:27 2020 -0700
+++ b/src/hotspot/share/opto/library_call.hpp   Thu Jul 16 16:37:51 2020 -0700
@@ -23,6 +23,7 @@
  */
 
 #include "ci/ciMethod.hpp"
+#include "classfile/javaClasses.hpp"
 #include "opto/callGenerator.hpp"
 #include "opto/graphKit.hpp"
 #include "opto/castnode.hpp"


More information about the panama-dev mailing list