mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8211122: Reduce the number of internal classes made accessible to jdk.unsupported
Reviewed-by: alanb, dfuchs, kvn
This commit is contained in:
parent
29f03ebf2c
commit
9ffe7e1205
257 changed files with 764 additions and 591 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2009, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2009, 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
|
||||
|
@ -2603,8 +2603,8 @@ public class ModuleDescriptor
|
|||
* Setup the shared secret to allow code in other packages access
|
||||
* private package methods in java.lang.module.
|
||||
*/
|
||||
jdk.internal.misc.SharedSecrets
|
||||
.setJavaLangModuleAccess(new jdk.internal.misc.JavaLangModuleAccess() {
|
||||
jdk.internal.access.SharedSecrets
|
||||
.setJavaLangModuleAccess(new jdk.internal.access.JavaLangModuleAccess() {
|
||||
@Override
|
||||
public Builder newModuleBuilder(String mn,
|
||||
boolean strict,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue