Closed Bug 544750 Opened 15 years ago Closed 15 years ago

Comment for String class refers to nonexistent "kDirect" string type

Categories

(Tamarin Graveyard :: Virtual Machine, defect, P3)

Tracking

(Not tracked)

RESOLVED FIXED
Q3 11 - Serrano

People

(Reporter: mike, Assigned: mike)

Details

Attachments

(1 file)

The lengthy comment at the top of class String in StringObject.h needs some updating. It has several references to a "kDirect" string type, but in fact no such string type exists; the string types that do exist are kDynamic, kStatic, and kDependent. I'm not too familiar with the String class, so I don't know what the proper fix is. It might be as simple as changing kDirect to kDynamic, but I'm not sure about that: The description says, "The most common is the kDirect type, meaning that the string data follows the instance data," but I am not sure that's an accurate description of the kDynamic type. Also, there is one other reference to "kDirect" in another comment farther down in the file.
Severity: normal → minor
Flags: flashplayer-qrb+
Target Milestone: --- → flash10.2
Attached patch Proposed patchSplinter Review
I'm now much more familiar with all the details of the StringObject implementation than I was when I logged this bug, so I'm comfortable rewriting the comment myself. It's a pretty small change. Steven would really be the right person to review this, but since he's out, Edwin, maybe you can take a look.
Attachment #432390 - Flags: review?(edwsmith)
Attachment #432390 - Attachment is patch: true
Attachment #432390 - Attachment mime type: application/octet-stream → text/plain
Assignee: nobody → mmoreart
Status: NEW → ASSIGNED
Attachment #432390 - Flags: review?(edwsmith) → review+
Priority: -- → P3
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Flags: flashplayer-bug+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: