ome / bioformats

Bio-Formats is a Java library for reading and writing data in life sciences image file formats. It is developed by the Open Microscopy Environment. Bio-Formats is released under the GNU General Public License (GPL); commercial licenses are available from Glencoe Software.
https://www.openmicroscopy.org/bio-formats
GNU General Public License v2.0
370 stars 241 forks source link

Fix most Java 9+ deprecation warnings in bio-formats-plugins component #4178

Closed melissalinkert closed 2 months ago

melissalinkert commented 2 months ago

In the same spirit as #4177.

The Class.newInstance() changes are as recommended in https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html#newInstance(). There should now be only 8 warnings in the bio-formats-plugins component.

Scheduling for 8.0.0 as discussed earlier today, so that we can sort out warnings right after 7.3.0.