< prev index next >

test/jdk/java/net/URLConnection/6212146/TestDriver.java

Print this page
@@ -1,7 +1,7 @@
  /*
-  * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
+  * Copyright (c) 2017, 2024, 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
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.

@@ -25,10 +25,11 @@
   * @test
   * @bug 6212146
   * @summary URLConnection.connect() fails on JAR Entry it creates
   * file handler leak
   * @library /test/lib
+  * @requires vm.flagless
   * @build jdk.test.lib.Utils
   *        jdk.test.lib.Asserts
   *        jdk.test.lib.JDKToolFinder
   *        jdk.test.lib.JDKToolLauncher
   *        jdk.test.lib.Platform
< prev index next >