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

ServiceLoader throws NCDEF instead of ServiceConfigurationError

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • 24, 25
    • core-libs

      There is a change in behavior in JDK 24 where an error case throws NoClassDefFoundError rather than a ServiceConfigurationError with the NCFE as cause, see bug report here:

      https://mail.openjdk.org/pipermail/core-libs-dev/2025-February/140325.html

            alanb Alan Bateman
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: