diff --git a/libjava/ChangeLog b/libjava/ChangeLog index b6e84ca2bb5..a599abda672 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,7 @@ +2002-12-22 Anthony Green + + * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class. + 2003-01-02 Mark Wielaard * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be diff --git a/libjava/boehm.cc b/libjava/boehm.cc index df17ce82d9f..5006059dabd 100644 --- a/libjava/boehm.cc +++ b/libjava/boehm.cc @@ -37,7 +37,7 @@ extern "C" // These aren't declared in any Boehm GC header. void GC_finalize_all (void); ptr_t GC_debug_generic_malloc (size_t size, int k, GC_EXTRA_PARAMS); -} +}; #define MAYBE_MARK(Obj, Top, Limit, Source, Exit) \ Top=GC_MARK_AND_PUSH((GC_PTR)Obj, Top, Limit, (GC_PTR *)Source) @@ -203,6 +203,8 @@ _Jv_MarkObj (void *addr, void *msp, void *msl, void * /* env */) MAYBE_MARK (p, mark_stack_ptr, mark_stack_limit, c, cBlabel); p = (ptr_t) c->arrayclass; MAYBE_MARK (p, mark_stack_ptr, mark_stack_limit, c, cDlabel); + p = (ptr_t) c->protectionDomain; + MAYBE_MARK (p, mark_stack_ptr, mark_stack_limit, c, cPlabel); #ifdef INTERPRETER if (_Jv_IsInterpretedClass (c))