[ 
https://issues.apache.org/jira/browse/ARTEMIS-3302?focusedWorklogId=633554&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-633554
 ]

ASF GitHub Bot logged work on ARTEMIS-3302:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 04/Aug/21 13:48
            Start Date: 04/Aug/21 13:48
    Worklog Time Spent: 10m 
      Work Description: gemmellr commented on pull request #3682:
URL: https://github.com/apache/activemq-artemis/pull/3682#issuecomment-892673852


   I was also about to merge this, tried it out and it resolved the failures. 
(I was waiting until after trying it out together with some CI related changes 
I'm working on that would have caught this problem in the PR, and separately 
the Java 15+ breakage and deprecation fixes from the original changes).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 633554)
    Time Spent: 1.5h  (was: 1h 20m)

> various use of deprecated-for-removal javax.security.cert.X509Certificate
> -------------------------------------------------------------------------
>
>                 Key: ARTEMIS-3302
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3302
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.17.0
>            Reporter: Robbie Gemmell
>            Assignee: Justin Bertram
>            Priority: Critical
>             Fix For: 2.18.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> The codebase is using javax.security.cert.X509Certificate in various places. 
> This was noted superceded by the java.security.cert replacement since ~Java 
> 1.4, and marked deprecated in Java 9 along with the entire 
> javax.security.cert package. The deprecation was raised to for-removal status 
> in Java 13 [1].
> Building using Java 16 [2] without using the -release flag (which doesnt 
> actually work for Artemis due to API usages that -release doesnt permit) 
> means the build uses the Java 16 signatures when compiling regardless what 
> the -target version is, which has the side effect of helpfully pointing out a 
> lot of deprecated-for-removal APIs that the codebase is still using.
> They have actually removed the impl for some of the deprecated bits in Java 
> 15 already [3], e.g changing them to default interface methods that throw 
> UnsupportedOperationException, meaning no current Artemis release works on 
> Java 15+ if using SSL/TLS and calling those methods.
> [1] [https://bugs.openjdk.java.net/browse/JDK-8160247]
> [2] 
> [https://github.com/apache/activemq-artemis/runs/2598974966?check_suite_focus=true]
> [3] [https://bugs.openjdk.java.net/browse/JDK-8241047]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to