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/06/02 13:34:00 UTC

[jira] [Work logged] (AMQ-8282) Convert .newInstance() references to getConstructor().newInstance()

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

ASF GitHub Bot logged work on AMQ-8282:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 02/Jun/21 13:33
            Start Date: 02/Jun/21 13:33
    Worklog Time Spent: 10m 
      Work Description: mattrpav opened a new pull request #665:
URL: https://github.com/apache/activemq/pull/665


   …uctors().newInstance


-- 
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.

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


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

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

> 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)