Hi Dawid,

Hah, the issue happens only if you pass CI=true (this is set by CI systems), so errorprone is enabled. so do "export CI=true" and then build with that config.

So it looks like a combination of errorprone enabled with Java 11 OpenJ9.

Uwe

Am 13.11.2023 um 09:09 schrieb Dawid Weiss:

Sure, thanks. What's strange is that we don't use add-opens anywhere, I think (there is a mention of it I left in one of the
comments, but nothing else across the codebase uses this directive).

> Task :lucene:distribution.tests:compileTestJava
warning: [options] --add-opens has no effect at compile time


On Sun, Nov 12, 2023 at 10:56 PM Uwe Schindler <u...@thetaphi.de> wrote:

    Will check tomorrow, it's too late now.

    On Jenkins there were no windows builds with IBM and Java 11 yet:
    https://jenkins.thetaphi.de/job/Lucene-9.x-Windows/

    Am 12.11.2023 um 22:00 schrieb Dawid Weiss:

    Hi Uwe,

    Can you reproduce this on Windows with the same JVM versions
    though? Seems like I have exactly the same setup and yet this
    works for me just fine. Strange.

    Dawid

    On Sun, Nov 12, 2023 at 9:52 PM Uwe Schindler <u...@thetaphi.de>
    wrote:

        This one was my first idea, too.

        It fails only with IBM Semeru in combination with Gradle
        using Temurin.

        I will dig tomorrow on Jenkins server and print all debug info.

        Uwe


        Am 12. November 2023 21:48:54 MEZ schrieb Dawid Weiss
        <dawid.we...@gmail.com>:


            I can't reproduce this though - used exactly the same
            JVMs (on Windows):

            > gradlew :lucene:distribution.tests:compileTestJava
            --rerun-tasks --console=plain
            Generating gradle.properties
            ...
            > Task :altJvmWarning
            NOTE: Alternative java toolchain will be used for
            compilation and tests:
              Project will use 11 (IBM JDK 11.0.20.1+1, home at:
            c:\_tmp\jdk-11.0.20.1+1)
              Gradle runs with 11 (Eclipse Temurin JDK 11.0.21+9,
            home at: C:\_tmp\jdk-11.0.21+9)
            ...
            > Task :lucene:distribution.tests:compileJava NO-SOURCE
            > Task :lucene:distribution.tests:classes UP-TO-DATE
            > Task :lucene:distribution.tests:compileTestJava

            BUILD SUCCESSFUL in 23s
            5 actionable tasks: 5 executed

                On main branch it works, no idea why:


            O thought it's because of this:

            https://github.com/apache/lucene/commit/2e12a35c876a

            but I don't think so... seems to work for me on Windows
            on branch_9x just fine?

            D.

        --
        Uwe Schindler
        Achterdiek 19, 28357 Bremen
        https://www.thetaphi.de

-- Uwe Schindler
    Achterdiek 19, D-28357 Bremen
    https://www.thetaphi.de
    eMail:u...@thetaphi.de

--
Uwe Schindler
Achterdiek 19, D-28357 Bremen
https://www.thetaphi.de
eMail:u...@thetaphi.de

Reply via email to