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

[CRaC] jdk.crac.management makes JdkManagementCheckSince fail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • repo-crac
    • repo-crac
    • core-libs
    • None
    • Fix Understood
    • generic
    • generic

      `tools/sincechecker/modules/jdk.management/JdkManagementCheckSince` fails in CRaC JDK:
      ```
      jdk.crac.management: package-info.java exists but doesn't contain @since
      java.lang.Exception: The `@since` checker found 1 problems
      at SinceChecker.checkModule(SinceChecker.java:284)
      at SinceChecker.main(SinceChecker.java:145)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1447)

      JavaTest Message: Test threw exception: java.lang.Exception: The `@since` checker found 1 problems
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.Exception: The `@since` checker found 1 problems
      ```

      We could also add a since-check test for `jdk.crac` module to detect such problems there.

            tpushkin Timofei Pushkin
            tpushkin Timofei Pushkin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: