Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8079546

[TESTBUG] hotspot_clienttest creates shared archive but doesn't check if it can be used

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P3 P3
    • 9
    • 8u60, 9
    • hotspot

      We have:

      hotspot_clienttest clienttest: sanitytest
              $(RM) $(PRODUCT_HOME)/jre/lib/*/client/classes.jsa
              $(RM) $(PRODUCT_HOME)/jre/bin/client/classes.jsa
              $(PRODUCT_HOME)/bin/java $(JAVA_OPTIONS) -Xshare:dump

      which checks that the shared archive can be created, but we don't actually attempt to use it. Need to add:

      $(PRODUCT_HOME)/bin/java $(JAVA_OPTIONS) -Xshare:on -version

      to at least check the archive can be processed.

      Also need to fix the paths to classes.jsa as we no longer have the jre subdirectory.

      Also need to add CDS testing to servertest otherwise we won't be checking CDS on 64-bit only platforms (no client VM).

            dholmes David Holmes
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: