jdk/test/javax/crypto/NullCipher/TestNPE.java
changeset 42780 7781326fff20
parent 30046 cf2c86e1819e
--- a/jdk/test/javax/crypto/NullCipher/TestNPE.java	Tue Dec 20 13:46:44 2016 -0800
+++ b/jdk/test/javax/crypto/NullCipher/TestNPE.java	Tue Dec 20 17:13:34 2016 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2016, 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,10 +23,12 @@
 
 /*
  * @test
- * @bug 4937853
+ * @bug 4937853 8170876
  * @summary Make sure normal calls of NullCipher does not throw NPE.
  * @author Valerie Peng
  * @key randomness
+ * @run main TestNPE
+ * @run main/othervm -Djava.security.debug=provider TestNPE
  */
 import java.util.Arrays;
 import java.security.AlgorithmParameters;