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).
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).