< prev index next >

test/hotspot/jtreg/runtime/cds/appcds/customLoader/CustomClassListDump.java

Print this page
*** 1,7 ***
  /*
!  * Copyright (c) 2021, 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.
--- 1,7 ---
  /*
!  * Copyright (c) 2021, 2024, 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.

*** 92,11 ***
                         "-XX:SharedClassListFile=" + classList);
          CDSTestUtils.createArchiveAndCheck(opts)
              .shouldContain("unreg CustomLoadee")
              .shouldContain("unreg CustomLoadee2")
              .shouldContain("unreg CustomLoadee3Child")
!             .shouldContain("unreg OldClass ** unlinked");
  
          // Use the dumped static archive
          opts = (new CDSOptions())
              .setUseVersion(false)
              .addPrefix("-cp", appJar)
--- 92,11 ---
                         "-XX:SharedClassListFile=" + classList);
          CDSTestUtils.createArchiveAndCheck(opts)
              .shouldContain("unreg CustomLoadee")
              .shouldContain("unreg CustomLoadee2")
              .shouldContain("unreg CustomLoadee3Child")
!             .shouldContain("unreg OldClass unlinked");
  
          // Use the dumped static archive
          opts = (new CDSOptions())
              .setUseVersion(false)
              .addPrefix("-cp", appJar)
< prev index next >