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

integer number too large: 10

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1 P1
    • None
    • 1.4.0
    • hotspot
    • sparc
    • solaris_7

      The Merlin Beta Refresh 64-bit Solaris Sparc nightly build failed.

      I can reproduce the failure like this, using the latest JDK (or even
      one from a couple of weeks ago) plus the nightly HotSpot binary:

        % cat /tmp/T2.java
        public interface T2 { long n = 10L; }

        % bin/javac -J-d64 /tmp/T2.java
        /tmp/T2.java:1: integer number too large: 10
        public interface T2 { long n = 10L; }
      ^
        1 error

      The problem disappears when I use the HotSpot binary from Monday's
      promotion. It also disappears when I change the 10 to a 9. I don't
      know if the problem exists on 32-bit Solaris Sparc. It doesn't
      happen on other platforms.


      scott.seligman@Eng 2001-05-19
      It looks like this problem is only on 64-bit.

            phh Paul Hohensee
            sseligmasunw Scott Seligman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: