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

Avoid use of deprecated Thread.getId()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.0
    • None
    • admin
    • None

      Thread.getId() was deprecated in JDK 19, as part of JDK-8284161 (preview). Deprecation was standardised in JDK 21, as part of JDK-8304919. Skara build now produces warnings because of that method:

      Task :bot:compileTestJava
      Note: skara/bot/src/test/java/org/openjdk/skara/bot/BotTaskAggregationHandlerTests.java uses or overrides a deprecated API.

            prappo Pavel Rappo (Inactive)
            prappo Pavel Rappo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: