[jdk17] RFR: JDK-8269426: Move tests from test/jdk/java/lang/invoke/t8150782 to its parent directory

Mandy Chung mchung at openjdk.java.net
Mon Jun 28 18:59:07 UTC 2021


On Mon, 28 Jun 2021 16:09:36 GMT, Mandy Chung <mchung at openjdk.org> wrote:

> `test/jdk/java/lang/invoke/t8150782` is the only one using that convention. There are several tests under `<bugid>` directory.  As the tests under `test/jdk/java/lang/invoke/t8150782` are mostly unit tests for `Lookup::accessClass` and `Lookup::findClass`, they can simply be moved to the parent directory.

That's a fair point.  I personally prefer using a descriptive directory name rather than bug ID since that can give the reader what the tests are intended for.   What about renaming `t8150782` to `accessClassAndFindClass`?

-------------

PR: https://git.openjdk.java.net/jdk17/pull/162


More information about the core-libs-dev mailing list