< prev index next >

test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/RegularHiddenClass.java

Print this page
@@ -1,7 +1,7 @@
  /*
-  * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
+  * Copyright (c) 2020, 2025, 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
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.

@@ -55,11 +55,11 @@
  
          dump(topArchiveName,
              "-Xlog:class+load=debug,cds+dynamic,cds=debug",
              "-cp", appJar, mainClass, "keep-alive")
              .assertNormalExit(output -> {
-                 output.shouldMatch("cds.*Skipping.TestClass.0x.*Hidden.class")
+                 output.shouldMatch("cds.*Skipping.TestClass.0x.*Unreferenced.hidden.class")
                        .shouldNotMatch("cds.dynamic.*Archiving.hidden.TestClass.*")
                        .shouldHaveExitValue(0);
              });
  
          run(topArchiveName,
< prev index next >