diff --git a/frontend/gradle.properties b/frontend/gradle.properties index db106b796..dcd2d7807 100644 --- a/frontend/gradle.properties +++ b/frontend/gradle.properties @@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx1024M netty_version=4.1.91.Final slf4j_api_version=1.7.32 slf4j_log4j_version=2.17.1 -gson_version=2.8.5 +gson_version=2.8.9 commons_cli_version=1.3.1 testng_version=6.8.1 mms_server_sdk_version=1.0.1 diff --git a/frontend/modelarchive/src/main/java/com/amazonaws/ml/mms/archive/ModelArchive.java b/frontend/modelarchive/src/main/java/com/amazonaws/ml/mms/archive/ModelArchive.java index 4d8238194..23e3274b5 100644 --- a/frontend/modelarchive/src/main/java/com/amazonaws/ml/mms/archive/ModelArchive.java +++ b/frontend/modelarchive/src/main/java/com/amazonaws/ml/mms/archive/ModelArchive.java @@ -108,8 +108,7 @@ public static void migrate(File legacyModelFile, File destination) InputStream is = zip.getInputStream(manifestEntry); Reader reader = new InputStreamReader(is, StandardCharsets.UTF_8); - JsonParser parser = new JsonParser(); - JsonObject json = (JsonObject) parser.parse(reader); + JsonObject json = JsonParser.parseReader(reader).getAsJsonObject(); JsonPrimitive version = json.getAsJsonPrimitive("specificationVersion"); Manifest manifest; if (version != null && "1.0".equals(version.getAsString())) { diff --git a/mms/version.py b/mms/version.py index 0bfb1665f..a40153e50 100644 --- a/mms/version.py +++ b/mms/version.py @@ -11,4 +11,4 @@ This is the current version of MMS """ -__version__ = '1.1.9' +__version__ = '1.1.10' diff --git a/plugins/gradle.properties b/plugins/gradle.properties index 81f9461be..46a895eef 100644 --- a/plugins/gradle.properties +++ b/plugins/gradle.properties @@ -1,2 +1,2 @@ -gson_version=2.8.5 -mms_server_sdk_version=1.0.1 \ No newline at end of file +gson_version=2.8.9 +mms_server_sdk_version=1.0.1