Skip to content

Commit 738be52

Browse files
authored
Merge branch 'main' into write-data
2 parents 3ba53e9 + 3f949b3 commit 738be52

13 files changed

Lines changed: 80 additions & 15 deletions

File tree

codebuild/cd/fips-where-available-jar-build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ version: 0.2
22
phases:
33
install:
44
commands:
5-
- sudo add-apt-repository ppa:openjdk-r/ppa
65
- sudo apt-get update -y
76
- sudo apt-get install openjdk-11-jdk-headless maven wget unzip -y -f
87
build:

codebuild/cd/release-android-maven-central.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ version: 0.2
44
phases:
55
install:
66
commands:
7-
- sudo add-apt-repository ppa:openjdk-r/ppa
87
- sudo apt-get update -y
98

109
# Java 17 for AGP 8.x

codebuild/cd/release-maven-central.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ version: 0.2
44
phases:
55
install:
66
commands:
7-
- sudo add-apt-repository ppa:openjdk-r/ppa
87
- sudo apt-get update -y
98
- sudo apt-get install openjdk-11-jdk-headless maven wget unzip -y -f
109
pre_build:

codebuild/linux-integration-tests.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ env:
99
phases:
1010
install:
1111
commands:
12-
- sudo add-apt-repository ppa:openjdk-r/ppa
13-
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test
1412
- sudo apt-get update -y
1513
- sudo apt-get install cmake -y
1614
build:

codebuild/mqtt5-java-canary-test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ env:
1515
phases:
1616
install:
1717
commands:
18-
- add-apt-repository ppa:openjdk-r/ppa
19-
- add-apt-repository ppa:ubuntu-toolchain-r/test
2018
- apt-get update -y
2119
- sudo apt-get install cmake -y
2220
- git submodule update --init --recursive

codebuild/test-aws-java-sdk-v2.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ phases:
55
runtime-versions:
66
java: "corretto8"
77
commands:
8-
- add-apt-repository ppa:openjdk-r/ppa
9-
- add-apt-repository ppa:ubuntu-toolchain-r/test
108
- apt-get update -y
119
- apt-get install gcc-7 cmake ninja-build -y
1210
- git submodule update --init --recursive

crt/s2n

Submodule s2n updated from f5e5e83 to a71ea1f

src/main/java/software/amazon/awssdk/crt/checksums/XXHash.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public void update(int b) {
120120
}
121121

122122
/**
123-
* Update xxhash state with a subrange of input
123+
* Update xxhash state with a subrange of input.
124124
* @param input input to update with
125125
* @param offset to start update with
126126
* @param length of data

src/main/java/software/amazon/awssdk/crt/s3/ChecksumAlgorithm.java

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,17 @@ public enum ChecksumAlgorithm {
2222

2323
SHA256(4),
2424

25-
CRC64NVME(5);
25+
CRC64NVME(5),
26+
27+
SHA512(6),
28+
29+
XXHASH64(7),
30+
31+
XXHASH3(8),
32+
33+
XXHASH128(9),
34+
35+
MD5(10);
2636

2737
ChecksumAlgorithm(int nativeValue) {
2838
this.nativeValue = nativeValue;
@@ -49,6 +59,11 @@ private static Map<Integer, ChecksumAlgorithm> buildEnumMapping() {
4959
enumMapping.put(SHA1.getNativeValue(), SHA1);
5060
enumMapping.put(SHA256.getNativeValue(), SHA256);
5161
enumMapping.put(CRC64NVME.getNativeValue(), CRC64NVME);
62+
enumMapping.put(SHA512.getNativeValue(), SHA512);
63+
enumMapping.put(XXHASH64.getNativeValue(), XXHASH64);
64+
enumMapping.put(XXHASH3.getNativeValue(), XXHASH3);
65+
enumMapping.put(XXHASH128.getNativeValue(), XXHASH128);
66+
enumMapping.put(MD5.getNativeValue(), MD5);
5267
return enumMapping;
5368
}
5469

0 commit comments

Comments
 (0)