mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-04 21:01:21 +08:00
build querydsl with java 17
String implements Constable and ConstantDesc in java 17
This commit is contained in:
parent
c068ced1f7
commit
3db796be32
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -34,7 +34,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
target: [test]
|
||||
java: [1.8, 11]
|
||||
java: [1.8, 11, 17]
|
||||
include:
|
||||
- target: test
|
||||
containers: db2 mysql postgresql mongo sqlserver oracle cubrid firebird
|
||||
|
||||
@ -12,8 +12,10 @@ class ReflectionUtilsTest {
|
||||
|
||||
@Test
|
||||
def getImplementedInterfaces {
|
||||
assertEquals(Set(classOf[java.io.Serializable],classOf[Comparable[_]],classOf[CharSequence]),
|
||||
ReflectionUtils.getImplementedInterfaces(classOf[String]))
|
||||
var setToTest = ReflectionUtils.getImplementedInterfaces(classOf[String])
|
||||
assertTrue(setToTest.contains(classOf[java.io.Serializable]))
|
||||
assertTrue(setToTest.contains(classOf[Comparable[_]]))
|
||||
assertTrue(setToTest.contains(classOf[CharSequence]))
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Loading…
Reference in New Issue
Block a user