The build process currently uses apt, the annotation processing tool, to process @SysCallTemplate annotations. apt is deprecated in Java 7. It is replaced
by javac and the Java 6 APIs javax.annotation.prcessing and javax.lang.model .
This was discussed on the mailing list and it was decided that annotations should be processed via the Java 6 API. Consequently, the Jikes RVM will require a Java 6 JDK instead of a Java 5 JDK to build.
Here is a first attempt at a patch. Constructive critism is welcome.
I've also got some black-box-tests for the new annotation processing. I've not provided them because I'm not sure how they would fit in the existing test infrastructure:
the tests validate only the output of the annotation processing
the tests use JUnit but they are not unit tests
the tests do not need a Jikes RVM configuration
They're also badly written. I'd be willing to rework them to fit the test infrastructure if there's a consensus on how they should be integrated.
committed patch in 10402-10404.
Added note in NEWS; updated Userguide wiki page to list Java 6 instead of Java 5 as needed to build Jikes RVM.