src/java.desktop/share/classes/javax/imageio/spi/IIORegistry.java

Print this page

        

*** 62,75 **** * more heavyweight classes that will perform actual work, in this * case instances of <code>ImageReader</code>, * <code>ImageWriter</code>, <code>ImageTranscoder</code>, * <code>ImageInputStream</code>, and <code>ImageOutputStream</code>. * ! * <p> Service providers found on the system classpath (typically ! * the <code>lib/ext</code> directory in the Java ! * installation directory) are automatically loaded as soon as this class is ! * instantiated. * * <p> When the <code>registerApplicationClasspathSpis</code> method * is called, service provider instances declared in the * meta-information section of JAR files on the application class path * are loaded. To declare a service provider, a <code>services</code> --- 62,73 ---- * more heavyweight classes that will perform actual work, in this * case instances of <code>ImageReader</code>, * <code>ImageWriter</code>, <code>ImageTranscoder</code>, * <code>ImageInputStream</code>, and <code>ImageOutputStream</code>. * ! * Service providers found from the Java platform are automatically ! * loaded as soon as this class is instantiated. * * <p> When the <code>registerApplicationClasspathSpis</code> method * is called, service provider instances declared in the * meta-information section of JAR files on the application class path * are loaded. To declare a service provider, a <code>services</code>
*** 225,237 **** } } private void registerInstalledProviders() { /* ! We need to load installed providers from the ! system classpath (typically the <code>lib/ext</code> ! directory in in the Java installation directory) in the privileged mode in order to be able read corresponding jar files even if file read capability is restricted (like the applet context case). */ --- 223,233 ---- } } private void registerInstalledProviders() { /* ! We need to load installed providers in the privileged mode in order to be able read corresponding jar files even if file read capability is restricted (like the applet context case). */