RFR: JDK-8215571: jdb does not include jdk.* in the default class filter
Chris Plummer
chris.plummer at oracle.com
Thu Dec 20 15:18:03 UTC 2018
Looks good. I've been using it for a while now with no issues.
Chris
On 12/20/18 4:52 AM, Gary Adams wrote:
> 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