mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8304674: File java.c compile error with -fsanitize=address -O0
Reviewed-by: ihse, jwaters
This commit is contained in:
parent
8fb67ac55b
commit
9076673d7d
@ -666,7 +666,14 @@ JavaMain(void* _args)
|
||||
ret = 1;
|
||||
}
|
||||
LEAVE();
|
||||
#if defined(__GNUC__)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wreturn-type"
|
||||
#endif
|
||||
}
|
||||
#if defined(__GNUC__)
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Test if the given name is one of the class path options.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user