Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-497

Ensure guacamole-client source is compatible with Java 9

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: guacamole-client
    • Labels:
      None

      Description

      guacamole-client is intended to be compatible at a source level with Java 6 and later (though some Maven plugins require at least a version 7 JRE), however a number of functions and classes have been deprecated as of Java 9, resulting in warnings and a failed build:

      • Wrapper class constructors new Integer(String) and new Long(String) have been deprecated in favor of Integer.valueOf(String) and Long.valueOf(String).
      • The XMLReaderFactory class used to parse user-mapping.xml has been deprecated in favor of SAXParserFactory.

      Migrating away from the old functions and classes should be safe, as they have been defined sinceĀ at leastĀ Java 6:

        Attachments

          Activity

            People

            • Assignee:
              mike.jumper Michael Jumper
              Reporter:
              mike.jumper Michael Jumper
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: