globalDefinitions.format_specifiers uses `ResourceMark` which requires a created VM.
Either we stop using resource allocations, or we run the test in VM.
I propose we let this test simply use `stringStream::base` rather than `stringStream::as_string` which is an already managed string and the stream is in scope for as long as the string is used. The string is guaranteed to be valid as long as we do not write to the stream.
Either we stop using resource allocations, or we run the test in VM.
I propose we let this test simply use `stringStream::base` rather than `stringStream::as_string` which is an already managed string and the stream is in scope for as long as the string is used. The string is guaranteed to be valid as long as we do not write to the stream.
- relates to
-
JDK-8372241 Add GTestCheckers
-
- Open
-