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

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

XMLWordPrintable

    • b11
    • sparc
    • solaris
    • Not verified

        (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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: