Uploaded image for project: 'Juneau'
  1. Juneau
  2. JUNEAU-251

Test failures on Java 20

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • None
    • Code
    • None

    Description

      Using Java 20 results in test failures:

      [ERROR] Errors:
      [ERROR]   ConfigTest.testExampleInConfig:1037 » BeanRuntime Value could not be parsed.
      [ERROR]   Common_Test.testURIAttr:333 » Parse Exception occurred.  exception=InvalidData...
      [ERROR]   CommonTest.testURIAttr:224 » Parse Unrecognized syntax for class type 'java.ne...
      [ERROR]   Common_UonTest.testURIAttr:217 » Parse Class 'java.net.URL' could not be insta...
      [ERROR]   Common_UrlEncodingTest.testURIAttr:219 » Parse Class 'java.net.URL' could not ...
      [ERROR]   CommonXmlTest.testBeanUriAnnotation:41 » Parse Exception occurred.  exception=...
      [ERROR]   XmlTest.testBeanUriAnnotationFormattedAsElement:432 » Parse Class 'java.net.UR...
      [ERROR]   XmlTest.testOverriddenBeanUriAndIdAnnotations:498 » Parse Exception occurred. ...
      [ERROR]   XmlTest.testOverriddenBeanUriAsElementNames:465 » Parse Class 'java.net.URL' c...
      [ERROR]   XmlTest.testXmlAttrs:996 » Parse Exception occurred.  exception=BeanRuntimeExc...
      [INFO]
      [ERROR] Tests run: 22755, Failures: 0, Errors: 10, Skipped: 4
      

      This is most. likely due to the deprecation on URL constructors. Our code behaves differently when it encounters elements annotated with @Depreacted

      Attachments

        Activity

          People

            Unassigned Unassigned
            ggregory Gary D. Gregory
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: