--- a/hotspot/src/share/vm/prims/privilegedStack.cpp Wed Apr 12 08:49:08 2017 +0200
+++ b/hotspot/src/share/vm/prims/privilegedStack.cpp Wed Apr 12 08:02:29 2017 -0400
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -51,14 +51,6 @@
} while(cur != NULL);
}
-void PrivilegedElement::classes_do(KlassClosure* f) {
- PrivilegedElement *cur = this;
- do {
- f->do_klass(cur->_klass);
- cur = cur->_next;
- } while(cur != NULL);
-}
-
//-------------------------------------------------------------------------------
#ifndef PRODUCT