RFR: 7903166: jtreg crashes trying to compile .jasm with enablePreview=true [v2]

Jonathan Gibbons jjg at openjdk.java.net
Tue Apr 26 17:14:24 UTC 2022


On Tue, 19 Apr 2022 13:04:30 GMT, Evgeny Nikitin <enikitin at openjdk.org> wrote:

>> The bug: [CODETOOLS-7903166](https://bugs.openjdk.java.net/browse/CODETOOLS-7903166)
>> 
>> A small fix targeting crashes that occurs when jtreg compiles non-javac files with enablePreview. Prior the fix, the code crashed trying to insert arguments into javacArgs list using negative index.
>> 
>> Testing: test/preview folder self-tests.
>
> Evgeny Nikitin has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Test for runJavac variable prior adding --enable-preview

LGTM

You need to add `/integrate` and then I can `/sponsor` it

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

Marked as reviewed by jjg (Lead).

PR: https://git.openjdk.java.net/jtreg/pull/77


More information about the jtreg-dev mailing list