Skip to content

Commit

Permalink
Upgrade to newer ECJ release
Browse files Browse the repository at this point in the history
The `versionCatalogUpdate` task found this upgrade opportunity, but we
also needed to suppress a resource-leak diagnostic that the newer ECJ
produces for some of our `JarFile`-manipulating code.
  • Loading branch information
liblit committed May 28, 2024
1 parent a001555 commit e3c7172
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ public ArrayClassLoader getArrayClassLoader() {
/**
* @return the rt.jar (1.4), core.jar (1.5), java.core.jmod (13) file, or null if not found.
*/
@SuppressWarnings("resource")
private JarFile getRtJar() {
return RtJar.getRtJar(
new MapIterator<>(
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ assertj-core = "org.assertj:assertj-core:3.26.0"
commons-cli = "commons-cli:commons-cli:1.8.0"
commons-io = "commons-io:commons-io:2.16.1"
dexlib2 = "org.smali:dexlib2:2.5.2"
eclipse-ecj = "org.eclipse.jdt:ecj:3.21.0"
eclipse-ecj = "org.eclipse.jdt:ecj:3.37.0"
eclipse-osgi = "org.eclipse.platform:org.eclipse.osgi:3.19.0"
eclipse-wst-jsdt-core = { module = "org.eclipse.wst.jsdt:core", version.ref = "eclipse-wst-jsdt" }
eclipse-wst-jsdt-ui = { module = "org.eclipse.wst.jsdt:ui", version.ref = "eclipse-wst-jsdt" }
Expand Down

0 comments on commit e3c7172

Please sign in to comment.