-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 8
-
Component/s: javafx
The fix for "RT-32998: Printing with JPG Image as fill for Text prints an empty page"
uncovered that BaseResourceFactory has two static WeakHashMaps used as texture caches.
These caches held a texture that was created for the on-screen pipeline.
The fix forRT-32998 replicated this, but maybe these static (on the class) caches.
Most likely what should happen is the caches should be non-static and 'protected' so
that a BaseResourceFactory would get its own. PrintResourceFactory would then not need its statics.
uncovered that BaseResourceFactory has two static WeakHashMaps used as texture caches.
These caches held a texture that was created for the on-screen pipeline.
The fix for
Most likely what should happen is the caches should be non-static and 'protected' so
that a BaseResourceFactory would get its own. PrintResourceFactory would then not need its statics.