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

jdb does not include jdk.* in the default class filter

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9, 10, 11, 12, 13
    • Fix Version/s: 13
    • Component/s: core-svc
    • Labels:
      None
    • Subcomponent:
    • Introduced In Version:
      9
    • Resolved In Build:
      b02

      Description

      jdb has a default class filter for filtering out JDK library classes. This allows you to single step into a library call, and not have the single step complete until you are back in user code. This default class filter can be displayed and set using the jdb "exclude" command:

      > exclude
      java.*,javax.*,sun.*,com.sun.*,

      The jdb Env.java file is where this default is setup:

          static private List<String> excludes() {
              if (excludes == null) {
                  setExcludes("java.*, javax.*, sun.*, com.sun.*");
              }
              return excludes;
          }

      JDK 9 added jdk.internal.*, and these classes currently do not get filtered by default. jdk.* should be added to the default filter to capture the jdk.internal package, an any others that fall under jdk.*.

        Attachments

          Activity

            People

            • Assignee:
              gadams Gary Adams (Inactive)
              Reporter:
              cjplummer Chris Plummer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: