Integrated: 8257420: Zero VM build broken with clang after JDK-8256726 due to strlen() is not a constexpr

Jie Fu jiefu at openjdk.java.net
Tue Dec 1 03:41:54 UTC 2020


On Mon, 30 Nov 2020 14:24:12 GMT, Jie Fu <jiefu at openjdk.org> wrote:

> Hi all,
> 
> The newly added STATIC_ASSERT [1] breaks the build of Zero VM with clang.
> It complains that 'non-type template argument is not a constant expression' since strlen() [2] is not a constexpr.
> 
> Any comments?
> 
> Thanks.
> Best regards,
> Jie
> 
> [1] https://github.com/openjdk/jdk/blob/master/src/hotspot/share/interpreter/zero/bytecodeInterpreter.cpp#L1374
> [2] https://github.com/openjdk/jdk/blob/master/src/hotspot/share/runtime/flags/jvmFlagLookup.hpp#L42

This pull request has now been integrated.

Changeset: 0eaf0bbe
Author:    Jie Fu <jiefu at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/0eaf0bbe
Stats:     3 lines in 1 file changed: 0 ins; 2 del; 1 mod

8257420: Zero VM build broken with clang after JDK-8256726 due to strlen() is not a constexpr

Reviewed-by: shade, stuefe

-------------

PR: https://git.openjdk.java.net/jdk/pull/1518


More information about the hotspot-runtime-dev mailing list