Bug 64036 - Replace reflection calls in factories for Java 9+
Summary: Replace reflection calls in factories for Java 9+
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: POI Overall (show other bugs)
Version: 4.1.x-dev
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks: 64132
  Show dependency tree
 
Reported: 2019-12-28 22:25 UTC by Andreas Beeker
Modified: 2022-07-02 06:08 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Beeker 2019-12-28 22:25:28 UTC
As a preparation for Java 9+, we should minimize the usage of java.lang.reflect by other means where possible.

This entry is the container to track those changes.
Comment 1 Andreas Beeker 2019-12-28 22:40:22 UTC
remove reflective calls in Workbook- and SlideShowFactory via r1872066
Comment 2 Andreas Beeker 2020-01-26 19:51:53 UTC
Migrated Escher factories via r1873187
Comment 3 Andreas Beeker 2020-01-27 00:31:50 UTC
Migrated POIXMLDocument factories with r1873190
Comment 4 Andreas Beeker 2020-04-13 21:56:07 UTC
Migrated HSSF Record Factory via r1876467
Comment 5 Andreas Beeker 2020-08-16 14:33:30 UTC
migrated XDGF factories via r1880900
Comment 6 Andreas Beeker 2020-08-16 16:59:31 UTC
removed some unnecessary reflection calls in OperationEvaluatorFactory via r1880903
Comment 7 Andreas Beeker 2020-08-16 23:22:38 UTC
ImageRenderer implementation are now loaded via ServiceLoader via r1880909 and r1880911.
fixed the ServiceLoader.load invocations to pass a sensible ClassLoader as OSGi preparation
Comment 8 Andreas Beeker 2020-08-17 11:50:55 UTC
provide EvalutionWorkbook in HSSF/XSSF/SXSSF via r1880925
Comment 9 Andreas Beeker 2021-10-16 00:01:50 UTC
use ServiceLoader for HSLF Metro Shapes via r1894298
Comment 10 PJ Fanning 2022-07-01 13:17:26 UTC
Hi Andreas - is this complete - if not, could you provide some pointers on what else remains to be done?
Comment 11 Andreas Beeker 2022-07-02 06:08:41 UTC
I'm closing this for now. I think the last things I've done to finish this, was to move the *BiffViewer to the test area.