You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The org.jboss.cdi.tck.tests.implementation.simple.resource.env.EnvInjectionTest#testResourceBeanTypes is validating the number of types seen in the Bean type with the Greeting annotation. It is expecting a total of four types, which through Java SE 11 would include:
java.lang.Boolean
java.io.Serializable
java.lang.Comparable
java.lang.Object
In Java SE 12 the java.lang.Boolean class includes an additional java.lang.Constable interface, and so this test fails when run under a JVM later than Java SE 11. The test should just compare the expected types to what are seen on the JVM local Boolean.class to avoid JVM version dependencies.
The text was updated successfully, but these errors were encountered:
The org.jboss.cdi.tck.tests.implementation.simple.resource.env.EnvInjectionTest#testResourceBeanTypes is validating the number of types seen in the Bean type with the Greeting annotation. It is expecting a total of four types, which through Java SE 11 would include:
java.lang.Boolean
java.io.Serializable
java.lang.Comparable
java.lang.Object
In Java SE 12 the java.lang.Boolean class includes an additional java.lang.Constable interface, and so this test fails when run under a JVM later than Java SE 11. The test should just compare the expected types to what are seen on the JVM local Boolean.class to avoid JVM version dependencies.
The text was updated successfully, but these errors were encountered: