< prev index next >
test/jdk/java/security/SecureRandom/DefaultProvider.java
Print this page
rev 59383 : [mq]: final
*** 1,7 ****
/*
! * Copyright (c) 2015, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2015, 2020, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 31,41 ****
* @summary Assert default provider used on all OS for SecureRandom
*/
public class DefaultProvider {
private static final String OS_NAME = System.getProperty("os.name");
- private static final String SUNOS = "SunOS";
private static final String WINDOWS = "Windows";
public static void main(String[] args) throws NoSuchAlgorithmException {
out.println("Operating System: " + OS_NAME);
--- 31,40 ----
< prev index next >