Skip to content

Commit

Permalink
8335349: jcmd VM.classloaders "fold" option should be optional
Browse files Browse the repository at this point in the history
Reviewed-by: cjplummer, stuefe
  • Loading branch information
kevinjwalls committed Jun 29, 2024
1 parent 8350b1d commit bb18498
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/share/classfile/classLoaderHierarchyDCmd.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018 SAP SE. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
Expand Down Expand Up @@ -39,7 +39,7 @@ ClassLoaderHierarchyDCmd::ClassLoaderHierarchyDCmd(outputStream* output, bool he
: DCmdWithParser(output, heap),
_show_classes("show-classes", "Print loaded classes.", "BOOLEAN", false, "false"),
_verbose("verbose", "Print detailed information.", "BOOLEAN", false, "false"),
_fold("fold", "Show loaders of the same name and class as one.", "BOOLEAN", true, "true") {
_fold("fold", "Show loaders of the same name and class as one.", "BOOLEAN", false, "true") {
_dcmdparser.add_dcmd_option(&_show_classes);
_dcmdparser.add_dcmd_option(&_verbose);
_dcmdparser.add_dcmd_option(&_fold);
Expand Down

0 comments on commit bb18498

Please sign in to comment.