1 |
/* VMClassLoader.java -- Reference implementation of native interface |
/* VMClassLoader.java -- Reference implementation of native interface |
2 |
required by ClassLoader |
required by ClassLoader |
3 |
Copyright (C) 1998, 2001, 2002 Free Software Foundation |
Copyright (C) 1998, 2001, 2002, 2004 Free Software Foundation |
4 |
|
|
5 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
6 |
|
|
87 |
* domain; that is the wrong behavior, and you should directly implement |
* domain; that is the wrong behavior, and you should directly implement |
88 |
* this method natively if you can.</strong> |
* this method natively if you can.</strong> |
89 |
* |
* |
90 |
|
* Implementations of this method are advised to consider the |
91 |
|
* situation where user code modifies the byte array after it has |
92 |
|
* been passed to defineClass. This can be handled by making a |
93 |
|
* private copy of the array, or arranging to only read any given |
94 |
|
* byte a single time. |
95 |
|
* |
96 |
* @param name the name to give the class, or null if unknown |
* @param name the name to give the class, or null if unknown |
97 |
* @param data the data representing the classfile, in classfile format |
* @param data the data representing the classfile, in classfile format |
98 |
* @param offset the offset into the data where the classfile starts |
* @param offset the offset into the data where the classfile starts |