VMClassLoader.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_lang_VMClassLoader__
  3. #define __java_lang_VMClassLoader__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace gcj
  12. {
  13. namespace runtime
  14. {
  15. class BootClassLoader;
  16. }
  17. }
  18. }
  19. namespace java
  20. {
  21. namespace net
  22. {
  23. class URL;
  24. }
  25. namespace security
  26. {
  27. class Permission;
  28. class ProtectionDomain;
  29. }
  30. }
  31. }
  32. class java::lang::VMClassLoader : public ::java::lang::Object
  33. {
  34. public: // actually package-private
  35. VMClassLoader();
  36. static ::java::lang::Class * defineClass(::java::lang::ClassLoader *, ::java::lang::String *, JArray< jbyte > *, jint, jint, ::java::security::ProtectionDomain *);
  37. static void resolveClass(::java::lang::Class *);
  38. static ::java::lang::Class * loadClass(::java::lang::String *, jboolean);
  39. static ::java::net::URL * getResource(::java::lang::String *);
  40. static ::java::util::Enumeration * getResources(::java::lang::String *);
  41. static ::java::lang::Package * getPackage(::java::lang::String *);
  42. static JArray< ::java::lang::Package * > * getPackages();
  43. static void definePackageForNative(::java::lang::String *);
  44. static ::java::lang::Class * getPrimitiveClass(jchar);
  45. static jboolean defaultAssertionStatus();
  46. static ::java::util::Map * packageAssertionStatus();
  47. static ::java::util::Map * classAssertionStatus();
  48. static ::java::lang::ClassLoader * getSystemClassLoaderInternal();
  49. static void initBootLoader(::java::lang::String *);
  50. static void initialize(::java::lang::String *);
  51. static ::java::lang::Class * nativeFindClass(::java::lang::String *);
  52. static ::java::lang::ClassLoader * getSystemClassLoader();
  53. static ::java::security::Permission * protectionDomainPermission;
  54. static ::java::security::ProtectionDomain * unknownProtectionDomain;
  55. static ::java::util::HashMap * definedPackages;
  56. static ::gnu::gcj::runtime::BootClassLoader * bootLoader;
  57. private:
  58. static ::java::util::HashSet * tried_libraries;
  59. static jint lib_control;
  60. static const jint LIB_FULL = 0;
  61. static const jint LIB_CACHE = 1;
  62. static const jint LIB_NEVER = 2;
  63. public:
  64. static ::java::lang::Class class$;
  65. };
  66. #endif // __java_lang_VMClassLoader__