mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8347720: [BACKOUT] Portable implementation of FORBID_C_FUNCTION and ALLOW_C_FUNCTION
Reviewed-by: coleenp
This commit is contained in:
parent
e6902cfca4
commit
db76f47f27
32 changed files with 176 additions and 527 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2016, 2022, 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
|
||||
|
@ -24,8 +24,6 @@
|
|||
#ifndef UNITTEST_HPP
|
||||
#define UNITTEST_HPP
|
||||
|
||||
#include "utilities/globalDefinitions.hpp"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
@ -51,10 +49,8 @@
|
|||
#undef F2
|
||||
|
||||
#include "utilities/vmassert_uninstall.hpp"
|
||||
BEGIN_ALLOW_FORBIDDEN_FUNCTIONS
|
||||
#include "gmock/gmock.h"
|
||||
#include "gtest/gtest.h"
|
||||
END_ALLOW_FORBIDDEN_FUNCTIONS
|
||||
#include "utilities/vmassert_reinstall.hpp"
|
||||
|
||||
#ifdef UNDEFINED_Log
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue