Test Scala 3 on Java 8

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Evergreen, Test Coverage
    • None
    • None
    • Java Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Requires Junit to be updated as currently loading Scala 3 classes can fail with:

      org.junit.platform.commons.JUnitException: ClassSelector [className = 'org.mongodb.scala.bson.codecs.Models$SealedClassCaseObject$Alpha$', classLoader = sun.misc.Launcher$AppClassLoader@73d16e93] resolution failed
      ...
      java.lang.InternalError: Malformed class name
      

      Updating Junit 5 to the latest bom fixes the class loading.

            Assignee:
            Ross Lawley
            Reporter:
            Ross Lawley
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: