mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8283237: CallSite should be a sealed class
Reviewed-by: jkuhn, mchung
This commit is contained in:
parent
a77160065b
commit
3e73a0b726
4 changed files with 10 additions and 10 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2010, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -35,7 +35,7 @@ import jdk.internal.vm.annotation.Stable;
|
|||
* @author John Rose, JSR 292 EG
|
||||
* @since 1.7
|
||||
*/
|
||||
public class ConstantCallSite extends CallSite {
|
||||
public non-sealed class ConstantCallSite extends CallSite {
|
||||
private static final Unsafe UNSAFE = Unsafe.getUnsafe();
|
||||
|
||||
@Stable // should NOT be constant folded during instance initialization (isFrozen == false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue