Index: /applications/editors/josm/plugins/geotools/src/org/openstreetmap/josm/plugins/geotools/GeoToolsPlugin.java
===================================================================
--- /applications/editors/josm/plugins/geotools/src/org/openstreetmap/josm/plugins/geotools/GeoToolsPlugin.java	(revision 33957)
+++ /applications/editors/josm/plugins/geotools/src/org/openstreetmap/josm/plugins/geotools/GeoToolsPlugin.java	(revision 33958)
@@ -12,4 +12,5 @@
 import javax.media.jai.OperationRegistry;
 
+import org.geotools.image.ImageWorker;
 import org.geotools.referencing.CRS;
 import org.opengis.referencing.FactoryException;
@@ -41,4 +42,9 @@
         // See https://www.java.net/node/666373
         System.setProperty("com.sun.media.jai.disableMediaLib", "true");
+
+        // As JAI-Ext will replace the operation registry, it needs to be loaded before we modify it later on
+        if (ImageWorker.isJaiExtEnabled()) {
+            Logging.debug("geotools: load JAI-Ext operations");
+        }
 
         // As the JAI jars are bundled in the geotools plugin, JAI initialization does not work,
