--- old/src/java.base/share/classes/sun/invoke/util/VerifyAccess.java 2018-01-22 01:04:36.450409180 -0500 +++ new/src/java.base/share/classes/sun/invoke/util/VerifyAccess.java 2018-01-22 01:04:34.274284187 -0500 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2008, 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 @@ -61,23 +61,29 @@ * the defining class should be passed for both arguments ({@code defc == refc}). *

JVM Specification, 5.4.4 "Access Control"

* A field or method R is accessible to a class or interface D if - * and only if any of the following conditions is true: