8073163: Remove the redundant call of System.nanoTime() from RSACore
authorvaleriep
Wed, 18 Feb 2015 04:01:33 +0000
changeset 29916 14ad88b93ed7
parent 29915 88af03f531f0
child 29917 5edfc7a4ac68
8073163: Remove the redundant call of System.nanoTime() from RSACore Summary: remove the redundant call of System.nanoTime() in RSACore.java Reviewed-by: mullan
jdk/src/java.base/share/classes/sun/security/rsa/RSACore.java
--- a/jdk/src/java.base/share/classes/sun/security/rsa/RSACore.java	Sat Feb 14 00:27:29 2015 +0000
+++ b/jdk/src/java.base/share/classes/sun/security/rsa/RSACore.java	Wed Feb 18 04:01:33 2015 +0000
@@ -162,7 +162,6 @@
      */
     private static byte[] crtCrypt(byte[] msg, RSAPrivateCrtKey key,
             boolean verify) throws BadPaddingException {
-        long start = System.nanoTime();
         BigInteger n = key.getModulus();
         BigInteger c0 = parseMsg(msg, n);
         BigInteger c = c0;