< prev index next >

src/hotspot/share/classfile/classFileParser.hpp

Print this page
@@ -108,11 +108,11 @@
   private:
    // Potentially unaligned pointer to various 16-bit entries in the class file
    typedef void unsafe_u2;
  
    const ClassFileStream* _stream; // Actual input stream
-   const Symbol* _requested_name;
+   Symbol* _requested_name;
    Symbol* _class_name;
    mutable ClassLoaderData* _loader_data;
    const InstanceKlass* _unsafe_anonymous_host;
    GrowableArray<Handle>* _cp_patches; // overrides for CP entries
    int _num_patched_klasses;

@@ -207,10 +207,18 @@
    bool _has_finalizer;
    bool _has_empty_finalizer;
    bool _has_vanilla_constructor;
    int _max_bootstrap_specifier_index;  // detects BSS values
  
+   enum {
+     lenvelope_unknown_mode,    // L-envelope mode still undetermined
+     lenvelope_forbidden_mode,  // L-envelopes strictly forbidden in CONSTANT_Class_info
+     lenvelope_required_mode    // L-envelopes mandatory in CONSTANT_Class_info
+   };
+ 
+   int _lenvelope_mode;
+ 
    void parse_stream(const ClassFileStream* const stream, TRAPS);
  
    void post_process_parsed_stream(const ClassFileStream* const stream,
                                    ConstantPool* cp,
                                    TRAPS);
< prev index next >