Changeset 24a1cf71 for apps


Ignore:
Timestamp:
May 31, 2018 5:16:00 PM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
cee45e3
Parents:
481e2875
Message:

Console: Change Java 10 warning to Java 11,
since bionic uses 10

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/RouterConsoleRunner.java

    r481e2875 r24a1cf71  
    331331                            !FileUtil.isPack200Supported();
    332332        boolean openARM = SystemVersion.isARM() && SystemVersion.isOpenJDK();
    333         boolean isJava10 = SystemVersion.isJava10();
    334         if (noJava7 || noPack200 || openARM || isJava10) {
     333        boolean isJava11 = SystemVersion.isJava11();
     334        if (noJava7 || noPack200 || openARM || isJava11) {
    335335            String s = "Java version: " + System.getProperty("java.version") +
    336336                       " OS: " + System.getProperty("os.name") + ' ' +
     
    355355                System.out.println("Warning: " + s);
    356356            }
    357             if (isJava10) {
     357            if (isJava11) {
    358358                s = "Java 10/11 support is beta, and not recommended for general use";
    359359                log.logAlways(net.i2p.util.Log.WARN, s);
Note: See TracChangeset for help on using the changeset viewer.