[
https://jira.jboss.org/jira/browse/JBSEAM-4400?page=com.atlassian.jira.pl...
]
Karel Piwko resolved JBSEAM-4400.
---------------------------------
Resolution: Done
Replaced getInstance() method, which is not available in JDK 5.
SeleniumDateSelector cannot be compiled with JDK 5
--------------------------------------------------
Key: JBSEAM-4400
URL:
https://jira.jboss.org/jira/browse/JBSEAM-4400
Project: Seam
Issue Type: Bug
Components: Test Harness
Affects Versions: 2.2.1.CR1
Reporter: Ondrej Skutka
Assignee: Karel Piwko
Priority: Critical
Fix For: 2.2.1.CR1
src/test/ftest/src/main/org/jboss/seam/example/common/test/selenium/SeleniumDateSelector.java
cannot be compiled using JDK 5:
[javac]
/mnt/hudson_workspace/workspace/Seam-2.2.X-ftest-jboss5/jdk/java15/label/RHEL5_x86/seam/src/test/ftest/src/main/org/jboss/seam/example/common/test/selenium/SeleniumDateSelector.java:181:
cannot find symbol
[javac] symbol : method getInstance()
[javac] location: class java.text.DateFormatSymbols
[javac] final List<String> months =
Arrays.asList(DateFormatSymbols.getInstance().getMonths());
[javac] ^
[javac] 1 error
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira