From issues-return-73361-archive-asf-public=cust-asf.ponee.io@commons.apache.org Wed Apr 10 18:45:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id D006A180626 for ; Wed, 10 Apr 2019 20:45:01 +0200 (CEST) Received: (qmail 67322 invoked by uid 500); 10 Apr 2019 18:45:01 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 67311 invoked by uid 99); 10 Apr 2019 18:45:00 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Apr 2019 18:45:00 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 72D90E2A0B for ; Wed, 10 Apr 2019 18:45:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 36ED124595 for ; Wed, 10 Apr 2019 18:45:00 +0000 (UTC) Date: Wed, 10 Apr 2019 18:45:00 +0000 (UTC) From: "Rob Tompkins (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (LANG-1447) FieldUtilsTest fails in Java 12 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LANG-1447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rob Tompkins updated LANG-1447: ------------------------------- Description: {{FieldUtils.removeFinalModifier(Field, boolean)}} no longer removes the {{final}} modifier because of a change in java 12. The email: http://mail.openjdk.java.net/pipermail/core-libs-dev/2018-November/056486.html discusses this in the jcp. In java versions 12.0 or later we should throw sn {{UnsupportedOperationException}}. Furthermore, we should deprecate the method as it clearly won't have a use in the future. (was: {{FieldUtils.removeFinalModifier(Field, boolean)} no longer removes the {{final}} modifier because of a change in java 12. The email: http://mail.openjdk.java.net/pipermail/core-libs-dev/2018-November/056486.html discusses this in the jcp. In java versions 12.0 or later we should throw sn {{UnsupportedOperationException}}. Furthermore, we should deprecate the method as it clearly won't have a use in the future.) > FieldUtilsTest fails in Java 12 > ------------------------------- > > Key: LANG-1447 > URL: https://issues.apache.org/jira/browse/LANG-1447 > Project: Commons Lang > Issue Type: Improvement > Affects Versions: 3.8.1 > Reporter: Rob Tompkins > Assignee: Rob Tompkins > Priority: Major > Fix For: 3.9 > > > {{FieldUtils.removeFinalModifier(Field, boolean)}} no longer removes the {{final}} modifier because of a change in java 12. The email: http://mail.openjdk.java.net/pipermail/core-libs-dev/2018-November/056486.html discusses this in the jcp. In java versions 12.0 or later we should throw sn {{UnsupportedOperationException}}. Furthermore, we should deprecate the method as it clearly won't have a use in the future. -- This message was sent by Atlassian JIRA (v7.6.3#76005)