RFR: 8266571: Sequenced Collections
Srikanth Adayapalam
sadayapalam at openjdk.org
Mon Mar 20 23:45:01 UTC 2023
On Tue, 8 Nov 2022 20:36:40 GMT, Stuart Marks <smarks at openjdk.org> wrote:
> @sadayapalam
>
> > Please include the following fix for the langtools test "failures":
>
> OK, applying these patches lets the tests pass. I can include them in this PR.
>
> The patch in TestJavacTaskScanner.java adjusts the expected number of elements from 158 to 170, but I note that the error message in the test failure is
>
> ```
> java.lang.Error: #parseTypeElements higher than expected; expected 158; found: 180
> ```
>
> The test still passes with the expected value of 170, as the criterion seems to be that the actual number be within 10% of the expected number. Since the actual number is 180, though, would it be better to use 180?
Perhaps. The fudge factor seems to be implemented to prepare for a potential move downwards as well as upwards.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/7387#issuecomment-1308300571
More information about the core-libs-dev
mailing list