Git Product home page Git Product logo

classpath's People

Contributors

archiecobbs avatar arenn avatar atgreen avatar biscuitsandscones avatar bjones avatar doko42 avatar ebblake avatar fitzsim avatar fnasser avatar gnu-andrew avatar graydon avatar guillerodriguez avatar iproetel avatar ivmai avatar jakubjelinek avatar jeblair avatar jfree avatar jfrijters avatar kie-tools-bot avatar mwringe avatar nresare avatar patrikreali avatar penberg avatar shtiek avatar thebohemian avatar therealaph avatar

classpath's Issues

[meta-bug] Java security model tracking PR

Note: the issue was migrated automatically with bugzilla2github

Original bug ID: BZ#13603
From: Tom Tromey <[email protected]>
Reported version: unspecified
CC: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]

Depends on: BZ#25469, BZ#1373, BZ#9250, BZ#11780, BZ#12740, BZ#13604, BZ#13605, BZ#13606, BZ#17784, BZ#20047, BZ#21222, BZ#21890, BZ#21891, BZ#21892, BZ#21893, BZ#24895, BZ#25374, BZ#26990, BZ#28340

Negative suffix not properly handled in DecimalFormat (Bugzilla #70658)

This issue was created automatically with bugzilla2github.py

Bugzilla #70658

Date: 2016-04-14 10:15:36 +0000
From: @guillerodriguez
To: Not yet assigned to anyone <[email protected]>

Last updated: 2016-04-14 11:16:13 +0000

Comment 485047

Date: 2016-04-14 10:15:36 +0000
From: @guillerodriguez

When a negative subpattern is not explicitly defined, DecimalFormat should use the "positive suffix" for negative values as well.

Simple test case to reproduce the problem:

DecimalFormat tempFormat = new DecimalFormat("0.0 unit");
System.out.println(tempFormat.format(4.3));
System.out.println(tempFormat.format(-4.3));

Yields:

4.3 unit
-4.3

Should be:

4.3 unit
-4.3 unit

Comment 485048

Date: 2016-04-14 10:17:12 +0000
From: @guillerodriguez

Created attachment 38264
Proposed fix

Here's a patch that fixes the problem. First reported to GNU Classpath mailing list in January 2015.

Attached file: file_70658.txt (text/plain, 257 bytes)
Description: Proposed fix
Link: https://gcc.gnu.org/bugzilla/attachment.cgi?id=38264

[meta-bug] Java security model tracking PR

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.