8325055: Rename Injector.h

Reviewed-by: dholmes, amenkov, sspitsyn
This commit is contained in:
Kim Barrett 2024-02-02 16:19:08 +00:00
parent 91d8dac9cf
commit 6787c4c3dd
4 changed files with 10 additions and 10 deletions

View File

@ -25,7 +25,7 @@
#include <string.h> #include <string.h>
#include "jni_tools.h" #include "jni_tools.h"
#include "jvmti_tools.h" #include "jvmti_tools.h"
#include "Injector.h" #include "Injector.hpp"
/* ========================================================================== */ /* ========================================================================== */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2004, 2021, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2004, 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
@ -21,8 +21,8 @@
* questions. * questions.
*/ */
#ifndef _NSK_SHARE_JVMTI_INJECTOR_H_ #ifndef _NSK_SHARE_JVMTI_INJECTOR_HPP_
#define _NSK_SHARE_JVMTI_INJECTOR_H_ #define _NSK_SHARE_JVMTI_INJECTOR_HPP_
/* Class File Format Constants /* Class File Format Constants
*/ */
@ -304,4 +304,4 @@ int Inject(const u1* old_bytes, const jint old_length,
} }
#endif /* _NSK_SHARE_JVMTI_INJECTOR_H_ */ #endif /* _NSK_SHARE_JVMTI_INJECTOR_HPP_ */

View File

@ -1,4 +1,4 @@
Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. Copyright (c) 2003, 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
@ -28,8 +28,8 @@ which provides support for JVMTI tests and accessing JVMTI environment.
jvmti_tools.h jvmti_tools.h
jvmti_tools.c jvmti_tools.c
agent_tools.c agent_tools.c
Injector.h Injector.hpp
Injector.c Injector.cpp
JVMTITools.h JVMTITools.h
JVMTITools.c JVMTITools.c
@ -150,7 +150,7 @@ a null-terminated character string:
--------------------------------------------------------------------------------- ---------------------------------------------------------------------------------
Injector.h Injector.hpp
Provides class file format constants and the function which inject some Provides class file format constants and the function which inject some
profiling bytecodes into Java class files: profiling bytecodes into Java class files:

View File

@ -26,7 +26,7 @@
#include <atomic> #include <atomic>
#include "jni_tools.h" #include "jni_tools.h"
#include "jvmti_tools.h" #include "jvmti_tools.h"
#include "Injector.h" #include "Injector.hpp"
#include "agent_common.h" #include "agent_common.h"
#define PASSED 0 #define PASSED 0