Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16325

JWT module Javadoc split package issue on JDK16+

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 9.1, main (10.0)
    • Build
    • None

    Description

      https://lists.apache.org/thread/g85x7c1f1lkcjrw37rdq0zd6mokr8lsx

      On Solr main using JDK 17, I am getting the following when running
      `./gradlew check -x test`. I've been getting this for a few weeks but
      finally digging into why.

      file:///Users/risdenk/repos/apache/solr/solr/documentation/build/site/modules/jwt-auth/org/apache/solr/handler/admin/api/ModifyJWTAuthPluginConfigAPI.html
      BROKEN LINK:
      file:///Users/risdenk/repos/apache/solr/solr/documentation/build/site/core/org/apache/solr/handler/admin/api/JWTConfigurationPayload.html
      BROKEN LINK:
      file:///Users/risdenk/repos/apache/solr/solr/documentation/build/site/core/org/apache/solr/handler/admin/api/JWTConfigurationPayload.html
      

      It looks like this could be because of split packages? jwt-auth and core
      both having org.apache.solr.handler.admin.api? I don't know how to debug
      this further yet.

      I'm specifically using this version of JDK 17 on an M1 Mac:

      openjdk version "17.0.3" 2022-04-19
      OpenJDK Runtime Environment Temurin-17.0.3+7 (build 17.0.3+7)
      OpenJDK 64-Bit Server VM Temurin-17.0.3+7 (build 17.0.3+7, mixed mode)


      It looks like this same error is happening on Jenkins for a wide variety of
      JDKs: searching for "All tests passed"

      JDK 16.0.2
      JDK 17.0.3
      JDK 18
      JDK 19-ea+27

      However it looks like this might only be happening on main? I only see
      these failures on main for the past ~30 days. These also look to only
      happen on Policeman jenkins - but I would guess this is due to the JDK
      version being updated there compared to Apache ASF servers?

      Attachments

        Issue Links

          Activity

            People

              krisden Kevin Risden
              krisden Kevin Risden
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h