| Summary: | [otdre] implement inheritable team activation | ||
|---|---|---|---|
| Product: | [Tools] Objectteams | Reporter: | Stephan Herrmann <stephan.herrmann> |
| Component: | OTJ | Assignee: | Stephan Herrmann <stephan.herrmann> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | stephan.herrmann |
| Version: | 2.4 | ||
| Target Milestone: | 2.5.2 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 484164 | ||
|
Description
Stephan Herrmann
Analysis: _OT$creationThread was never set in, because we were overriding the wrong hook. With no creation thread, TeamThreadManager.newThreadStarted() cannot detect if the parent thread has the team activated. (In reply to Stephan Herrmann from comment #1) > Analysis: _OT$creationThread was never set in, insert: in *constructors of Thread / Runnable*. > because we were overriding the wrong hook. Viz. the AdviceAdapter in AddThreadNotificationAdapter.visitMethod() must override visitMethodInsn() not visitConstructor(). Fixed in commit 0f949b15db1190dca0d6644f8deab2d8cd482955 Released for 2.6 M3 Cherry picked for 2.5.2 as commit 3dffdcf7358c5d5884d62f264640d7e7fdaeb533 |