[jboss-jira] [JBoss JIRA] (DROOLS-5578) Kie Server uses obselete/to be deleted Java APIs

Steve Davidson (Jira) issues at jboss.org
Thu Aug 13 17:14:00 EDT 2020


    [ https://issues.redhat.com/browse/DROOLS-5578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14394055#comment-14394055 ] 

Steve Davidson commented on DROOLS-5578:
----------------------------------------

[https://github.com/kiegroup/droolsjbpm-integration/pull/2197]

+Currently skipped:+
drools-ha/ha-core-infra/src/main/java/org/kie/hacep/core/infra/election/LeaderElectionImpl.java
uses deprecated method java/math/BigDecimal::divide(Ljava/math/BigDecimal;II)Ljava/math/BigDecimal;

This is a fairly recent update to the Kie Code base.  I will have a handler and update for this ready in the next day or so.

+java/security/acl/Group+
An API schedule for removal in JDK 14.  Used/implemented by:
./kie-tomcat-integration/src/main/java/org/kie/integration/tomcat/SimpleRolePrincipal.java
./kie-tomcat-integration/src/main/java/org/kie/integration/tomcat/JACCValve.java
./kie-server-parent/kie-server-services/kie-server-services-common/src/main/java/org/kie/server/services/impl/security/JACCIdentityProvider.java
./kie-server-parent/kie-server-services/kie-server-services-common/src/main/java/org/kie/server/services/impl/security/adapters/JMSSecurityAdapter.java

Possibly related discussions:
https://issues.redhat.com/browse/JBWS-4133
https://issues.redhat.com/browse/ELY-1744

While this issue isn't one that lends itself to automated fixes, I may be able to assist depending on what is decided for the fix.


> Kie Server uses obselete/to be deleted Java APIs
> ------------------------------------------------
>
>                 Key: DROOLS-5578
>                 URL: https://issues.redhat.com/browse/DROOLS-5578
>             Project: Drools
>          Issue Type: Component Upgrade
>          Components: kie server
>    Affects Versions: 7.38.0.Final, 7.39.0.Final, 7.40.0.Final, 7.41.0.Final
>            Reporter: Steve Davidson
>            Assignee: Mario Fusco
>            Priority: Minor
>              Labels: Kie-Server, kie, kie-server
>
> Kie Server is using several deprecated and soon to be restricted/deleted Java APIs.  Much of this has been cleaned up over the last year or so, but there are still a few instances of old Java APIs in use.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)



More information about the jboss-jira mailing list