opalj/opal

Support Java 17

errt opened this issue · 1 comments

errt commented

Java 17 has been released. There are two JEPs that may affect Opal:

  • JEP 306: Check whether OPAL makes use of the ACC_STRICT flag, maybe set it for classfiles with major version > 60 during loading (not necessarily set by the compiler anymore, but the semantics for these classfiles is the same as ACC_STRICT on classfiles with major version 46-60)
  • JEP 409: Support the PermittedSubclasses attribute; make sure to use the information from the attribute when deciding on type extensibility
errt commented

Fixed by #44 and #53