You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by je...@apache.org on 2009/10/08 16:59:32 UTC
svn commit: r823197 -
/xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/image/loader/impl/AbstractImageSessionContext.java
Author: jeremias
Date: Thu Oct 8 14:59:31 2009
New Revision: 823197
URL: http://svn.apache.org/viewvc?rev=823197&view=rev
Log:
Fixed potential visibility problem: wrong class loader was used.
Modified:
xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/image/loader/impl/AbstractImageSessionContext.java
Modified: xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/image/loader/impl/AbstractImageSessionContext.java
URL: http://svn.apache.org/viewvc/xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/image/loader/impl/AbstractImageSessionContext.java?rev=823197&r1=823196&r2=823197&view=diff
==============================================================================
--- xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/image/loader/impl/AbstractImageSessionContext.java (original)
+++ xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/image/loader/impl/AbstractImageSessionContext.java Thu Oct 8 14:59:31 2009
@@ -189,7 +189,7 @@
protected ImageInputStream createImageInputStream(InputStream in) throws IOException {
ImageInputStream iin = ImageIO.createImageInputStream(in);
return (ImageInputStream)Proxy.newProxyInstance(
- getClass().getClassLoader(),
+ ImageInputStream.class.getClassLoader(),
new Class[] {ImageInputStream.class},
new ObservingImageInputStreamInvocationHandler(iin, in));
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org