myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott O'Bryan (JIRA)" <>
Subject [jira] [Updated] (TRINIDAD-2497) Code changes for JDK8 Compatibility issue
Date Wed, 30 Jul 2014 23:03:41 GMT


Scott O'Bryan updated TRINIDAD-2497:

    Status: Open  (was: Patch Available)

> 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
>         Attachments: JDK8BuildIssue.patch
> While building in jdk8, the plugin maven-i18n-plugin in trinidad plugin project, had
the following problems:
> 1. The methods are no longer static in (we are using
to get the resourceBundles). We are using reflection 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