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

Compiler produces java.lang.VerifyError: Bad type on operand stack

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • None
    • tools
    • b73
    • 8
    • b75
    • Verified

    Description

      Compiler produces java.lang.VerifyError: Bad type on operand stack for the following JCK compiler tests
      lang/LMBD/lmbd010/lmbd01001m6/lmbd01001m6.html
      lang/LMBD/lmbd010/lmbd01001m61/lmbd01001m61.html
      lang/LMBD/lmbd010/lmbd01001m7/lmbd01001m7.html
      lang/LMBD/lmbd010/lmbd01001m71/lmbd01001m71.html
      lang/LMBD/lmbd012/lmbd01201m0/lmbd01201m0.html
      lang/LMBD/lmbd012/lmbd01201m01/lmbd01201m01.html
      lang/LMBD/lmbd012/lmbd01201m1/lmbd01201m1.html
      lang/LMBD/lmbd012/lmbd01201m11/lmbd01201m11.html
      lang/LMBD/lmbd012/lmbd01201m2/lmbd01201m2.html
      lang/LMBD/lmbd012/lmbd01201m21/lmbd01201m21.html
      lang/LMBD/lmbd033/lmbd03301m0/lmbd03301m0.html
      lang/LMBD/lmbd033/lmbd03301m01/lmbd03301m01.html
      lang/LMBD/lmbd033/lmbd03301m1/lmbd03301m1.html
      lang/LMBD/lmbd033/lmbd03301m11/lmbd03301m11.html
      lang/LMBD/lmbd033/lmbd03301m2/lmbd03301m2.html
      lang/LMBD/lmbd033/lmbd03301m21/lmbd03301m21.html
      lang/LMBD/lmbd034/lmbd03401m0/lmbd03401m0.html
      lang/LMBD/lmbd034/lmbd03401m1/lmbd03401m1.html
      lang/LMBD/lmbd034/lmbd03401m2/lmbd03401m2.html
      lang/LMBD/lmbd035/lmbd03501m1/lmbd03501m1.html
      lang/LMBD/lmbd035/lmbd03501m2/lmbd03501m2.html
      lang/LMBD/lmbd035/lmbd03501m3/lmbd03501m3.html

      java.lang.VerifyError: Bad type on operand stack
      Exception Details:
        Location:
          javasoft/sqe/tests/lang/lmbd010/lmbd01001m6/lmbd01001m6.run([Ljava/lang/String;Ljava/io/PrintStream;)I @1: invokedynamic
        Reason:
          Type '[Ljava/lang/String;' (current frame, stack[0]) is not assignable to 'javasoft/sqe/tests/lang/lmbd010/lmbd01001m6/lmbd01001m6'
        Current Frame:
          bci: @1
          flags: { }
          locals: { '[Ljava/lang/String;', 'java/io/PrintStream' }
          stack: { '[Ljava/lang/String;' }
        Bytecode:
          0000000: 2aba 0005 0000 4d2c 08b9 0006 0200 3e1d
          0000010: 1006 9f00 262b bb00 0759 b700 0812 09b6
          0000020: 000a 1db6 000b 120c b600 0a10 06b6 000b
          0000030: b600 0db6 000e 05ac 03ac
        Stackmap Table:
          append_frame(@56,Object[#31],Integer)

      at java.lang.Class.getDeclaredMethods0(Native Method)
      at java.lang.Class.privateGetDeclaredMethods(Class.java:2443)
      at java.lang.Class.getMethod0(Class.java:2686)
      at java.lang.Class.getMethod(Class.java:1620)
      at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:521)
      at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:489)
      Exception in thread "main"

      Attachments

        Activity

          People

            mcimadamore Maurizio Cimadamore
            vrudomet Victor Rudometov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: