[
https://issues.apache.org/jira/browse/ARTEMIS-3302?focusedWorklogId=629013&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-629013
]
ASF GitHub Bot logged work on ARTEMIS-3302:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 28/Jul/21 11:07
Start Date: 28/Jul/21 11:07
Worklog Time Spent: 10m
Work Description: gemmellr commented on pull request #3671:
URL: https://github.com/apache/activemq-artemis/pull/3671#issuecomment-888222555
So, actually looking at the wider usage and considering it a bit more....the
particular use is in testing for a SslTransport class coming from the
_activemq-client_ 5.14.0 dependency used in that module. Seems those tests
arent even using the same version that the artemis-openwire-protocol actually
does, since that is on 5.16.0.
Its not clear to me that the class under test is actually used anywhere in
the broker. If not it would seem like the stub and related test etc should just
be straight up deleted because they would be extraneous already, not testing
anything the artemis codebase could influence.
--
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: 629013)
Time Spent: 50m (was: 40m)
> 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: 50m
> 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)