JDK-8269426: Rename test/jdk/java/lang/invoke/t8150782 to accessClassAndFindClass #162
Conversation
…s parent directory
|
Webrevs
|
Hi Mandy, It looks like the test in question has some test support files associated with it (p/Foo.java & q/Bar.java). I personally think it's nice if tests like these are in a separate directory, so that it's easier to see which test support files belong to which test (and to avoid potential name clashes when 2 tests want to use a support file with the same name). How would you feel about dropping just the |
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 |
Me too! That sounds like an excellent idea :) |
Thanks Jorn. |
@mlchung This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 3 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the
|
/integrate |
Going to push as commit 5624069.
Your commit was automatically rebased without conflicts. |
test/jdk/java/lang/invoke/t8150782
is the only one using that convention. There are several tests under<bugid>
directory. As the tests undertest/jdk/java/lang/invoke/t8150782
are mostly unit tests forLookup::accessClass
andLookup::findClass
, they can simply be moved to the parent directory.Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk17 pull/162/head:pull/162
$ git checkout pull/162
Update a local copy of the PR:
$ git checkout pull/162
$ git pull https://git.openjdk.java.net/jdk17 pull/162/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 162
View PR using the GUI difftool:
$ git pr show -t 162
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk17/pull/162.diff