You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/07/26 03:11:00 UTC

[jira] [Work logged] (ARTEMIS-3302) various use of deprecated-for-removal javax.security.cert.X509Certificate

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

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

                Author: ASF GitHub Bot
            Created on: 26/Jul/21 03:10
            Start Date: 26/Jul/21 03:10
    Worklog Time Spent: 10m 
      Work Description: jbertram opened a new pull request #3671:
URL: https://github.com/apache/activemq-artemis/pull/3671


   Casting the result of getPeerCertificates() to X509Certificate[] mirrors
   what is done in the ActiveMQ "Classic" code-base.


-- 
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: gitbox-unsubscribe@activemq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

            Worklog Id:     (was: 627501)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>            Priority: Critical
>          Time Spent: 10m
>  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.
> [1] https://bugs.openjdk.java.net/browse/JDK-8160247
> [2] https://github.com/apache/activemq-artemis/runs/2598974966?check_suite_focus=true



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