necouchman opened a new pull request #440: GUACAMOLE-774: Fix deprecation issue 
with Java 9 and up.
URL: https://github.com/apache/guacamole-client/pull/440
 
 
   This is probably not the best solution, but I'm having a hard time finding 
another.  The only `Provider` constructor present in Java 8 and lower is:
   
       Provider(String name, double version, String info)
   
   In Java 9, that constructor is deprecated, and the recommended one is:
   
       Provider​(String name, String versionStr, String info)
   
   Since the code introduced with that constructor is designed to handle MD4 
requirements in *newer* versions of Java, it needs to work with newer versions. 
 Unless I'm missing some sort of way in Java you can say..."if running with 
Java version X and earlier, do this, else do this?"

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to