You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use proper classloader for finding SVGRasterizer #1965#2049
When initializing the SVGFileFormat class for loading SVGs, the current
context classloader is used by the ServiceLoader to find an
SVGRasterizer implementation. This classloader may be incorrect in some
cases, i.e., it may not be the plain system classloader or an according
OSGi classloader but, e.g., some specific classloader for test
execution.
This change makes the ServiceLoader use the same classloader for finding
an SVGRasterizer implementation than the classloader of the
SVGFileFormat class containing the rasterizer reference itself.
Fixes#1965Fixes#2049
0 commit comments