Modify ↓
#15683 closed enhancement (fixed)
[PATCH] Fix registration of JAI operations
Reported by: | george-hopkins | Owned by: | Don-vip |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin geotools | Version: | |
Keywords: | Cc: |
Description
As the JAI JARs are bundled with the plugin, the regular initialization procedure does not work for JAI. We therefore register the operations by hand. However, the manually registered operations are lost as soon as JAI-Ext gets initialized because JAI-Ext replaces the operation registry once it is initialized. With the attached patched, JAI-Ext is initialized before we load the remaining operations.
Timeline how the bug gets triggered in ImageImportPlugin:
- JAI gets initialized
- User loads first image successfully (with ImageRead operation)
- JOSM displays layer which triggers the initialization of JAI-Ext
- JAI-Ext replaces the operation registry
- User loads second image which fails as ImageRead operation is no longer available
Attachments (1)
Change History (5)
by , 7 years ago
Attachment: | jaiext.patch added |
---|
comment:1 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in [o33958:33959]. Thanks for the patch! :)