mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8039250: Test tools/javac/classfiles/InnerClasses/SyntheticClasses.java fails
The test should only analyze classfiles. Reviewed-by: vromero
This commit is contained in:
parent
3acf463dc4
commit
6b335c8d1a
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ public class SyntheticClasses {
|
|||
|
||||
private void run() throws IOException, ConstantPoolException {
|
||||
File testClasses = new File(System.getProperty("test.classes"));
|
||||
for (File classFile : testClasses.listFiles()) {
|
||||
for (File classFile : testClasses.listFiles(f -> f.getName().endsWith(".class"))) {
|
||||
ClassFile cf = ClassFile.read(classFile);
|
||||
if (cf.getName().matches(".*\\$[0-9]+")) {
|
||||
EnclosingMethod_attribute encl =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue