Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8297790

jdk/jshell/Test8294583.java needs @requires vm.continuations in test description

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 20
    • tools

      This test is failing in GHA on linux-x86 with:

      java.lang.IllegalStateException: Launching JShell execution engine threw: FailOverExecutionControlProvider: FAILED: 0:jdi:hostname(127.0.0.1) --
        Exception: java.lang.IllegalArgumentException: ERROR: JDWP unable to access JVMTI Version 1 (0x30010000), is your J2SE a 1.5 or newer version? JNIEnv's GetEnv() returned -3

      The issue here is that there is no JVMTI support on x86_32 when running with --enable-preview. The VM continuations support to 32-bit is not there yet. Adding `@requires vm.continuations` to the test description, like ToolEnablePreviewTest.java, will ensure this test is not selected on this configuration.

            Unassigned Unassigned
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: