From 6f68ba318fa145a559b32762ccf4502c29c93675 Mon Sep 17 00:00:00 2001 From: Project516 <138796702+Project516@users.noreply.github.com> Date: Thu, 5 Nov 2026 12:58:02 -0600 Subject: [PATCH] Drop parsed member lists after linking --- src/jvm.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jvm.ts b/src/jvm.ts index 32452b2..4e8359c 100644 --- a/src/jvm.ts +++ b/src/jvm.ts @@ -337,6 +337,9 @@ export class JVM { c.methods.push(m); c.methodMap.set(m.key, m); } + // Runtime members own the metadata now; discard the parsed member records. + cf.fields = []; + cf.methods = []; c.state = LINKED; if (!hidden) map.set(cf.name, c); this.created?.push(c);