jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 62972] New: Get rid of deprecated calls to Class#newInstance
Date Sun, 02 Dec 2018 10:57:41 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=62972

            Bug ID: 62972
           Summary: Get rid of deprecated calls to Class#newInstance
           Product: JMeter
           Version: 5.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: felix.schumacher@internetallee.de
  Target Milestone: JMETER_5.1

Java 9 deprecated Class#newInstance. So let's try to get rid of those calls by
replacing them with Class#getDeclaredConstructor#newInstance, which should be
the equivalent logic.

The PR https://github.com/apache/jmeter/pull/435 gets rid of all but two
occurrences. The two remaining ones would result in API changes.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message