JDK-8296403 : [TESTBUG] IR test runner methods in TestLongRangeChecks.java invoke wrong test methods
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 18,19,20
  • Priority: P5
  • Status: In Progress
  • Resolution: Unresolved
  • Submitted: 2022-11-04
  • Updated: 2023-01-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Description
The following two @Run methods invoke the wrong @Test methods, most likely due to a copy-paste error:

    @Run(test = "testStrideNegScalePosInIntLoop2")
    private void testStrideNegScalePosInIntLoop2_runner() {
        testStrideNegScalePosInIntLoop1(0, 100, 200, 0);
    }

    @Run(test = "testStridePosScaleNegInIntLoop2")
    private void testStridePosScaleNegInIntLoop2_runner() {
        testStridePosScaleNegInIntLoop1(0, 100, 200, 198);
    }

We should change these to invoke the correct methods instead.

Comments
ILW = IR test runner methods invoke wrong test methods, single test, no workaround = LLH = P5
04-11-2022