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

java/dyn/InvokeDynamicPrintArgs.java fails with NPE on solaris-sparc with -Xcomp

    Details

    • Subcomponent:
    • Resolved In Build:
      b11
    • CPU:
      sparc
    • OS:
      solaris
    • Verification:
      Not verified

      Backports

        Description

        (this bug can be a duplicate of 7009361)

        Test java/dyn/InvokeDynamicPrintArgs.java fails with NullPointerException when started on solaris-sparc (32/64) with -Xcomp option:

        Printing some argument lists, starting with a empty one:
        [InvokeDynamicPrintArgs, nothing, ()void][]
        java.lang.NullPointerException
                at InvokeDynamicPrintArgs.main(InvokeDynamicPrintArgs.java:47)

        Most probably, NullPointerException is thrown after call to the BSM (I tried to add debug prints). Also I tried to invoke target method right in the BSM and it was executed normally.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  never Tom Rodriguez
                  Reporter:
                  kshiroko Kirill Shirokov (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: