equal
deleted
inserted
replaced
563 } |
563 } |
564 |
564 |
565 boolean lintOptions = options.isUnset(Option.XLINT_CUSTOM, "-" + LintCategory.OPTIONS.option); |
565 boolean lintOptions = options.isUnset(Option.XLINT_CUSTOM, "-" + LintCategory.OPTIONS.option); |
566 if (lintOptions && source.compareTo(Source.DEFAULT) < 0 && !options.isSet(Option.RELEASE)) { |
566 if (lintOptions && source.compareTo(Source.DEFAULT) < 0 && !options.isSet(Option.RELEASE)) { |
567 if (fm instanceof BaseFileManager) { |
567 if (fm instanceof BaseFileManager) { |
568 if (((BaseFileManager) fm).isDefaultBootClassPath()) |
568 if (source.compareTo(Source.JDK8) <= 0) { |
569 log.warning(LintCategory.OPTIONS, Warnings.SourceNoBootclasspath(source.name)); |
569 if (((BaseFileManager) fm).isDefaultBootClassPath()) |
|
570 log.warning(LintCategory.OPTIONS, Warnings.SourceNoBootclasspath(source.name)); |
|
571 } else { |
|
572 if (((BaseFileManager) fm).isDefaultSystemModulesPath()) |
|
573 log.warning(LintCategory.OPTIONS, Warnings.SourceNoSystemModulesPath(source.name)); |
|
574 } |
570 } |
575 } |
571 } |
576 } |
572 |
577 |
573 boolean obsoleteOptionFound = false; |
578 boolean obsoleteOptionFound = false; |
574 |
579 |