Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8253743

Fix build failures in tests

XMLWordPrintable

      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
      + }
      + }
      + }
      ```

            jvos Johan Vos
            jvos Johan Vos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: