mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8324678: Replace NULL with nullptr in HotSpot gtests
Reviewed-by: kbarrett, dholmes, jwaters
This commit is contained in:
parent
a6bdee48f3
commit
c1281e6b45
74 changed files with 580 additions and 580 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2016, 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
|
||||
|
@ -35,7 +35,7 @@ class DirectivesParserTest : public ::testing::Test{
|
|||
ResourceMark rm;
|
||||
stringStream stream;
|
||||
// These tests require the "C" locale to correctly parse decimal values
|
||||
DirectivesParserTest() : _locale(setlocale(LC_NUMERIC, NULL)) {
|
||||
DirectivesParserTest() : _locale(setlocale(LC_NUMERIC, nullptr)) {
|
||||
setlocale(LC_NUMERIC, "C");
|
||||
}
|
||||
~DirectivesParserTest() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue