From 554fd8c5195424bdbcabf5de30fdc183aba391bd Mon Sep 17 00:00:00 2001 From: upstream source tree Date: Sun, 15 Mar 2015 20:14:05 -0400 Subject: obtained gcc-4.6.4.tar.bz2 from upstream website; verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository. --- libjava/java/security/SecureClassLoader.h | 48 +++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 libjava/java/security/SecureClassLoader.h (limited to 'libjava/java/security/SecureClassLoader.h') diff --git a/libjava/java/security/SecureClassLoader.h b/libjava/java/security/SecureClassLoader.h new file mode 100644 index 000000000..c8431a7bc --- /dev/null +++ b/libjava/java/security/SecureClassLoader.h @@ -0,0 +1,48 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_security_SecureClassLoader__ +#define __java_security_SecureClassLoader__ + +#pragma interface + +#include +#include + +extern "Java" +{ + namespace java + { + namespace nio + { + class ByteBuffer; + } + namespace security + { + class CodeSource; + class PermissionCollection; + class ProtectionDomain; + class SecureClassLoader; + } + } +} + +class java::security::SecureClassLoader : public ::java::lang::ClassLoader +{ + +public: // actually protected + SecureClassLoader(::java::lang::ClassLoader *); + SecureClassLoader(); + virtual ::java::lang::Class * defineClass(::java::lang::String *, JArray< jbyte > *, jint, jint, ::java::security::CodeSource *); + virtual ::java::lang::Class * defineClass(::java::lang::String *, ::java::nio::ByteBuffer *, ::java::security::CodeSource *); +private: + ::java::security::ProtectionDomain * getProtectionDomain(::java::security::CodeSource *); +public: // actually protected + virtual ::java::security::PermissionCollection * getPermissions(::java::security::CodeSource *); +private: + ::java::util::HashMap * __attribute__((aligned(__alignof__( ::java::lang::ClassLoader)))) protectionDomainCache; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_security_SecureClassLoader__ -- cgit v1.2.3