Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .lift.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ ignoreFiles = "acceptance-tests/**"
# Use JDK 11 to help Sonatype Lift start the default plugins correctly.
jdkVersion = "11"
summaryComments = true
ignoreRules = [
"PATH_TRAVERSAL_IN",
"URLCONNECTION_SSRF_FD",
]
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ public class JctCompilationConfigurer implements JctCompilerConfigurer<RuntimeEx
public void configure(JctCompiler<?, ?> compiler) {
compiler
.failOnWarnings(false)
.inheritClassPath(true)
.inheritModulePath(true)
.addCompilerOptions("-implicit:class")
.showWarnings(false) // ignore spam about the testing module being hidden
.locale(Locale.ENGLISH);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,6 @@ void jctCanCompileItselfAndUnitTestsAsMultiModule(JctCompiler<?, ?> compiler) th
assertThat(compilation)
.isSuccessful();

assertThat(compilation)
.diagnostics()
.warnings()
.filteredOn(diag -> !diag.getCode().equals("compiler.warn.module.not.found"))
.withFailMessage("Expected no warnings (other than module.not.found)")
.isEmpty();

assertThat(compilation)
.classOutputModules()
.satisfies(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ public ManagedDirectory copiedFromFile(Path file) {
}

@Override
@SuppressWarnings("findsecbugs:URLCONNECTION_SSRF_FD")
public ManagedDirectory copiedFromUrl(URL url) {
return uncheckedIo(() -> createFile(url.openStream()));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ public FileVisitResult postVisitDirectory(Path dir, IOException exc) throws IOEx
* environment you are using.
* @return the temporary directory.
*/
@SuppressWarnings("findsecbugs:PATH_TRAVERSAL_IN")
public static TempDirectoryImpl newTempDirectory(String name) {
// TODO(ascopes): are MS-DOS file name length limits a potential issue here?
assertValidRootName(name);
Expand Down