RFR: 8265019 : Update tests for additional TestNG test permissions [v2]

Lance Andersen lance.andersen at oracle.com
Wed Apr 14 10:24:50 UTC 2021

On Apr 14, 2021, at 2:13 AM, Alan Bateman <alanb at openjdk.java.net<mailto:alanb at openjdk.java.net>> wrote:

On Tue, 13 Apr 2021 18:56:22 GMT, Lance Andersen <lancea at openjdk.org<mailto:lancea at openjdk.org>> wrote:

Hi all,

Please review the following patch which adds additional permissions needed for when JTREG upgrades to a newer version of TestNG.


Lance Andersen has updated the pull request incrementally with one additional commit since the last revision:

 TestNG updates Permission re-organization

Marked as reviewed by alanb (Reviewer).

test/jdk/java/sql/testng/util/TestPolicy.java line 27:

25: import java.io.FilePermission;
26: import java.lang.reflect.ReflectPermission;
27: import java.security.*;

My guess is that you didn't mean the change the import.

Intellij did that automagically.  I just reverted the change for consistency


PR: https://git.openjdk.java.net/jdk/pull/3471

[cid:E1C4E2F0-ECD0-4C9D-ADB4-B16CA7BCB7FC at home]

Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering
1 Network Drive
Burlington, MA 01803
Lance.Andersen at oracle.com<mailto:Lance.Andersen at oracle.com>

More information about the core-libs-dev mailing list