RFR: JDK-8215571: jdb does not include jdk.* in the default class filter

Gary Adams gary.adams at oracle.com
Thu Dec 20 12:52:33 UTC 2018


This should be a trivial update.

The default "excludes" filter for jdb
should have been updated when the jdk.* packages were first introduced.


diff --git 
a/src/jdk.jdi/share/classes/com/sun/tools/example/debug/tty/Env.java 
b/src/jdk.jdi/share/classes/com/sun/tools/example/debug/tty/Env.java
--- a/src/jdk.jdi/share/classes/com/sun/tools/example/debug/tty/Env.java
+++ b/src/jdk.jdi/share/classes/com/sun/tools/example/debug/tty/Env.java
@@ -1,5 +1,5 @@
  /*
- * Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights 
reserved.
+ * Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights 
reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
@@ -108,7 +108,7 @@

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



More information about the serviceability-dev mailing list