NegativeArraySizeException is not thrown

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • hs13
    • Affects Version/s: 6u10
    • Component/s: 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.

              Assignee:
              Chuck Rasbold
              Reporter:
              Vladimir Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: