mirror of
https://github.com/corda/corda.git
synced 2025-01-21 03:55:00 +00:00
fix openjdk-src Windows build regression
This commit is contained in:
parent
32ef5da55a
commit
42ae8cbe39
@ -5916,9 +5916,9 @@ extern "C" AVIAN_EXPORT int64_t JNICALL
|
||||
// implementing findJavaTZ_md ourselves from scratch, but that would
|
||||
// be a lot of code to implement and maintain.
|
||||
|
||||
object country = arguments[1];
|
||||
GcString* country = cast<GcString>(t, reinterpret_cast<object>(arguments[1]));
|
||||
|
||||
THREAD_RUNTIME_ARRAY(t, char, countryChars, stringLength(t, country) + 1);
|
||||
THREAD_RUNTIME_ARRAY(t, char, countryChars, country->length(t) + 1);
|
||||
stringChars(t, country, RUNTIME_ARRAY_BODY(countryChars));
|
||||
|
||||
local::MyClasspath* cp = static_cast<local::MyClasspath*>(t->m->classpath);
|
||||
|
Loading…
Reference in New Issue
Block a user