mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8227021: VM fails if any sun.boot.library.path paths are longer than JVM_MAXPATHLEN
The size of each path in sun.boot.library.path property should not exceed JVM_MAXPATHLEN Reviewed-by: dholmes, coleenp, sspitsyn
This commit is contained in:
parent
6e3a246c9a
commit
ed45bde1a7
3 changed files with 105 additions and 30 deletions
|
@ -821,7 +821,7 @@ class os: AllStatic {
|
|||
// Amount beyond the callee frame size that we bang the stack.
|
||||
static int extra_bang_size_in_bytes();
|
||||
|
||||
static char** split_path(const char* path, int* n);
|
||||
static char** split_path(const char* path, size_t* elements, size_t file_name_length);
|
||||
|
||||
// support for mapping non-volatile memory using MAP_SYNC
|
||||
static bool supports_map_sync();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue