diff options
author | dxu <none@none> | 2013-11-01 14:40:03 -0700 |
---|---|---|
committer | dxu <none@none> | 2013-11-01 14:40:03 -0700 |
commit | 287ea2e2b16ed0eb3297020f801caa49fe6a2311 (patch) | |
tree | 0d12e930d849cf06791d4e75054f3642e07e1ca3 /test/com | |
parent | 8cb07c5712e87d339e2f1c6f08b34a95cfba2217 (diff) |
8027624: com/sun/crypto/provider/KeyFactory/TestProviderLeak.java unstable again
Reviewed-by: wetmore
Diffstat (limited to 'test/com')
-rw-r--r-- | test/com/sun/crypto/provider/KeyFactory/TestProviderLeak.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/com/sun/crypto/provider/KeyFactory/TestProviderLeak.java b/test/com/sun/crypto/provider/KeyFactory/TestProviderLeak.java index 04fa96a98..83b2c6904 100644 --- a/test/com/sun/crypto/provider/KeyFactory/TestProviderLeak.java +++ b/test/com/sun/crypto/provider/KeyFactory/TestProviderLeak.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2013, 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,7 +23,7 @@ /* * @test - * @bug 6578538 + * @bug 6578538 8027624 * @summary com.sun.crypto.provider.SunJCE instance leak using KRB5 and * LoginContext * @author Brad Wetmore @@ -89,10 +89,6 @@ public class TestProviderLeak { } public static void main(String [] args) throws Exception { - // Eat up memory - Deque<byte []> dummyData = eatupMemory(); - assert (dummyData != null); - // Prepare the test final SecretKeyFactory skf = SecretKeyFactory.getInstance("PBKDF2WithHmacSHA1", "SunJCE"); @@ -107,6 +103,10 @@ public class TestProviderLeak { } }; + // Eat up memory + Deque<byte []> dummyData = eatupMemory(); + assert (dummyData != null); + // Start testing iteration try { for (int i = 0; i <= 1000; i++) { |