Skip to content

Commit 43c48ca

Browse files
dependabot[bot]Tianli Feng
authored andcommitted
Bump guava from 18.0 to 23.0 in /plugins/ingest-attachment (#3357)
* Bump guava from 18.0 to 23.0 in /plugins/ingest-attachment Bumps [guava](https://github.com/google/guava) from 18.0 to 23.0. - [Release notes](https://github.com/google/guava/releases) - [Commits](google/guava@v18.0...v23.0) --- updated-dependencies: - dependency-name: com.google.guava:guava dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Updating SHAs Signed-off-by: dependabot[bot] <[email protected]> * Add more ingorance of using internal java API sun.misc.Unsafe Signed-off-by: Tianli Feng <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com> Co-authored-by: Tianli Feng <[email protected]>
1 parent 81d71d2 commit 43c48ca

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

plugins/ingest-attachment/build.gradle

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ dependencies {
5454
api "org.apache.tika:tika-langdetect-optimaize:${versions.tika}"
5555
// Optimaize libraries/dependencies
5656
runtimeOnly "com.optimaize.languagedetector:language-detector:0.6"
57-
runtimeOnly 'com.google.guava:guava:18.0'
57+
runtimeOnly 'com.google.guava:guava:23.0'
5858
// Other dependencies
5959
api 'org.tukaani:xz:1.9'
6060
api 'commons-io:commons-io:2.11.0'
@@ -119,11 +119,21 @@ forbiddenPatterns {
119119
thirdPartyAudit {
120120
ignoreMissingClasses()
121121
ignoreViolations(
122+
// uses internal java api: sun.misc.Unsafe
122123
'com.google.common.cache.Striped64',
123124
'com.google.common.cache.Striped64$1',
124125
'com.google.common.cache.Striped64$Cell',
126+
'com.google.common.hash.LittleEndianByteArray$UnsafeByteArray',
127+
'com.google.common.hash.LittleEndianByteArray$UnsafeByteArray$1',
128+
'com.google.common.hash.LittleEndianByteArray$UnsafeByteArray$2',
129+
'com.google.common.hash.LittleEndianByteArray$UnsafeByteArray$3',
130+
'com.google.common.hash.Striped64',
131+
'com.google.common.hash.Striped64$1',
132+
'com.google.common.hash.Striped64$Cell',
125133
'com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator',
126-
'com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator$1'
134+
'com.google.common.primitives.UnsignedBytes$LexicographicalComparatorHolder$UnsafeComparator$1',
135+
'com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper',
136+
'com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper$1'
127137
)
128138
}
129139

plugins/ingest-attachment/licenses/guava-18.0.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
c947004bb13d18182be60077ade044099e4f26f1

0 commit comments

Comments
 (0)