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

Fix typo in verifier.cpp

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • None
    • hotspot
    • None
    • b17

      On 23 maj 2014, at 16:30, Yuri Gaevsky <ygaevsky@azulsystems.com> wrote:

      > Hello,
      >
      > Please see below a tiny fix for integration into JDK 9.
      >
      > $ hg diff
      > diff --git a/src/share/vm/classfile/verifier.cpp b/src/share/vm/classfile/verifier.cpp
      > --- a/src/share/vm/classfile/verifier.cpp
      > +++ b/src/share/vm/classfile/verifier.cpp
      > @@ -2033,7 +2033,7 @@
      > while ((bcp + padding_offset) < aligned_bcp) {
      > if(*(bcp + padding_offset) != 0) {
      > verify_error(ErrorContext::bad_code(bci),
      > - "Nonzero padding byte in lookswitch or tableswitch");
      > + "Nonzero padding byte in lookupswitch or tableswitch");
      > return;
      > }
      > padding_offset++;
      >
      >
      > Thank you,
      > -Yuri

            coleenp Coleen Phillimore
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: