From issues-return-66374-archive-asf-public=cust-asf.ponee.io@commons.apache.org Sun Feb 11 12:26:08 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 4F97318064E for ; Sun, 11 Feb 2018 12:26:08 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3F511160C4E; Sun, 11 Feb 2018 11:26:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 864B2160C36 for ; Sun, 11 Feb 2018 12:26:07 +0100 (CET) Received: (qmail 42465 invoked by uid 500); 11 Feb 2018 11:26:06 -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 42450 invoked by uid 99); 11 Feb 2018 11:26:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Feb 2018 11:26:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 31E91C0047 for ; Sun, 11 Feb 2018 11:26:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 5lZsUpf5lwcf for ; Sun, 11 Feb 2018 11:26:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 4264C5F64B for ; Sun, 11 Feb 2018 11:26:05 +0000 (UTC) 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 30C48E0047 for ; Sun, 11 Feb 2018 11:26:03 +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 28CF921E83 for ; Sun, 11 Feb 2018 11:26:01 +0000 (UTC) Date: Sun, 11 Feb 2018 11:26:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LANG-1060) NumberUtils.isNumber assumes number starting with Zero is octal 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-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16359903#comment-16359903 ] ASF GitHub Bot commented on LANG-1060: -------------------------------------- Github user PascalSchumacher commented on the issue: https://github.com/apache/commons-lang/pull/313 A pull request with tests for the `float` case would be welcome. > NumberUtils.isNumber assumes number starting with Zero is octal > --------------------------------------------------------------- > > Key: LANG-1060 > URL: https://issues.apache.org/jira/browse/LANG-1060 > Project: Commons Lang > Issue Type: Bug > Components: lang.math.* > Affects Versions: 3.3.2 > Reporter: James Haugen > Assignee: Pascal Schumacher > Priority: Major > Fix For: 3.8 > > > The isNumber method assumes, that if the String being passed in doesn't have an 'X' at the second char it is an octal number. -- This message was sent by Atlassian JIRA (v7.6.3#76005)