In test/hotspot/jtreg/runtime/cds/appcds/applications/spring-petclinic/SpringPetClinic.java, we launch a child JVM with the following classpath setting:
java ... -cp @petclinic-snapshot/target/unpacked/classpath -Xlog:class+load=debug:file=SpringPetClinic.classlist.log::filesize=0 org.springframework.samples.petclinic.PetClinicApplication
https://github.com/openjdk/leyden/blob/864228c7c494e7d46ab653eaacaacb8169dd34df/test/hotspot/jtreg/runtime/cds/appcds/applications/spring-petclinic/SpringPetClinic.java#L75
However, the petclinic-snapshot/target/unpacked/classpath is created with Linux path separators (:) so it doesn't work on Windows:
[STDERR]
Error: Could not find or load main class org.springframework.samples.petclinic.PetClinicApplication
Caused by: java.lang.ClassNotFoundException: org.springframework.samples.petclinic.PetClinicApplication
Note: currently this test is excluded on Windows:
ProblemList.txt:runtime/cds/appcds/applications/SpringPetClinic.java#dynamic 8338613 windows-all
ProblemList.txt:runtime/cds/appcds/applications/SpringPetClinic.java#leyden 8338613 windows-all
ProblemList.txt:runtime/cds/appcds/applications/SpringPetClinic.java#leyden_old 8338613 windows-all
ProblemList.txt:runtime/cds/appcds/applications/SpringPetClinic.java#static 8338613 windows-all
java ... -cp @petclinic-snapshot/target/unpacked/classpath -Xlog:class+load=debug:file=SpringPetClinic.classlist.log::filesize=0 org.springframework.samples.petclinic.PetClinicApplication
https://github.com/openjdk/leyden/blob/864228c7c494e7d46ab653eaacaacb8169dd34df/test/hotspot/jtreg/runtime/cds/appcds/applications/spring-petclinic/SpringPetClinic.java#L75
However, the petclinic-snapshot/target/unpacked/classpath is created with Linux path separators (:) so it doesn't work on Windows:
[STDERR]
Error: Could not find or load main class org.springframework.samples.petclinic.PetClinicApplication
Caused by: java.lang.ClassNotFoundException: org.springframework.samples.petclinic.PetClinicApplication
Note: currently this test is excluded on Windows:
ProblemList.txt:runtime/cds/appcds/applications/SpringPetClinic.java#dynamic 8338613 windows-all
ProblemList.txt:runtime/cds/appcds/applications/SpringPetClinic.java#leyden 8338613 windows-all
ProblemList.txt:runtime/cds/appcds/applications/SpringPetClinic.java#leyden_old 8338613 windows-all
ProblemList.txt:runtime/cds/appcds/applications/SpringPetClinic.java#static 8338613 windows-all