mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8137075: Sjavac tests are leaking file managers
Closing sjavac file managers. Reviewed-by: jjg
This commit is contained in:
parent
7e33756aa5
commit
7cf539d35e
4 changed files with 26 additions and 18 deletions
|
@ -92,6 +92,7 @@ public class ApiExtraction {
|
|||
Options options = Options.parseArgs("-d", "bin", "--state-dir=bin", "-cp", ".");
|
||||
PubApiExtractor pubApiExtr = new PubApiExtractor(options);
|
||||
PubApi actualApi = pubApiExtr.getPubApi("TestClass");
|
||||
pubApiExtr.close();
|
||||
|
||||
// Validate result
|
||||
PubApi expectedApi = getExpectedPubApi();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue