diff --git a/libjava/ChangeLog b/libjava/ChangeLog index fe249bb3ece6..efad45dc702e 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,44 @@ +2004-10-22 Michael Koch + + * java/lang/Math.java + * java/lang/StackTraceElement.java + * java/nio/Buffer.java + * java/nio/ByteBuffer.java + * java/nio/CharBuffer.java + * java/nio/DoubleBuffer.java + * java/nio/FloatBuffer.java + * java/nio/IntBuffer.java + * java/nio/LongBuffer.java + * java/nio/ShortBuffer.java + * java/nio/charset/Charset.java + * java/rmi/server/RMIClassLoader.java + * java/rmi/server/RMISocketFactory.java + * java/security/Policy.java + * java/text/ChoiceFormat.java + * java/text/CollationElementIterator.java + * java/text/DateFormat.java + * java/text/DecimalFormat.java + * java/text/DecimalFormatSymbols.java + * java/text/MessageFormat.java + * java/text/NumberFormat.java + * java/text/RuleBasedCollator.java + * java/text/SimpleDateFormat.java + * java/util/BitSet.java + * java/util/Calendar.java + * java/util/Collections.java + * java/util/IdentityHashMap.java + * java/util/Locale.java + * java/util/TreeMap.java + * java/util/logging/LogRecord.java + * java/util/logging/XMLFormatter.java + * java/util/prefs/AbstractPreferences.java + * java/util/prefs/Preferences.java + * javax/crypto/interfaces/DHPrivateKey.java + * javax/crypto/interfaces/DHPublicKey.java + * javax/crypto/interfaces/PBEKey.java + * javax/net/ssl/HandshakeCompletedEvent.java + * javax/security/auth/Subject.java + 2004-10-22 Ulrich Weigand * gnu/java/net/natPlainSocketImplPosix.cc diff --git a/libjava/java/lang/Math.java b/libjava/java/lang/Math.java index aac33aa299d6..f1f68c4832b1 100644 --- a/libjava/java/lang/Math.java +++ b/libjava/java/lang/Math.java @@ -298,7 +298,7 @@ public final class Math * @param a the angle (in radians) * @return sin(a) */ - public native static double sin(double a); + public static native double sin(double a); /** * The trigonometric function cos. The cosine of NaN or infinity is @@ -307,7 +307,7 @@ public final class Math * @param a the angle (in radians) * @return cos(a) */ - public native static double cos(double a); + public static native double cos(double a); /** * The trigonometric function tan. The tangent of NaN or infinity @@ -317,7 +317,7 @@ public final class Math * @param a the angle (in radians) * @return tan(a) */ - public native static double tan(double a); + public static native double tan(double a); /** * The trigonometric function arcsin. The range of angles returned @@ -328,7 +328,7 @@ public final class Math * @param a the sin to turn back into an angle * @return arcsin(a) */ - public native static double asin(double a); + public static native double asin(double a); /** * The trigonometric function arccos. The range of angles returned @@ -339,7 +339,7 @@ public final class Math * @param a the cos to turn back into an angle * @return arccos(a) */ - public native static double acos(double a); + public static native double acos(double a); /** * The trigonometric function arcsin. The range of angles returned @@ -351,7 +351,7 @@ public final class Math * @return arcsin(a) * @see #atan2(double, double) */ - public native static double atan(double a); + public static native double atan(double a); /** * A special version of the trigonometric function arctan, for @@ -400,7 +400,7 @@ public final class Math * @return theta in the conversion of (x, y) to (r, theta) * @see #atan(double) */ - public native static double atan2(double y, double x); + public static native double atan2(double y, double x); /** * Take ea. The opposite of log(). If the @@ -414,7 +414,7 @@ public final class Math * @see #log(double) * @see #pow(double, double) */ - public native static double exp(double a); + public static native double exp(double a); /** * Take ln(a) (the natural log). The opposite of exp(). If the @@ -430,7 +430,7 @@ public final class Math * @return the natural log of a * @see #exp(double) */ - public native static double log(double a); + public static native double log(double a); /** * Take a square root. If the argument is NaN or negative, the result is @@ -444,7 +444,7 @@ public final class Math * @return the square root of the argument * @see #pow(double, double) */ - public native static double sqrt(double a); + public static native double sqrt(double a); /** * Raise a number to a power. Special cases: