You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4cdb90c
Browse filesBrowse the repository at this point in the historyBrowse files
feat(runtime): warn on own-property dispatch for interface literals
`new SomeInterface({...})` gives every instance its own implementation
object, so it has no per-class record to compare against. For wrappers
without a record, debug builds now check whether the receiver itself owns
the method name and, if so, log the same warning once per Java class and
method per runtime. This costs one own-property lookup per Java->JS call
on those instances, in debug builds only; records keep the pointer
compare.
ObjectManager::GetJavaClass now returns null for an object without a
link instead of dereferencing a null info.
Specs: a plain interface literal called from Java does not warn; one whose
instance gets its own `run` still runs it and warns once over two calls.
0 commit comments