You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "YuJue Li (Jira)" <ji...@apache.org> on 2023/05/06 08:01:00 UTC

[jira] [Created] (IGNITE-19436) Add "--add-opens=java.base/java.time=ALL-UNNAMED" to jvm args

YuJue Li created IGNITE-19436:
---------------------------------

             Summary: Add "--add-opens=java.base/java.time=ALL-UNNAMED" to jvm args
                 Key: IGNITE-19436
                 URL: https://issues.apache.org/jira/browse/IGNITE-19436
             Project: Ignite
          Issue Type: Improvement
          Components: sql
    Affects Versions: 2.15
            Reporter: YuJue Li
            Assignee: YuJue Li
             Fix For: 2.16


1.start a node with calcite-based sql engine is enabled;

2.execute the following SQL:

  select /*+ QUERY_ENGINE('calcite') */ count(*) from T;

then:
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private final int java.time.LocalDate.year accessible: module java.base does not "opens java.time" to unnamed module @587d1d39



--
This message was sent by Atlassian Jira
(v8.20.10#820010)