diff options
| author | Philippe Marschall <philippe.marschall@gmail.com> | 2020-09-30 20:05:07 +0000 |
|---|---|---|
| committer | Vladimir Kozlov <kvn@openjdk.org> | 2020-09-30 20:05:07 +0000 |
| commit | 2a406f3ce5e200af9909ce051fdeed0cc059fea0 (patch) | |
| tree | d47f71c31914dbcfd2f2e863432c7a32e34527f1 /src/java.base/share/classes/java/lang/Float.java | |
| parent | 4b16f8ab942b08b249abfe6f95c4ded3ef139ef0 (diff) | |
| download | openjdk-2a406f3ce5e200af9909ce051fdeed0cc059fea0.tar.gz openjdk-2a406f3ce5e200af9909ce051fdeed0cc059fea0.zip | |
8138732: Rename @HotSpotIntrinsicCandidate to @IntrinsicCandidate and move it to the jdk.internal.vm.annotation package
Reviewed-by: dholmes, alanb, psandoz, kvn, egahlin
Diffstat (limited to 'src/java.base/share/classes/java/lang/Float.java')
| -rw-r--r-- | src/java.base/share/classes/java/lang/Float.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/java.base/share/classes/java/lang/Float.java b/src/java.base/share/classes/java/lang/Float.java index f21eca098cf..0cebe7848ac 100644 --- a/src/java.base/share/classes/java/lang/Float.java +++ b/src/java.base/share/classes/java/lang/Float.java @@ -31,7 +31,7 @@ import java.lang.constant.ConstantDesc; import java.util.Optional; import jdk.internal.math.FloatingDecimal; -import jdk.internal.HotSpotIntrinsicCandidate; +import jdk.internal.vm.annotation.IntrinsicCandidate; /** * The {@code Float} class wraps a value of primitive type @@ -438,7 +438,7 @@ public final class Float extends Number * @return a {@code Float} instance representing {@code f}. * @since 1.5 */ - @HotSpotIntrinsicCandidate + @IntrinsicCandidate public static Float valueOf(float f) { return new Float(f); } @@ -650,7 +650,7 @@ public final class Float extends Number * * @return the {@code float} value represented by this object */ - @HotSpotIntrinsicCandidate + @IntrinsicCandidate public float floatValue() { return value; } @@ -768,7 +768,7 @@ public final class Float extends Number * @param value a floating-point number. * @return the bits that represent the floating-point number. */ - @HotSpotIntrinsicCandidate + @IntrinsicCandidate public static int floatToIntBits(float value) { if (!isNaN(value)) { return floatToRawIntBits(value); @@ -811,7 +811,7 @@ public final class Float extends Number * @return the bits that represent the floating-point number. * @since 1.3 */ - @HotSpotIntrinsicCandidate + @IntrinsicCandidate public static native int floatToRawIntBits(float value); /** @@ -873,7 +873,7 @@ public final class Float extends Number * @return the {@code float} floating-point value with the same bit * pattern. */ - @HotSpotIntrinsicCandidate + @IntrinsicCandidate public static native float intBitsToFloat(int bits); /** |
