Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
2.5
-
None
-
None
-
Operating System: All
Platform: All
-
50698
Description
In response to a recent post on fop-users@ (see: http://marc.info/?l=fop-user&m=129646673801270&w=2), the attached patch:
- adds two methods to fop.util.ColorProfileUtil that perform calls to ICC_Profile.getInstance() in a synchronized fashion (only the InputStream and int variants are used)
- replaces all direct calls to ICC_Profile.getInstance() in FOP's code with calls to one of those new methods
Note: The issue mentioned in the original post is not addressed by this patch, as that instance of the issue arises somewhere in XMLGraphics.
Probably a good step to take towards solving this in XG, is to migrate the ColorProfileUtil class there, and have FOP reference that one.
Attachments
Attachments
Issue Links
- is related to
-
FOP-2745 Multi-threaded initialization fails
- Open