diff --git a/src/test/java/xyz/zhouxy/plusone/commons/model/dto/test/PagingAndSortingQueryParamsTests.java b/src/test/java/xyz/zhouxy/plusone/commons/model/dto/test/PagingAndSortingQueryParamsTests.java index 2810acc..eae1301 100644 --- a/src/test/java/xyz/zhouxy/plusone/commons/model/dto/test/PagingAndSortingQueryParamsTests.java +++ b/src/test/java/xyz/zhouxy/plusone/commons/model/dto/test/PagingAndSortingQueryParamsTests.java @@ -212,6 +212,7 @@ public class PagingAndSortingQueryParamsTests { List list = accountQueries.queryAccountList(params, pagingParams); long count = accountQueries.countAccount(params); PageResult accountPageResult = PageResult.of(list, count); + // TODO [修复] 从 JDK 17 开始,也允许使用反射访问内部字段,所以这里会报错。参考 https://github.com/google/gson/blob/main/Troubleshooting.md#reflection-inaccessible log.info(gson.toJson(accountPageResult)); assertEquals(Lists.newArrayList(