[
https://issues.apache.org/jira/browse/AMQ-8282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17357052#comment-17357052
]
ASF subversion and git services commented on AMQ-8282:
------------------------------------------------------
Commit 950a1404558d07d80b8eaef48b998b158d689212 in activemq's branch
refs/heads/main from Matt Pavlovich
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=950a140 ]
[AMQ-8282] Migrate from deprecated .newInstance() calls to
.getConstructors().newInstance
> Convert .newInstance() references to getConstructor().newInstance()
> -------------------------------------------------------------------
>
> Key: AMQ-8282
> URL: https://issues.apache.org/jira/browse/AMQ-8282
> Project: ActiveMQ
> Issue Type: Task
> Reporter: Matt Pavlovich
> Assignee: Matt Pavlovich
> Priority: Major
> Fix For: 5.17.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Class.newInstance() is deprecated the correct replacement is
> .getConstructors().newInstance()
> This introduces a new exception to be added to some method signatures.
> Approach:
> 1. Add the exception where it makes sense
> 2. Wrap it where we must
--
This message was sent by Atlassian Jira
(v8.3.4#803005)