8214876: Add "intermittent" key for imageio/stream/StreamCloserLeak/run_test.sh
Reviewed-by: psadhukhan
--- a/test/jdk/javax/imageio/stream/StreamCloserLeak/run_test.sh Tue Dec 11 11:41:08 2018 +0530
+++ b/test/jdk/javax/imageio/stream/StreamCloserLeak/run_test.sh Tue Dec 11 11:45:43 2018 +0530
@@ -1,6 +1,6 @@
#!/bin/ksh -p
#
-# Copyright (c) 2009, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2009, 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
@@ -25,6 +25,7 @@
#
# @test
# @bug 6788096
+# @key intermittent
# @summary Test simulates the case of multiple applets executed in
# the same VM and verifies that ImageIO shutdown hook
# StreamCloser does not cause a leak of classloaders.