diff -r 7ac0ac1e57b6 -r 6003e034cdd8 test/hotspot/jtreg/runtime/appcds/FreeUnusedMetadata.java --- a/test/hotspot/jtreg/runtime/appcds/FreeUnusedMetadata.java Tue Oct 02 17:12:13 2018 -0400 +++ b/test/hotspot/jtreg/runtime/appcds/FreeUnusedMetadata.java Tue Oct 02 14:32:33 2018 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2017, 2018, 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 @@ -29,7 +29,7 @@ * @library /test/lib * @modules jdk.jartool/sun.tools.jar * @compile test-classes/MethodNoReturn.jasm test-classes/Hello.java - * @run main FreeUnusedMetadata + * @run driver FreeUnusedMetadata */ import java.nio.file.Files;