RFR: 7903965: Fix Launching Tests from Context Menu

Oleksii Sylichenko duke at openjdk.org
Mon Mar 10 12:59:53 UTC 2025


On Mon, 10 Mar 2025 12:47:14 GMT, Oleksii Sylichenko <duke at openjdk.org> wrote:

>> plugins/idea/src/main/java/com/oracle/plugin/jtreg/configuration/producers/JTRegClassConfigurationProducer.java line 125:
>> 
>>> 123:             }
>>> 124:         }
>>> 125:     }
>> 
>>> Additionally, the issue with intercepting test execution through Application, TestNG, and JUnit configurations when using the context menu on the editor tab has been fixed.
>> 
>> I think this issue is addressed in this code here.
>> 
>> What are the steps to reproduce this issue? When I try to create a run configuration through the context menu on the editor tab, I seem to get a JTreg configuration every time. Or I get the option to choose one or the other: 
>> ![image](https://github.com/user-attachments/assets/2a1abcf5-4e7d-45f8-a82e-9ea9d392a16a)
>
> ![test/jdk/java/foreign/TestSegmentBulkOperationsContentHash.java](https://github.com/user-attachments/assets/4db38b2a-9643-42df-a28b-01093f065424)

IntelliJ IDEA 2024.3.4.1 (Community Edition)
Build #IC-243.25659.59, built on March 5, 2025
Windows 10

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

PR Review Comment: https://git.openjdk.org/jtreg/pull/252#discussion_r1987221257


More information about the jtreg-dev mailing list