2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_security_SecureClassLoader__
5 #define __java_security_SecureClassLoader__
9 #include <java/lang/ClassLoader.h>
10 #include <gcj/array.h>
23 class PermissionCollection
;
24 class ProtectionDomain
;
25 class SecureClassLoader
;
30 class java::security::SecureClassLoader
: public ::java::lang::ClassLoader
33 public: // actually protected
34 SecureClassLoader(::java::lang::ClassLoader
*);
36 virtual ::java::lang::Class
* defineClass(::java::lang::String
*, JArray
< jbyte
> *, jint
, jint
, ::java::security::CodeSource
*);
37 virtual ::java::lang::Class
* defineClass(::java::lang::String
*, ::java::nio::ByteBuffer
*, ::java::security::CodeSource
*);
39 ::java::security::ProtectionDomain
* getProtectionDomain(::java::security::CodeSource
*);
40 public: // actually protected
41 virtual ::java::security::PermissionCollection
* getPermissions(::java::security::CodeSource
*);
43 ::java::util::HashMap
* __attribute__((aligned(__alignof__( ::java::lang::ClassLoader
)))) protectionDomainCache
;
45 static ::java::lang::Class
class$
;
48 #endif // __java_security_SecureClassLoader__