[
https://issues.apache.org/jira/browse/MATH-1633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17472384#comment-17472384
]
Gilles Sadowski commented on MATH-1633:
---------------------------------------
bq. The code then almost builds on JDK 17. It fails for the legacy module as
AccurateMath does not implement all java.util.Math methods.
This has been fixed in [commit
9b0fc1fe7faad6b97096953233777e94ec0f7bd1|https://gitbox.apache.org/repos/asf?p=commons-math.git;a=commit;h=9b0fc1fe7faad6b97096953233777e94ec0f7bd1].
> Commons-Math does not build under java 17
> -----------------------------------------
>
> Key: MATH-1633
> URL: https://issues.apache.org/jira/browse/MATH-1633
> Project: Commons Math
> Issue Type: Bug
> Affects Versions: 4.0
> Reporter: Erik Svensson
> Priority: Major
>
> Building with java 17 fails with
> {{[WARNING] Error injecting: org.codehaus.mojo.spotbugs.SpotBugsMojo}}
> {{com.google.inject.ProvisionException: Unable to provision, see the
> following errors:}}
> {{1) Error injecting constructor, java.lang.NoClassDefFoundError: Could not
> initialize class org.codehaus.groovy.vmplugin.v7.Java7}}
> {{ at org.codehaus.mojo.spotbugs.SpotBugsMojo.<init>(Unknown Source)}}
> {{ while locating org.codehaus.mojo.spotbugs.SpotBugsMojo}}
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)