8249940: Remove unnecessary includes of jni_util.h in native tests
Reviewed-by: iignatyev, mchung
This commit is contained in:
parent
401d3ea9bc
commit
1b1c1cd7b9
test
hotspot/jtreg/runtime/jni
FindClass
registerNativesWarning
terminatedThread
jdk
java/lang
jdk/internal/loader/NativeLibraries
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2020, 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
|
||||
@ -25,7 +25,6 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "jni.h"
|
||||
#include "jni_util.h"
|
||||
|
||||
JNIEXPORT jclass JNICALL
|
||||
Java_java_lang_BootNativeLibrary_findClass
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include "jni.h"
|
||||
#include "jni_util.h"
|
||||
|
||||
/*
|
||||
* We will replace:
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2018, 2020, 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
|
||||
@ -28,8 +28,6 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "jni.h"
|
||||
#include "jni_util.h"
|
||||
|
||||
|
||||
JavaVM* jvm;
|
||||
jobject nativeThread;
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2020, 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
|
||||
@ -25,7 +25,6 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "jni.h"
|
||||
#include "jni_util.h"
|
||||
|
||||
static jint count = 0;
|
||||
static jclass test_class;
|
||||
|
@ -27,7 +27,6 @@
|
||||
#ifdef _WIN32
|
||||
|
||||
#include "jni.h"
|
||||
#include "jni_util.h"
|
||||
#include <windows.h>
|
||||
|
||||
JNIEXPORT jlong JNICALL Java_CheckHandles_getProcessHandleCount(JNIEnv *env)
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "jni.h"
|
||||
#include "jni_util.h"
|
||||
|
||||
static jclass test_class;
|
||||
static jint current_jni_version = JNI_VERSION_10;
|
||||
|
Loading…
x
Reference in New Issue
Block a user