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

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

                Author: ASF GitHub Bot
            Created on: 27/Jul/21 16:55
            Start Date: 27/Jul/21 16:55
    Worklog Time Spent: 10m 
      Work Description: jbertram commented on pull request #3671:
URL: https://github.com/apache/activemq-artemis/pull/3671#issuecomment-887674273


   @gemmellr, I updated everything except 
`org.apache.activemq.transport.tcp.StubSSLSession` because it is actually 
implementing `javax.net.ssl.SSLSession` so it *must* use 
`javax.security.cert.X509Certificate[]`. This, of course, will cause a problem 
when it is eventually removed as that class will still work in older JDKs but 
will fail in the latest. It looks like the only place where `StubSSLSession` is 
used is `org.apache.activemq.transport.tcp.SslTransportTest`. I'm not sure if 
we should wait and remove that test now or later. What do you think?


-- 
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: 628613)
    Time Spent: 0.5h  (was: 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
>            Priority: Critical
>          Time Spent: 0.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.
> [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)

Reply via email to