integer number too large: 10

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P1
    • None
    • Affects Version/s: 1.4.0
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: