< prev index next >

src/java.base/share/classes/sun/reflect/annotation/AnnotationSupport.java

Print this page
rev 51958 : 8211122: Reduce the number of internal classes made accessible to jdk.unsupported
Reviewed-by: alanb, dfuchs, kvn

*** 1,7 **** /* ! * Copyright (c) 2012, 2013, 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) 2012, 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
*** 33,44 **** import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.Objects; ! import jdk.internal.misc.SharedSecrets; ! import jdk.internal.misc.JavaLangAccess; import jdk.internal.reflect.ReflectionFactory; public final class AnnotationSupport { private static final JavaLangAccess LANG_ACCESS = SharedSecrets.getJavaLangAccess(); --- 33,44 ---- import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.Objects; ! import jdk.internal.access.SharedSecrets; ! import jdk.internal.access.JavaLangAccess; import jdk.internal.reflect.ReflectionFactory; public final class AnnotationSupport { private static final JavaLangAccess LANG_ACCESS = SharedSecrets.getJavaLangAccess();
< prev index next >