RFR: 8331193: Return references when possible in GrowableArray [v6]

Johan Sjölen jsjolen at openjdk.org
Tue May 21 13:21:04 UTC 2024


On Mon, 6 May 2024 09:20:43 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

> Can you add a regression test that checks exactly the example that you have in your PR descrition?

Hi Emanuel,

I've been thinking about this a bit. We can add such a test, but it would essentially be a test that checks whether something compiles or not (which it trivially should). We can still add the test you suggested if you feel it is necessary, but it doesn't seem to me like it adds much value?

Cheers,
Johan

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

PR Comment: https://git.openjdk.org/jdk/pull/18975#issuecomment-2122620584


More information about the hotspot-dev mailing list