URLClassLoader.java: import gnu.gcj.Core, and gnu.java.net.protocol.core.CoreInputStream.

2005-06-04  Anthony Green  <green@redhat.com>

        * java/net/URLClassLoader.java: import gnu.gcj.Core,
        and gnu.java.net.protocol.core.CoreInputStream.
        (CureURLLoader): New class.
        (CoreResource): New class.
        (addURLImpl): Add special treatment for the "core" protocol.
        * gnu/gcj/natCore.cc (find): New method.
        * gnu/gcj/Core.java (find): New method.

From-SVN: r100582
This commit is contained in:
Anthony Green
2005-06-04 11:23:29 +00:00
committed by Anthony Green
parent e0342c26d3
commit 15f1298bf1
4 changed files with 84 additions and 1 deletions
+3
View File
@@ -12,6 +12,9 @@ public class Core
{
public native static Core create (String name) throws java.io.IOException;
// Same as create, except returns null if not found.
public native static Core find (String name);
public RawData ptr;
public int length;