8062348: langtools tests should close file manager (group 1)

Reviewed-by: darcy
This commit is contained in:
Jonathan Gibbons 2014-10-29 17:25:23 -07:00
parent b587478f7c
commit 8bd23f1681
145 changed files with 2701 additions and 2452 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2014, 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
@ -250,13 +250,17 @@ public class SamConversionComboTest {
}
public static void main(String[] args) throws Exception {
for(Context ct : Context.values()) {
for (FInterface fi : FInterface.values()) {
for (MethodDef md: MethodDef.values()) {
new SamConversionComboTest(fi, ct, md).test();
try {
for(Context ct : Context.values()) {
for (FInterface fi : FInterface.values()) {
for (MethodDef md: MethodDef.values()) {
new SamConversionComboTest(fi, ct, md).test();
}
}
}
System.out.println("total tests: " + count);
} finally {
fm.close();
}
System.out.println("total tests: " + count);
}
}