Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8325055: Rename Injector.h #17656

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/Injector.cpp
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@
#include <string.h>
#include "jni_tools.h"
#include "jvmti_tools.h"
#include "Injector.h"
#include "Injector.hpp"

/* ========================================================================== */

Original file line number Diff line number Diff line change
@@ -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.
*
* This code is free software; you can redistribute it and/or modify it
@@ -21,8 +21,8 @@
* questions.
*/

#ifndef _NSK_SHARE_JVMTI_INJECTOR_H_
#define _NSK_SHARE_JVMTI_INJECTOR_H_
#ifndef _NSK_SHARE_JVMTI_INJECTOR_HPP_
#define _NSK_SHARE_JVMTI_INJECTOR_HPP_

/* 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_ */
8 changes: 4 additions & 4 deletions test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/README
Original file line number Diff line number Diff line change
@@ -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.

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.c
agent_tools.c
Injector.h
Injector.c
Injector.hpp
Injector.cpp
JVMTITools.h
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
profiling bytecodes into Java class files:
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@
#include <atomic>
#include "jni_tools.h"
#include "jvmti_tools.h"
#include "Injector.h"
#include "Injector.hpp"
#include "agent_common.h"

#define PASSED 0