[
https://issues.apache.org/jira/browse/CALCITE-7307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18041141#comment-18041141
]
Issac Garcia commented on CALCITE-7307:
---------------------------------------
A workaround I found in my project is to exclude the transitive dependency
joou-java-6 & add as dependency the one proposed
[https://github.com/jOOQ/jOOU] for java 9+
It seems to work, packages are the same, and code seems the same, with a small
difference on the `hash` method, but is a hacky solution which can break in the
future if code diverges
> A new added dependency conflicts with Java 9+ and JPMS
> ------------------------------------------------------
>
> Key: CALCITE-7307
> URL: https://issues.apache.org/jira/browse/CALCITE-7307
> Project: Calcite
> Issue Type: Bug
> Affects Versions: 1.41.0
> Reporter: Issac Garcia
> Priority: Minor
>
> In Calcite-core during the work of this issue
> https://issues.apache.org/jira/browse/CALCITE-1466 a new introduced
> dependency seems problematic to work with new Java versions.
> I receive the following error with Java 21 in a project with JPMS:
>
> {code:java}
> Unable to derive module descriptor for joou-java-6-0.9.4.jar ... Caused by:
> java.lang.IllegalArgumentException: joou.java.6: Invalid module name: '6' is
> not a Java identifier {code}
> It seems JPMS does not like the "6" in the artifact name.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)