summaryrefslogtreecommitdiffstats
path: root/libjava/java/lang/VMClassLoader.h
blob: dce7092bfce6645fc346a4a1e7518564133d7944 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74

// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_lang_VMClassLoader__
#define __java_lang_VMClassLoader__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace gcj
    {
      namespace runtime
      {
          class BootClassLoader;
      }
    }
  }
  namespace java
  {
    namespace net
    {
        class URL;
    }
    namespace security
    {
        class Permission;
        class ProtectionDomain;
    }
  }
}

class java::lang::VMClassLoader : public ::java::lang::Object
{

public: // actually package-private
  VMClassLoader();
  static ::java::lang::Class * defineClass(::java::lang::ClassLoader *, ::java::lang::String *, JArray< jbyte > *, jint, jint, ::java::security::ProtectionDomain *);
  static void resolveClass(::java::lang::Class *);
  static ::java::lang::Class * loadClass(::java::lang::String *, jboolean);
  static ::java::net::URL * getResource(::java::lang::String *);
  static ::java::util::Enumeration * getResources(::java::lang::String *);
  static ::java::lang::Package * getPackage(::java::lang::String *);
  static JArray< ::java::lang::Package * > * getPackages();
  static void definePackageForNative(::java::lang::String *);
  static ::java::lang::Class * getPrimitiveClass(jchar);
  static jboolean defaultAssertionStatus();
  static ::java::util::Map * packageAssertionStatus();
  static ::java::util::Map * classAssertionStatus();
  static ::java::lang::ClassLoader * getSystemClassLoaderInternal();
  static void initBootLoader(::java::lang::String *);
  static void initialize(::java::lang::String *);
  static ::java::lang::Class * nativeFindClass(::java::lang::String *);
  static ::java::lang::ClassLoader * getSystemClassLoader();
  static ::java::security::Permission * protectionDomainPermission;
  static ::java::security::ProtectionDomain * unknownProtectionDomain;
  static ::java::util::HashMap * definedPackages;
  static ::gnu::gcj::runtime::BootClassLoader * bootLoader;
private:
  static ::java::util::HashSet * tried_libraries;
  static jint lib_control;
  static const jint LIB_FULL = 0;
  static const jint LIB_CACHE = 1;
  static const jint LIB_NEVER = 2;
public:
  static ::java::lang::Class class$;
};

#endif // __java_lang_VMClassLoader__
OpenPOWER on IntegriCloud