try to fix DEP issue with official jdk#7008
Conversation
koppor
left a comment
There was a problem hiding this comment.
The implementation uses the minimal example of sormuras/download-jdk. --> https://github.com/sormuras/download-jdk#minimal-example-with-default-feature-and-using-environment-variables
LGTM
|
Please wait with merging. Needs testing. First of all the windows build needs to run... Some plug-in repos seem to be reachable |
tobiasdiez
left a comment
There was a problem hiding this comment.
Strange that there are errors due to different JDKs...that shouldn't happen :(
Thanks for fixing it.
| uses: gittools/actions/gitversion/execute@v0.9.4 | ||
| - name: Set up JDK | ||
| uses: actions/setup-java@v1 | ||
| - name: Setup JDK 15 from jdk.java.net |
There was a problem hiding this comment.
This is not from https://github.com/sormuras/download-jdk#minimal-example-with-default-feature-and-using-environment-variables (is it?), thus I am fine with this change.
| with: | ||
| java-version: 15 | ||
| feature: 15 | ||
| - uses: actions/setup-java@v1 |
There was a problem hiding this comment.
This stems from the MWE https://github.com/sormuras/download-jdk#minimal-example-with-default-feature-and-using-environment-variables. Maybe we should provide a PR for them, too?
| with: | ||
| java-version: ${{ env.JDK_VERSION }} | ||
| jdkFile: ${{ env.JDK_FILE }} | ||
| - run: java --version |
There was a problem hiding this comment.
Remove this (debug statement)?
There was a problem hiding this comment.
This stems from the MWE https://github.com/sormuras/download-jdk#minimal-example-with-default-feature-and-using-environment-variables. I also thought about its usefulenes. Since there is not the concept of LOGGER.debug and Logger configuration, I would keep it to ensure quick debugging. We will surely have regularly JDK issues the next years.
|
Unfortunately still crashes with DEP. I got a bug ID now. |
|
Looks like it's indeed a bug in the OpenJDK. So I guess we need to go back to JDK 14 (at least for Windows). |
|
@tobiasdiez Yep, until the bug is fixed I would add the switch as before, this time only for windows. Shouldn't affect development as we still are on 14 in gradle etc. I will do that tomorrow. |
* upstream/master: Jstor Fetcher (#6992) Group: "Searching for keywords" searches for a single keyword ==> use singular (#6995) Merge parsing of bracketed patterns (#6989) 6848 fixed the issue of clicking collapse all expanding tree (#6993) Enable auto sync per default for Open/Libre Office (#6985) Bump unirest-java from 3.11.00 to 3.11.01 (#7001) Bump byte-buddy-parent from 1.10.16 to 1.10.17 (#7004) Bump lucene-queryparser from 8.6.2 to 8.6.3 (#7002) Bump postgresql from 42.2.16 to 42.2.17 (#7005) Bump pascalgn/automerge-action from v0.11.0 to v0.12.0 (#7006) Bump flowless from 0.6.1 to 0.6.2 (#7003)
* upstream/master: Update journalList.mv Update to javafx15 (#7018) Squashed 'src/main/resources/csl-styles/' changes from 6fab78b..5297abd try to fix DEP issue with official jdk (#7008) Jstor Fetcher (#6992) Group: "Searching for keywords" searches for a single keyword ==> use singular (#6995) Merge parsing of bracketed patterns (#6989) 6848 fixed the issue of clicking collapse all expanding tree (#6993) Enable auto sync per default for Open/Libre Office (#6985) Bump unirest-java from 3.11.00 to 3.11.01 (#7001) Bump byte-buddy-parent from 1.10.16 to 1.10.17 (#7004) Bump lucene-queryparser from 8.6.2 to 8.6.3 (#7002) Bump postgresql from 42.2.16 to 42.2.17 (#7005) Bump pascalgn/automerge-action from v0.11.0 to v0.12.0 (#7006) Bump flowless from 0.6.1 to 0.6.2 (#7003)
* upstream/master: (58 commits) remove any newlines and spaces in isbn when fetching (#7023) add exception to error handler in integrity check Update journalList.mv Update to javafx15 (#7018) Squashed 'src/main/resources/csl-styles/' changes from 6fab78b..5297abd try to fix DEP issue with official jdk (#7008) Jstor Fetcher (#6992) Group: "Searching for keywords" searches for a single keyword ==> use singular (#6995) Merge parsing of bracketed patterns (#6989) 6848 fixed the issue of clicking collapse all expanding tree (#6993) Enable auto sync per default for Open/Libre Office (#6985) Bump unirest-java from 3.11.00 to 3.11.01 (#7001) Bump byte-buddy-parent from 1.10.16 to 1.10.17 (#7004) Bump lucene-queryparser from 8.6.2 to 8.6.3 (#7002) Bump postgresql from 42.2.16 to 42.2.17 (#7005) Bump pascalgn/automerge-action from v0.11.0 to v0.12.0 (#7006) Bump flowless from 0.6.1 to 0.6.2 (#7003) Rewrite guidelines to Java 15 (#6973) Lint CHANGELOG.md Removing "BibTeX" when not specific to BibTeX (#6983) ...
fixes #6890