On Thu, 16 Dec 2021 20:51:17 GMT, Leonid Mesnik <lmes...@openjdk.org> wrote:

>> Added a requirement for the c1 or c2.
>
> Really, we don't add @requires for jit compiler. There are a lot of tests 
> that fail with Xnt.

Tests outside of the compiler area which explicitly use features like ` 
WB.enqueueMethodForCompilation` which explicitly will fail if there is no JIT 
either require the JIT or exclude running with Zero. See for example:

./runtime/Nestmates/protectionDomain/TestDifferentProtectionDomains.java 
./runtime/Unsafe/InternalErrorTest.java 
./runtime/exceptionMsgs/AbstractMethodError/AbstractMethodErrorTest.java

EDIT: except of course this test is in the compiler area <sigh>. Okay perhaps 
overkill - sorry for the noise.

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

PR: https://git.openjdk.java.net/jdk/pull/5889

Reply via email to