8027063: SecurityManger.getClassContext returns a raw type
Reviewed-by: lancea, alanb, xuelei
--- a/jdk/src/share/classes/java/lang/SecurityManager.java Tue Jan 07 13:00:37 2014 +0000
+++ b/jdk/src/share/classes/java/lang/SecurityManager.java Tue Jan 07 09:09:30 2014 -0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1995, 2014, 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
@@ -307,7 +307,7 @@
*
* @return the execution stack.
*/
- protected native Class[] getClassContext();
+ protected native Class<?>[] getClassContext();
/**
* Returns the class loader of the most recently executing method from