This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FYI: mini Classpath sync Float


Hi,

This removes the static block that does a loadLibrary(). Classpath now
handles such VM specific things in the VMFloat class and libgcj already
had Configuration.INIT_LOAD_LIBRARY = false.

2003-11-21  Mark Wielaard  <mark@klomp.org>

       * java/lang/Float.java (static): Removed.

Cheers,

Mark


Index: java/lang/Float.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/lang/Float.java,v
retrieving revision 1.15
diff -u -r1.15 Float.java
--- java/lang/Float.java	23 Sep 2003 21:42:40 -0000	1.15
+++ java/lang/Float.java	21 Nov 2003 10:38:46 -0000
@@ -1,5 +1,5 @@
 /* Float.java -- object wrapper for float
-   Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -38,8 +38,6 @@
 
 package java.lang;
 
-import gnu.classpath.Configuration;
-
 /**
  * Instances of class <code>Float</code> represent primitive
  * <code>float</code> values.
@@ -100,17 +98,6 @@
    * @serial the wrapped float
    */
   private final float value;
-
-  /**
-   * Load native routines necessary for this class.
-   */
-  static
-  {
-    if (Configuration.INIT_LOAD_LIBRARY)
-      {
-        System.loadLibrary("javalang");
-      }
-  }
 
   /**
    * Create a <code>Float</code> from the primitive <code>float</code>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]