The OpenJPA project has upgraded to Java SE 6 for the upcoming 2.0.0 release, but only for building the source. Runtime and junit tests can still use Java SE 5, but some annotation features are only available if Java SE 6 is used. The work is being tracked via the OPENJPA-1520 JIRA. All of the build changes have been completed, with exact details listed in the JIRA.