From 33be52be86f3094d5fa64da4504b9268d56b2aec Mon Sep 17 00:00:00 2001 From: Bradford Wetmore Date: Thu, 9 Jun 2011 14:24:09 -0700 Subject: [PATCH] 7052537: java/security/Security/NotInstalledProviders.java is causing -samevm tests to fail Reviewed-by: valeriep, asaha, alanb --- jdk/test/java/security/Security/NoInstalledProviders.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jdk/test/java/security/Security/NoInstalledProviders.java b/jdk/test/java/security/Security/NoInstalledProviders.java index f586df6e7bb..c8fe02e00bf 100644 --- a/jdk/test/java/security/Security/NoInstalledProviders.java +++ b/jdk/test/java/security/Security/NoInstalledProviders.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2011, 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 @@ -23,8 +23,9 @@ /* * @test - * @bug 4273454 + * @bug 4273454 7052537 * @summary Make sure getProviders(filter) doesn't throw NPE + * @run main/othervm NoInstalledProviders */ import java.security.*;