8301659: Resolve initialization reordering issues on Windows for libawt and libsaproc
Reviewed-by: dholmes, aivanov
This commit is contained in:
parent
2d50c7d477
commit
725d57b2e2
@ -129,10 +129,10 @@ void GDIHashtable::List::clear() {
|
||||
GDIHashtable::BatchDestructionManager::BatchDestructionManager(UINT nFirstThreshold,
|
||||
UINT nSecondThreshold,
|
||||
UINT nDestroyPeriod) :
|
||||
m_nCounter(0),
|
||||
m_nFirstThreshold(nFirstThreshold),
|
||||
m_nSecondThreshold(nSecondThreshold),
|
||||
m_nDestroyPeriod(nDestroyPeriod),
|
||||
m_nCounter(0),
|
||||
m_bBatchingEnabled(TRUE)
|
||||
{
|
||||
}
|
||||
|
@ -124,8 +124,9 @@ class AutoJavaByteArray {
|
||||
public:
|
||||
// check env->ExceptionOccurred() after ctor
|
||||
AutoJavaByteArray(JNIEnv* env, jbyteArray byteArray, jint releaseMode = JNI_ABORT)
|
||||
: env(env), byteArray(byteArray), releaseMode(releaseMode),
|
||||
bytePtr(env->GetByteArrayElements(byteArray, nullptr)) {
|
||||
: env(env), byteArray(byteArray),
|
||||
bytePtr(env->GetByteArrayElements(byteArray, nullptr)),
|
||||
releaseMode(releaseMode) {
|
||||
}
|
||||
|
||||
~AutoJavaByteArray() {
|
||||
|
Loading…
Reference in New Issue
Block a user