Uploaded image for project: 'mod_cluster'
  1. mod_cluster
  2. MODCLUSTER-846

Fix compiler warnings with JDK 23 [WARNING] location of system modules is not set in conjunction with -source 11

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor Minor
    • 2.1.0.Final
    • None
    • None
    • None

      This is because we have configured this only for main build but not the testCompile phase.

      [WARNING] location of system modules is not set in conjunction with -source 11
        not setting the location of system modules may lead to class files that cannot run on JDK 11
          --release 11 is recommended instead of -source 11 -target 11 because it sets the location of system modules automatically
      

              rhn-engineering-rhusar Radoslav Husar
              rhn-engineering-rhusar Radoslav Husar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: