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

Ningsheng Jian ningsheng.jian at arm.com
Fri Jul 17 06:20:42 UTC 2020


Hi Paul,

Yes. Thanks for the fix!

Ningsheng

On 7/17/20 7:54 AM, Paul Sandoz wrote:
> 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