You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@guacamole.apache.org by GitBox <gi...@apache.org> on 2019/08/13 10:35:51 UTC

[GitHub] [guacamole-client] necouchman opened a new pull request #440: GUACAMOLE-774: Fix deprecation issue with Java 9 and up.

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:
users@infra.apache.org


With regards,
Apache Git Services