Uploaded image for project: 'Skara'
  1. Skara
  2. SKARA-1578

Skara can't parse shenandoah jdk8u versions like 'shenandoah8u332'

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.0
    • None
    • libraries
    • None

      When trying to configure the notifier for SKARA-1574, I got the following exception:

      Caused by: java.util.NoSuchElementException: No value present
      at java.base/java.util.Optional.orElseThrow(Optional.java:377)
      at org.openjdk.skara.bots.notify/org.openjdk.skara.bots.notify.issue.IssueNotifier.onNewCommits(IssueNotifier.java:290)
      at org.openjdk.skara.bots.notify/org.openjdk.skara.bots.notify.RepositoryWorkItem.handleUpdatedRef(RepositoryWorkItem.java:111)
      at org.openjdk.skara.bots.notify/org.openjdk.skara.bots.notify.RepositoryWorkItem.handleRef(RepositoryWorkItem.java:155)
      at org.openjdk.skara.bots.notify/org.openjdk.skara.bots.notify.RepositoryWorkItem.run(RepositoryWorkItem.java:372)

      This indicates that JdkVersion.parse is not able to handle the fixversion declared in the shenandoah-jdk8u repo: "shenandoah8u332"

      Since these are now accepted fixVersions in JBS, we need to support them in Skara.

            erikj Erik Joelsson
            erikj Erik Joelsson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: