Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-4649

Some deprecated methods for 3rd party libraries and one for Java 17

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.12.0
    • Fix Version/s: None
    • Component/s: java17
    • Labels:
      None

      Description

      Upgrading gradle requires upgrading to using JDK 17 (still running Jalview under Java 11).
      Some deprecation warnings have been fixed in JAL-4647 but there are many that remain. The deprecation warnings remaining have been attached in a file.

      These are nearly all related to the apache HttpClient and associated classes.

      There is one that relates to com.sun.management.OperatingSystemMXBean.getPhysicalMemory() used in jalview/bin/MemorySetting.java. This can be fixed as there is a direct replacement (getTotalMemorySize()), but the new method doesn't exist in Java 11 so cannot be replaced yet.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jprocter James Procter
              Reporter:
              soares Ben Soares
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: