myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Avin Goyal (JIRA)" <>
Subject [jira] [Updated] (TRINIDAD-2497) Code changes for JDK8 Compatibility issue
Date Wed, 30 Jul 2014 12:34:39 GMT


Avin Goyal updated TRINIDAD-2497:

    Status: Patch Available  (was: Open)

> Code changes for JDK8 Compatibility issue
> -----------------------------------------
>                 Key: TRINIDAD-2497
>                 URL:
>             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 (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

View raw message