Return-Path: X-Original-To: apmail-myfaces-dev-archive@www.apache.org Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AB4BE1173B for ; Wed, 30 Jul 2014 12:34:40 +0000 (UTC) Received: (qmail 65391 invoked by uid 500); 30 Jul 2014 12:34:40 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 65058 invoked by uid 500); 30 Jul 2014 12:34:39 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 64088 invoked by uid 99); 30 Jul 2014 12:34:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2014 12:34:39 +0000 Date: Wed, 30 Jul 2014 12:34:39 +0000 (UTC) From: "Avin Goyal (JIRA)" To: dev@myfaces.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (TRINIDAD-2497) Code changes for JDK8 Compatibility issue MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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)