equal
deleted
inserted
replaced
932 |
932 |
933 // The anonymous class loader data has been artificially been kept alive to |
933 // The anonymous class loader data has been artificially been kept alive to |
934 // this point. The mirror and any instances of this class have to keep |
934 // this point. The mirror and any instances of this class have to keep |
935 // it alive afterwards. |
935 // it alive afterwards. |
936 if (anon_klass() != NULL) { |
936 if (anon_klass() != NULL) { |
937 anon_klass->class_loader_data()->set_keep_alive(false); |
937 anon_klass->class_loader_data()->dec_keep_alive(); |
938 } |
938 } |
939 |
939 |
940 // let caller initialize it as needed... |
940 // let caller initialize it as needed... |
941 |
941 |
942 return (jclass) res_jh; |
942 return (jclass) res_jh; |