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

Ensure guacamole-client source is compatible with Java 9

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Done
    • None
    • 1.0.0
    • guacamole-client
    • 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

            mjumper Mike Jumper
            mjumper Mike Jumper
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: