mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8138732: Rename @HotSpotIntrinsicCandidate to @IntrinsicCandidate and move it to the jdk.internal.vm.annotation package
Reviewed-by: dholmes, alanb, psandoz, kvn, egahlin
This commit is contained in:
parent
4b16f8ab94
commit
2a406f3ce5
64 changed files with 488 additions and 488 deletions
|
@ -25,7 +25,7 @@
|
|||
|
||||
package java.lang;
|
||||
|
||||
import jdk.internal.HotSpotIntrinsicCandidate;
|
||||
import jdk.internal.vm.annotation.IntrinsicCandidate;
|
||||
|
||||
import java.lang.constant.Constable;
|
||||
import java.lang.constant.ConstantDesc;
|
||||
|
@ -148,7 +148,7 @@ public final class Boolean implements java.io.Serializable,
|
|||
*
|
||||
* @return the primitive {@code boolean} value of this object.
|
||||
*/
|
||||
@HotSpotIntrinsicCandidate
|
||||
@IntrinsicCandidate
|
||||
public boolean booleanValue() {
|
||||
return value;
|
||||
}
|
||||
|
@ -167,7 +167,7 @@ public final class Boolean implements java.io.Serializable,
|
|||
* @return a {@code Boolean} instance representing {@code b}.
|
||||
* @since 1.4
|
||||
*/
|
||||
@HotSpotIntrinsicCandidate
|
||||
@IntrinsicCandidate
|
||||
public static Boolean valueOf(boolean b) {
|
||||
return (b ? TRUE : FALSE);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue