Skip to content

Commit 55adcf3

Browse files
committed
Revert "bump jackson to 2.19.0 (#6358)"
This reverts commit 5449862.
1 parent fbcab6e commit 55adcf3

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

core/json-utils/src/main/java/software/amazon/awssdk/protocols/jsoncore/JsonNodeParser.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
import software.amazon.awssdk.thirdparty.jackson.core.JsonParseException;
3232
import software.amazon.awssdk.thirdparty.jackson.core.JsonParser;
3333
import software.amazon.awssdk.thirdparty.jackson.core.JsonToken;
34-
import software.amazon.awssdk.thirdparty.jackson.core.StreamReadFeature;
3534
import software.amazon.awssdk.thirdparty.jackson.core.json.JsonReadFeature;
3635

3736
/**
@@ -47,7 +46,6 @@ public final class JsonNodeParser {
4746
*/
4847
public static final JsonFactory DEFAULT_JSON_FACTORY =
4948
JsonFactory.builder()
50-
.enable(StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION)
5149
.configure(JsonReadFeature.ALLOW_JAVA_COMMENTS, true)
5250
.build();
5351

core/protocols/aws-json-protocol/src/main/java/software/amazon/awssdk/protocols/json/internal/AwsStructuredPlainJsonFactory.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ public final class AwsStructuredPlainJsonFactory {
3535
private static final JsonFactory JSON_FACTORY = JsonFactory.builder()
3636
.enable(StreamReadFeature.USE_FAST_BIG_NUMBER_PARSER)
3737
.enable(StreamReadFeature.USE_FAST_DOUBLE_PARSER)
38-
.enable(StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION)
3938
.enable(StreamWriteFeature.USE_FAST_DOUBLE_WRITER)
4039
.build();
4140

core/protocols/aws-json-protocol/src/test/java/software/amazon/awssdk/protocols/json/SdkJsonGeneratorTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
import org.junit.jupiter.api.Test;
2929
import software.amazon.awssdk.protocols.jsoncore.JsonNode;
3030
import software.amazon.awssdk.thirdparty.jackson.core.JsonFactory;
31-
import software.amazon.awssdk.thirdparty.jackson.core.StreamReadFeature;
3231
import software.amazon.awssdk.utils.BinaryUtils;
3332

3433
public class SdkJsonGeneratorTest {
@@ -41,7 +40,7 @@ public class SdkJsonGeneratorTest {
4140

4241
@BeforeEach
4342
public void setup() {
44-
jsonGenerator = new SdkJsonGenerator(JsonFactory.builder().enable(StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION).build(), "application/json");
43+
jsonGenerator = new SdkJsonGenerator(JsonFactory.builder().build(), "application/json");
4544
}
4645

4746
@Test

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@
105105
<awsjavasdk.version>${project.version}</awsjavasdk.version>
106106
<awsjavasdk.previous.version>2.34.3</awsjavasdk.previous.version>
107107
<awsjavasdk.previous-previous.version>2.34.2</awsjavasdk.previous-previous.version>
108-
<jackson.version>2.19.0</jackson.version>
109-
<jackson.databind.version>2.19.0</jackson.databind.version>
110-
<jacksonjr.version>2.19.0</jacksonjr.version>
108+
<jackson.version>2.15.2</jackson.version>
109+
<jackson.databind.version>2.15.2</jackson.databind.version>
110+
<jacksonjr.version>2.17.3</jacksonjr.version>
111111
<eventstream.version>1.0.1</eventstream.version>
112112
<commons.lang.version>3.14.0</commons.lang.version>
113113
<wiremock.version>2.32.0</wiremock.version>
@@ -750,7 +750,7 @@
750750
</profile>
751751
<profile>
752752
<!-- This is the new maven publishing profile. It's similar to the "publishing" profile except
753-
for the fact that it uses the maven central publishing plugin instead of the nexus publishing plugin.
753+
for the fact that it uses the maven central publishing plugin instead of the nexus publishing plugin.
754754
Once OSSRH is disabled we can rename this "publishing", and remove the existing publishing profile -->
755755
<id>central-portal-publishing</id>
756756
<build>

0 commit comments

Comments
 (0)