-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update to Java 11 changelog_begin changelog_end * Fix RoundingMode deprecation warnings * Fix dep-ann warning * Integer constructor * JavaX annotation dependency * javax.xml.bind was removed in Java 11 Using Guava as a replacement, since it is already a project dependency. * JDK 11 no longer has a separate JRE tree * Remove unused jdk_nix import * remove now redundant jdk11_nix * Java 8 --> 9 increased Instant.now() precision See https://bugs.openjdk.java.net/browse/JDK-8068730 The precision of `Instant.now()` increased between Java 8 and Java 9. On Linux and MacOS this doesn't seem to be a problem, as the precision still seems to be at micro seconds. However, on Windows this now causes errors of the following form: ``` java.lang.IllegalArgumentException: Conversion of Instant 2021-11-05T13:58:56.726875100Z to microsecond granularity would result in loss of precision. ``` Suggesting that it now offers sub-microsecond precision. `TimestampConversion.instantToMicros` had a check to fail if the conversion lead to a loss of precision. In the specific failing test case this is not a concern, so this adds a `roundInstantToMicros` variant that avoids this kind of error. * TMP round timestamps * Revert "TMP round timestamps" This reverts commit af8e261. * Skip versions before 1.6.0 in migration tests changelog_begin changelog_end Co-authored-by: Andreas Herrmann <[email protected]>
- Loading branch information
1 parent
91b4fb9
commit 39a38d3
Showing
25 changed files
with
100 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"description": "OpenJDK 11 binaries built using source code from the CentOS project", | ||
"homepage": "https://github.com/ojdkbuild/ojdkbuild", | ||
"version": "11.0.12.7-1", | ||
"license": "GPL-2.0-only WITH Classpath-exception-2.0", | ||
"architecture": { | ||
"64bit": { | ||
"url": "https://github.com/ojdkbuild/ojdkbuild/releases/download/java-11-openjdk-11.0.12.7-1/java-11-openjdk-11.0.12.7-1.windows.ojdkbuild.x86_64.zip", | ||
"hash": "656e551e23c1302312e6a497fac3a65fc3ce186bc0a428646ab811294b01a439", | ||
"extract_dir": "java-11-openjdk-11.0.12.7-1.windows.ojdkbuild.x86_64" | ||
} | ||
}, | ||
"env_add_path": "bin", | ||
"env_set": { | ||
"JAVA_HOME": "$dir" | ||
}, | ||
"checkver": { | ||
"url": "https://github.com/ojdkbuild/ojdkbuild/raw/master/README.md", | ||
"re": "download/(?<folder>(?:java-11-openjdk-)?(?<version>11[\\db.-]+))/(?<url>java-(?<short>[\\d.]+)-openjdk-([\\db.-]+)(.ojdkbuild|.windows){2}).x86_64.zip" | ||
}, | ||
"autoupdate": { | ||
"architecture": { | ||
"64bit": { | ||
"url": "https://github.com/ojdkbuild/ojdkbuild/releases/download/$matchFolder/$matchUrl.x86_64.zip", | ||
"extract_dir": "$matchUrl.x86_64" | ||
} | ||
}, | ||
"hash": { | ||
"url": "$url.sha256" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.