On Fri, 29 Jul 2022 21:08:43 GMT, Roger Riggs <rri...@openjdk.org> wrote:
>> Harold Seigel has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Improved tests, added mulit-dimensional array tests, simplified new >> java.lang.Class API's > > test/hotspot/jtreg/runtime/ClassFile/ClassAccessFlagsRawTest.java line 59: > >> 57: // test primitive array. should return ACC_ABSTRACT | ACC_FINAL >> | ACC_PUBLIC. >> 58: int flags = (int)m.invoke((new int[3]).getClass()); >> 59: if (flags != 1041) { > > Can this be a hex constant, It's easier to understand the bits. > Or assemble the flags from java.lang.reflect.Modifier.XXX static fields. I changed this in the second commit to use java.lang.reflect.Modifier static fields. ------------- PR: https://git.openjdk.org/jdk/pull/9688