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

Fix typo in StackWalker javadoc

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • core-libs
    • b99

      iff --git a/src/java.base/share/classes/java/lang/StackWalker.java b/src/java.base/share/classes/java/lang/StackWalker.java
      --- a/src/java.base/share/classes/java/lang/StackWalker.java
      +++ b/src/java.base/share/classes/java/lang/StackWalker.java
      @@ -304,8 +304,8 @@
           }
       
           /**
      - * Returns a {@code StackWalker} instance with the given {@ocde options} specifying
      - * the stack frame information it can access. If the given {@ocde options}
      + * Returns a {@code StackWalker} instance with the given {@code options} specifying
      + * the stack frame information it can access. If the given {@code options}
            * is empty, this {@code StackWalker} is configured to skip all
            * {@linkplain Option#SHOW_HIDDEN_FRAMES hidden frames} and no
            * {@linkplain Option#RETAIN_CLASS_REFERENCE class reference} is retained.

            mchung Mandy Chung (Inactive)
            mchung Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: