File tree 1 file changed +10
-4
lines changed
test/hotspot/jtreg/testlibrary/jittester
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 1
1
#
2
- # Copyright (c) 2015, 2024 , Oracle and/or its affiliates. All rights reserved.
2
+ # Copyright (c) 2015, 2025 , Oracle and/or its affiliates. All rights reserved.
3
3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
#
5
5
# This code is free software; you can redistribute it and/or modify it
@@ -83,6 +83,8 @@ TESTLIBRARY_SRC_FILES = $(TESTLIBRARY_SRC_DIR)/Asserts.java \
83
83
$(TESTLIBRARY_SRC_DIR ) /util/FileUtils.java \
84
84
$(TESTLIBRARY_SRC_DIR ) /util/Pair.java
85
85
86
+ ASM_SRC_DIR = ../asm/org/objectweb/asm/
87
+
86
88
.PHONY : cleantmp
87
89
88
90
all : $(DIST_JAR )
@@ -95,11 +97,15 @@ manifest:
95
97
@echo ' X-COMMENT: Main-Class will be added automatically by build' >> $(MANIFEST )
96
98
@echo ' Main-Class: jdk.test.lib.jittester.Automatic' >> $(MANIFEST )
97
99
100
+ compile_asm : INIT
101
+ $(shell find $(ASM_SRC_DIR ) -name '* .java' > $(CLASSES_DIR ) /filelist_asm)
102
+ ${JAVAC} -d $(CLASSES_DIR ) @$(CLASSES_DIR ) /filelist_asm
103
+
98
104
compile_testlib : INIT
99
- $(JAVAC ) -XDignore.symbol.file --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED --add-exports=java.base/org.objectweb.asm=ALL-UNNAMED - Xlint $(TESTLIBRARY_SRC_FILES ) -d $(CLASSES_DIR )
105
+ $(JAVAC ) -XDignore.symbol.file --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED -Xlint $(TESTLIBRARY_SRC_FILES ) -d $(CLASSES_DIR )
100
106
101
- COMPILE : INIT filelist compile_testlib
102
- $(JAVAC ) -cp $(CLASSES_DIR ) -XDignore.symbol.file --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED --add-exports=java.base/org.objectweb.asm=ALL-UNNAMED - Xlint -sourcepath $(SRC_DIR ) -d $(CLASSES_DIR ) @filelist
107
+ COMPILE : INIT filelist compile_asm compile_testlib
108
+ $(JAVAC ) -cp $(CLASSES_DIR ) -XDignore.symbol.file --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED -Xlint -sourcepath $(SRC_DIR ) -d $(CLASSES_DIR ) @filelist
103
109
104
110
filelist : $(SRC_FILES )
105
111
@rm -f $@
You can’t perform that action at this time.
0 commit comments