src/java.base/share/classes/jdk/internal/misc/JavaLangAccess.java
changeset 49001 ce06058197a4
parent 48262 daf3b49f4839
child 50552 7439ceaae8e4
equal deleted inserted replaced
49000:a406a9c451a0 49001:ce06058197a4
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    98      * the result is uncloned, cached, and shared by all callers.
    98      * the result is uncloned, cached, and shared by all callers.
    99      */
    99      */
   100     <E extends Enum<E>> E[] getEnumConstantsShared(Class<E> klass);
   100     <E extends Enum<E>> E[] getEnumConstantsShared(Class<E> klass);
   101 
   101 
   102     /**
   102     /**
   103      * Set thread's blocker field.
   103      * Set current thread's blocker field.
   104      */
   104      */
   105     void blockedOn(Thread t, Interruptible b);
   105     void blockedOn(Interruptible b);
   106 
   106 
   107     /**
   107     /**
   108      * Registers a shutdown hook.
   108      * Registers a shutdown hook.
   109      *
   109      *
   110      * It is expected that this method with registerShutdownInProgress=true
   110      * It is expected that this method with registerShutdownInProgress=true