From 7125beea7ade09245142f4807784f299f397a4f5 Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Fri, 3 Jan 2003 16:34:37 +0000 Subject: [PATCH] boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class. 2002-12-22 Anthony Green * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class. From-SVN: r60834 --- libjava/ChangeLog | 4 ++++ libjava/boehm.cc | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index b6e84ca2bb52..a599abda672d 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 df17ce82d9f9..5006059dabd9 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))