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

NegativeArraySizeException is not thrown

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • hs13
    • 6u10
    • hotspot
    • b07
    • b01
    • generic
    • generic, solaris
    • Verified

        Test execution results are erroneous when C2 with -Xcomp is used.

        -Xint / -client / -server -Xmixed:
        [
        Tester.var_29 = 2.6356778E38
        Tester.var_28 = true
        ]

        -server -Xcomp:
        [
        Tester.var_29 = 98.0
        Tester.var_28 = true
        ]

        I observe such behavior at least on linux-x86/x64 with both JDK 6u10b11 and JDK 7b24.

        Testcase is attached.
        HS10 (10.0-b19, jdk6u5-b11) isn't affected.

              rasbold Chuck Rasbold
              vlivanov Vladimir Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: