Details
-
Improvement
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
-
pache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9)
Maven home: /usr/local/Cellar/maven/3.9.4/libexec
Java version: 20.0.2, vendor: Eclipse Adoptium, runtime: /Library/Java/JavaVirtualMachines/temurin-20.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "13.5.1", arch: "x86_64", family: "mac"
openjdk version "20.0.2" 2023-07-18
OpenJDK Runtime Environment Temurin-20.0.2+9 (build 20.0.2+9)
OpenJDK 64-Bit Server VM Temurin-20.0.2+9 (build 20.0.2+9, mixed mode, sharing)
pache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9) Maven home: /usr/local/Cellar/maven/3.9.4/libexec Java version: 20.0.2, vendor: Eclipse Adoptium, runtime: /Library/Java/JavaVirtualMachines/temurin-20.jdk/Contents/Home Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "13.5.1", arch: "x86_64", family: "mac" openjdk version "20.0.2" 2023-07-18 OpenJDK Runtime Environment Temurin-20.0.2+9 (build 20.0.2+9) OpenJDK 64-Bit Server VM Temurin-20.0.2+9 (build 20.0.2+9, mixed mode, sharing)
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.