< prev index next >
src/java.base/share/classes/jdk/internal/misc/JavaLangAccess.java
Print this page
rev 48993 : imported patch nio
*** 1,7 ****
/*
! * Copyright (c) 2003, 2017, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2003, 2018, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 98,110 ****
* the result is uncloned, cached, and shared by all callers.
*/
<E extends Enum<E>> E[] getEnumConstantsShared(Class<E> klass);
/**
! * Set thread's blocker field.
*/
! void blockedOn(Thread t, Interruptible b);
/**
* Registers a shutdown hook.
*
* It is expected that this method with registerShutdownInProgress=true
--- 98,110 ----
* the result is uncloned, cached, and shared by all callers.
*/
<E extends Enum<E>> E[] getEnumConstantsShared(Class<E> klass);
/**
! * Set current thread's blocker field.
*/
! void blockedOn(Interruptible b);
/**
* Registers a shutdown hook.
*
* It is expected that this method with registerShutdownInProgress=true
< prev index next >