mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8339126: JNI exception pending in Inflater.c
Reviewed-by: lancea, vtewari, jpai, naoto
This commit is contained in:
parent
d08b5bd9f5
commit
a8ac28725b
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 1997, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -49,8 +49,8 @@ JNIEXPORT void JNICALL
|
||||||
Java_java_util_zip_Inflater_initIDs(JNIEnv *env, jclass cls)
|
Java_java_util_zip_Inflater_initIDs(JNIEnv *env, jclass cls)
|
||||||
{
|
{
|
||||||
inputConsumedID = (*env)->GetFieldID(env, cls, "inputConsumed", "I");
|
inputConsumedID = (*env)->GetFieldID(env, cls, "inputConsumed", "I");
|
||||||
outputConsumedID = (*env)->GetFieldID(env, cls, "outputConsumed", "I");
|
|
||||||
CHECK_NULL(inputConsumedID);
|
CHECK_NULL(inputConsumedID);
|
||||||
|
outputConsumedID = (*env)->GetFieldID(env, cls, "outputConsumed", "I");
|
||||||
CHECK_NULL(outputConsumedID);
|
CHECK_NULL(outputConsumedID);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue