What is the minimum JDK compatibility level for Jenkins?

One of the tests breaks with JDK 1.6 for me. With 1.7 it works. (OSX 10.10.2)

Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.444 sec <<< FAILURE! - in hudson.plugins.git.GitChangeSetTest
testIsoDate(hudson.plugins.git.GitChangeSetTest)  Time elapsed: 1.01 sec  <<< ERROR!
java.lang.IllegalArgumentException: Illegal pattern character 'X'
        at java.text.SimpleDateFormat.compile(SimpleDateFormat.java:768)
        at java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:575)
        at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:500)
        at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:475)
        at hudson.plugins.git.GitChangeSet.getTimestamp(GitChangeSet.java:209)
        at hudson.plugins.git.GitChangeSetTest.testIsoDate(GitChangeSetTest.java:154)

$ java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-466.1, mixed mode)

$ java -version
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b12)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to