From 42d772611277061a3572bba699923b87f56be2e1 Mon Sep 17 00:00:00 2001 From: Babneet Singh Date: Wed, 2 Dec 2020 21:18:22 -0800 Subject: [PATCH] Allow GENSRC_VARHANDLES in OpenJ9 GENSRC_VARHANDLES converts X-VarHandle*.template files into Java files. X-VarHandle*.template files are located in the java.lang.invoke package directory. These are needed to support OpenJDK MethodHandles. Related: https://github.com/eclipse/openj9/issues/7352 Back-porting: https://github.com/ibmruntimes/openj9-openjdk-jdk14/pull/6 Signed-off-by: Babneet Singh --- .../custom/gensrc/GensrcVarHandles-post.gmk | 22 ------------------- 1 file changed, 22 deletions(-) delete mode 100644 closed/custom/gensrc/GensrcVarHandles-post.gmk diff --git a/closed/custom/gensrc/GensrcVarHandles-post.gmk b/closed/custom/gensrc/GensrcVarHandles-post.gmk deleted file mode 100644 index 0c5b51705ce..00000000000 --- a/closed/custom/gensrc/GensrcVarHandles-post.gmk +++ /dev/null @@ -1,22 +0,0 @@ -# =========================================================================== -# (c) Copyright IBM Corp. 2018, 2020 All Rights Reserved -# =========================================================================== -# This code is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License version 2 only, as -# published by the Free Software Foundation. -# -# IBM designates this particular file as subject to the "Classpath" exception -# as provided by IBM in the LICENSE file that accompanied this code. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# version 2 for more details (a copy is included in the LICENSE file that -# accompanied this code). -# -# You should have received a copy of the GNU General Public License version -# 2 along with this work; if not, see . -# =========================================================================== - -# OpenJ9 uses it's own VarHandles implementation -GENSRC_JAVA_BASE := $(filter-out $(GENSRC_VARHANDLES),$(GENSRC_JAVA_BASE))