Mercurial > hg > gc-bench
changeset 53:fca0611bff52
Unsafe stub to be able to compile on JDK 8.
author | shade |
---|---|
date | Thu, 15 Dec 2016 23:19:23 +0100 |
parents | 7c8ea59bcd6a |
children | adaa1d0e7226 |
files | src/main/java/jdk/internal/misc/Unsafe.java |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/java/jdk/internal/misc/Unsafe.java Thu Dec 15 23:19:23 2016 +0100 @@ -0,0 +1,9 @@ +package jdk.internal.misc; + +public class Unsafe { + + public Object allocateUninitializedArray(Class<?> componentType, int size) { + throw new IllegalStateException("This is a stub, should not call this"); + } + +}