Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Done
-
None
-
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: