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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P3
    • 9
    • Affects Version/s: 8u60, 9
    • Component/s: 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).

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

              Created:
              Updated:
              Resolved: