You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Avin Goyal (JIRA)" <de...@myfaces.apache.org> on 2014/07/30 14:34:39 UTC
[jira] [Created] (TRINIDAD-2497) Code changes for JDK8
Compatibility issue
Avin Goyal created TRINIDAD-2497:
------------------------------------
Summary: Code changes for JDK8 Compatibility issue
Key: TRINIDAD-2497
URL: https://issues.apache.org/jira/browse/TRINIDAD-2497
Project: MyFaces Trinidad
Issue Type: Bug
Components: Build
Affects Versions: 2.1.0-core
Reporter: Avin Goyal
Problem:
1. The methods are no longer static in sun.util.resources.LocaleData.java (we need to get the resourceBundles). We are using reflectoin to invoke the methods. Earlier we were passing null. But now, since the methods are no longer static, we have to pass the instance of LocaleData to invoke the methods.
2. There is a change in the "DateTimePatterns" value in JAVA8. Till JDK7, it also had Time and Date patterns.
In JDK8, it contains only one string: "{1} {0}".
In order to get the old value back, we have to combine the values from these three keys: "TimePatterns", "DatePatterns", "DateTimePatterns"
Also, modifying pom.xml of maven-i18n-plugin to change maven-compiler-plugin source and target version number to 1.6 from 1.4
--
This message was sent by Atlassian JIRA
(v6.2#6252)