mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8280474: Garbage value passed to getLocaleInfoWrapper in HostLocaleProviderAdapter_md
Reviewed-by: naoto, alanb
This commit is contained in:
parent
a825a4a1db
commit
a5416669a5
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2012, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -835,7 +835,7 @@ void replaceCalendarArrayElems(JNIEnv *env, jstring jlangtag, jint calid, jobjec
|
|||
WCHAR name[BUFLEN];
|
||||
const jchar *langtag = (*env)->GetStringChars(env, jlangtag, JNI_FALSE);
|
||||
jstring tmp_string;
|
||||
CALTYPE isGenitive;
|
||||
CALTYPE isGenitive = 0;
|
||||
|
||||
CHECK_NULL(langtag);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue