Configuration.java.in (INIT_LOAD_LIBRARY): New constant.
* gnu/classpath/Configuration.java.in (INIT_LOAD_LIBRARY): New constant. * java/io/StreamTokenizer.java, java/util/ResourceBundle.java: Re-merged with Classpath. From-SVN: r45835
This commit is contained in:
parent
1685382e99
commit
03219cb5d9
4 changed files with 47 additions and 4 deletions
|
@ -28,6 +28,7 @@ executable file might be covered by the GNU General Public License. */
|
|||
package java.util;
|
||||
import java.lang.ref.Reference;
|
||||
import java.lang.ref.SoftReference;
|
||||
import gnu.classpath.Configuration;
|
||||
|
||||
/**
|
||||
* A resource bundle contains locale-specific data. If you need
|
||||
|
@ -73,6 +74,14 @@ import java.lang.ref.SoftReference;
|
|||
* @author Jochen Hoenicke */
|
||||
public abstract class ResourceBundle
|
||||
{
|
||||
static
|
||||
{
|
||||
if (Configuration.INIT_LOAD_LIBRARY)
|
||||
{
|
||||
System.loadLibrary ("javautil");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The parent bundle. This is consulted when you call getObject
|
||||
* and there is no such resource in the current bundle. This
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue