8340717: Remove unused function declarations from java.c/java.h of the launcher

Reviewed-by: alanb, dholmes, shade, jwaters
This commit is contained in:
Jaikiran Pai 2024-09-25 01:45:04 +00:00
parent 0b8c9f6d23
commit c0fcb258bb
2 changed files with 0 additions and 12 deletions
src/java.base/share/native/libjli

@ -118,7 +118,6 @@ static jclass GetApplicationClass(JNIEnv *env);
static void TranslateApplicationArgs(int jargc, const char **jargv, int *pargc, char ***pargv);
static jboolean AddApplicationOptions(int cpathc, const char **cpathv);
static void SetApplicationClassPath(const char**);
static void PrintJavaVersion(JNIEnv *env);
static void PrintUsage(JNIEnv* env, jboolean doXUsage);
@ -126,9 +125,6 @@ static void ShowSettings(JNIEnv* env, char *optString);
static void ShowResolvedModules(JNIEnv* env);
static void ListModules(JNIEnv* env);
static void DescribeModule(JNIEnv* env, char* optString);
static jboolean ValidateModules(JNIEnv* env);
static void SetPaths(int argc, char **argv);
static void DumpState();

@ -48,8 +48,6 @@
# define MB (1024UL * KB)
# define GB (1024UL * MB)
#define CURRENT_DATA_MODEL (CHAR_BIT * sizeof(void*))
/*
* Older versions of java launcher used to support JRE version selection - specifically,
* the java launcher in JDK 1.8 can be used to launch a java application using a different
@ -103,17 +101,12 @@ JLI_Launch(int argc, char ** argv, /* main argc, argc */
jboolean
LoadJavaVM(const char *jvmpath, InvocationFunctions *ifn);
void
GetXUsagePath(char *buf, jint bufsize);
jboolean
GetApplicationHome(char *buf, jint bufsize);
jboolean
GetApplicationHomeFromDll(char *buf, jint bufsize);
#define GetArch() GetArchPath(CURRENT_DATA_MODEL)
/*
* Different platforms will implement this, here
* pargc is a pointer to the original argc,
@ -149,7 +142,6 @@ void JLI_ShowMessage(const char * message, ...);
*/
JNIEXPORT void JNICALL
JLI_ReportExceptionDescription(JNIEnv * env);
void PrintMachineDependentOptions();
/*
* Block current thread and continue execution in new thread.