Skip to content

Fix tests on Java versions >= 11 (Issue #118)

Joeke de Graaf requested to merge joekeh/Kawa:master into master

This fixes Issue #118

  • Added a test for checking whether JAXB is available JAXB is not present by default in Java 11 and up. Configure now checks for its availability. This is used in the tests' Makefile to determine whether to run the check-jaxb-annotations3 test.

  • Added MyFieldAnnotType.java As a replacement for javax.annotation.Resource in annotations1.scm

  • Updated annotations1.scm and annotations1-bytecode.expected MyFieldAnnotType is now used in annotations1.scm instead of javax.annotation.Resource, since it is no longer available in newer Java versions

  • Updated bad-annotations2.scm to also use MyFieldAnnotType

Merge request reports