RFR: 8304376: Rename t1/t2 classes in com/sun/jdi/CLETest.java to avoid class duplication error in IDE [v2]

Leonid Mesnik lmesnik at openjdk.org
Sat Mar 18 20:03:20 UTC 2023


On Sat, 18 Mar 2023 19:54:51 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

>> The com/sun/jdi tests are located in the on package, and classes with same name cause 'class duplication error' when this directory is opened as source code in IDE.
>> 
>> The simplest fix to avoid this is just to rename class.
>
> Leonid Mesnik has updated the pull request incrementally with one additional commit since the last revision:
> 
>   updated name

Not sure there is any meaningful name for these classes. So I updated it to CLEClass1/2 so it uses CamelCase notation and has test name as prefix to be unique.

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

PR: https://git.openjdk.org/jdk/pull/13069


More information about the serviceability-dev mailing list