< prev index next >

src/java.base/share/classes/jdk/internal/module/IllegalAccessLogger.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) 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) 2017, 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
*** 42,53 **** import java.util.WeakHashMap; import java.util.function.Supplier; import java.util.stream.Collectors; import static java.util.Collections.*; ! import jdk.internal.misc.JavaLangAccess; ! import jdk.internal.misc.SharedSecrets; /** * Supports logging of access to members of exported and concealed packages * that are opened to code in unnamed modules for illegal access. */ --- 42,53 ---- import java.util.WeakHashMap; import java.util.function.Supplier; import java.util.stream.Collectors; import static java.util.Collections.*; ! import jdk.internal.access.JavaLangAccess; ! import jdk.internal.access.SharedSecrets; /** * Supports logging of access to members of exported and concealed packages * that are opened to code in unnamed modules for illegal access. */
< prev index next >