Skip to content

Commit a8ac287

Browse files
author
Justin Lu
committed
8339126: JNI exception pending in Inflater.c
Reviewed-by: lancea, vtewari, jpai, naoto
1 parent d08b5bd commit a8ac287

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/java.base/share/native/libzip/Inflater.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 1997, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -49,8 +49,8 @@ JNIEXPORT void JNICALL
4949
Java_java_util_zip_Inflater_initIDs(JNIEnv *env, jclass cls)
5050
{
5151
inputConsumedID = (*env)->GetFieldID(env, cls, "inputConsumed", "I");
52-
outputConsumedID = (*env)->GetFieldID(env, cls, "outputConsumed", "I");
5352
CHECK_NULL(inputConsumedID);
53+
outputConsumedID = (*env)->GetFieldID(env, cls, "outputConsumed", "I");
5454
CHECK_NULL(outputConsumedID);
5555
}
5656

0 commit comments

Comments
 (0)