mirror of
https://github.com/openRuyi-Project/gcc.git
synced 2026-06-16 00:16:04 +00:00
15f1298bf1
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
25 lines
514 B
Java
25 lines
514 B
Java
/* Copyright (C) 2001, 2003 Free Software Foundation
|
|
|
|
This file is part of libgcj.
|
|
|
|
This software is copyrighted work licensed under the terms of the
|
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
|
details. */
|
|
|
|
package gnu.gcj;
|
|
|
|
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;
|
|
|
|
Core ()
|
|
{
|
|
}
|
|
}
|