libgcj/10596: Reference and String.intern don't work together
tromey@redhat.com
tromey@redhat.com
Fri May 2 04:16:00 GMT 2003
>Number: 10596
>Category: libgcj
>Synopsis: Reference and String.intern don't work together
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri May 02 04:16:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Tom Tromey
>Release: unknown-1.0
>Organization:
>Environment:
>Description:
Right now, when a Reference reaches the finalization
stage, we call _Jv_FinalizeObject. However, that
won't work when the object has had a "hidden" finalizer
attached -- this occurs for intern()d Strings.
You could observe a bug here, perhaps even a
crash, by creating a Reference that watches an
intern()d String.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Java-prs
mailing list