8074895: os::getenv is inadequate

Reviewed-by: dholmes, coleenp
This commit is contained in:
Jeremy Manson 2015-03-30 17:32:18 -04:00
parent 67e0ba13c0
commit 0353353bde
11 changed files with 106 additions and 141 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2015, 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
@ -768,7 +768,7 @@ void VMError::report(outputStream* st) {
STEP(220, "(printing environment variables)" )
if (_verbose) {
os::print_environment_variables(st, env_list, buf, sizeof(buf));
os::print_environment_variables(st, env_list);
st->cr();
}