Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions .github/workflows/java-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,18 @@ jobs:

- name: Test on JDK 10
if: matrix.java-version == '10'
# JDK 10 predates cgroup v2 support and can exit during startup on
# current hosted runners while reading their container configuration.
run: |
"$JAVA_HOME_10_X64/bin/java" -XX:-UseContainerSupport -version
./mvnw -B -ntp -Djvm="$JAVA_HOME_10_X64/bin/java" -DargLine=-XX:-UseContainerSupport verify
# HotSpot 10 intermittently exits in compiled mode on hosted runner
# CPUs. Keep Maven on JDK 17 and run only compatibility tests in the
# JDK 10 interpreter.
run: ./mvnw -B -ntp -Djvm="$JAVA_HOME_10_X64/bin/java" -DargLine="-Xint -XX:-UseContainerSupport" verify

- name: Upload JDK 10 crash diagnostics
if: failure() && matrix.java-version == '10'
uses: actions/upload-artifact@v4
with:
name: java-10-crash-diagnostics
path: |
minipdf-java/**/target/surefire-reports/**
minipdf-java/**/hs_err_pid*.log
if-no-files-found: warn
retention-days: 3
Original file line number Diff line number Diff line change
Expand Up @@ -2281,9 +2281,9 @@ private static PDFont loadCollectionFont(PDDocument document, Path path) throws
private static List<Path> cjkSystemFonts() {
if (!FontEmbeddingPolicy.shouldSubset()) {
return systemFonts(
"wqy-microhei.ttc",
"unifont.ttf",
"NotoSansSC-VF.ttf",
"wqy-microhei.ttc",
"NotoSansCJK-Regular.ttc",
"simhei.ttf",
"simsun.ttc");
Expand Down
Loading