Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4033850

Invalid floating point format - in a German environment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.1.5
    • 1.1
    • tools
    • 1.1.5
    • sparc
    • solaris_2.5.1, solaris_2.6



      Name: mc57594 Date: 02/21/97


      >> Using SPARC Solaris 2.5.1 European Edition <<

      1> textedit DoubleConstBug.java

      -- DoubleConstBug.java --
      class DoubleConstBug {
        public double x = 0.5;
      }
      --

      2> setenv LANG de
      3> javac DoubleConstBug.java
      DoubleConstBug.java:2: Invalid floating point format.
        public double x = 0.5;
                          ^
      1 error

      # in gemany floating point numbers are
      # delimited with a "," !

      4> setenv LANG C
      5> javac DoubleConstBug.java
        -> everything is done fine <-

      company - CC, University of Applied Sciences Wolfenbuettel , email - ###@###.###
      ======================================================================

            iris Iris Clark
            mchamnessunw Mark Chamness (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: