mirror of
https://github.com/openjdk/jdk.git
synced 2026-06-06 10:42:45 +00:00
8385828: The javac benchmarks fail after JDK-8385347
Reviewed-by: asotona, syan
This commit is contained in:
parent
85db081db4
commit
7a7f37f0e5
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2020, 2026, 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
|
||||
@ -94,7 +94,7 @@ public class JavacBenchmark {
|
||||
try (ZipInputStream zis = new ZipInputStream(new BufferedInputStream(JavacBenchmark.class.getResourceAsStream("/src.zip")))) {
|
||||
for (ZipEntry entry; (entry = zis.getNextEntry()) != null;) {
|
||||
final String ename = entry.getName();
|
||||
if (!ename.startsWith("java.desktop") && !ename.startsWith("jdk.internal.vm.compiler") && !ename.startsWith("jdk.aot") && !ename.startsWith("jdk.accessibility") && !ename.startsWith("jdk.jsobject")) {
|
||||
if (!ename.startsWith("java.desktop") && !ename.startsWith("jdk.internal.vm.compiler") && !ename.startsWith("jdk.aot") && !ename.startsWith("jdk.accessibility") && !ename.startsWith("jdk.jsobject") && !ename.startsWith("jdk.unsupported.desktop")) {
|
||||
if (!entry.isDirectory() && ename.endsWith(".java")) {
|
||||
Path dst = root.resolve(ename);
|
||||
Files.createDirectories(dst.getParent());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user