The backport for https://bugs.openjdk.java.net/browse/JDK-8220484 failed patching the correct lines.
Instead of adding this to the swing project in build.gradle, it was added to the packagerservices project:
```
- //shims // no test shims needed
- test
- }
-
+ shims {
+ java {
+ compileClasspath += sourceSets.main.output
+ runtimeClasspath += sourceSets.main.output
+ }
+ }
+ test {
+ java {
+ compileClasspath += sourceSets.shims.output
+ runtimeClasspath += sourceSets.shims.output
+ }
+ }
+ }
```
Instead of adding this to the swing project in build.gradle, it was added to the packagerservices project:
```
- //shims // no test shims needed
- test
- }
-
+ shims {
+ java {
+ compileClasspath += sourceSets.main.output
+ runtimeClasspath += sourceSets.main.output
+ }
+ }
+ test {
+ java {
+ compileClasspath += sourceSets.shims.output
+ runtimeClasspath += sourceSets.shims.output
+ }
+ }
+ }
```