File tree 2 files changed +1
-7
lines changed
jdk/src/classes/build/tools/classlist 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 66
66
# default classlist is minimal, let's filter out the '@cp' lines until we can
67
67
# find a proper solution.
68
68
CLASSLIST_FILE_VM_OPTS = \
69
- -Duser.language=en -Duser.country=US --enable-native-access=ALL-UNNAMED
69
+ -Duser.language=en -Duser.country=US
70
70
71
71
# Save the stderr output of the command and print it along with stdout in case
72
72
# something goes wrong.
Original file line number Diff line number Diff line change 31
31
*/
32
32
package build .tools .classlist ;
33
33
34
- import java .lang .foreign .FunctionDescriptor ;
35
- import java .lang .foreign .Linker ;
36
34
import java .lang .invoke .MethodHandle ;
37
35
import java .lang .invoke .MethodHandles ;
38
36
import java .lang .invoke .MethodType ;
@@ -174,10 +172,6 @@ record B(int b) { }
174
172
// an inconsistency in the classlist between builds (see JDK-8295951).
175
173
// To avoid the problem, load the class explicitly.
176
174
Class <?> striped64Class = Class .forName ("java.util.concurrent.atomic.Striped64$Cell" );
177
-
178
- // Initialize FFM linkers
179
- var signature = FunctionDescriptor .ofVoid ();
180
- Linker .nativeLinker ().downcallHandle (signature );
181
175
}
182
176
183
177
public HelloClasslist () {}
You can’t perform that action at this time.
0 commit comments