Community
Participate
Working Groups
Test org.eclipse.objectteams.otdt.tests.otjld.teamactivation.ExplicitTeamActivation.test5218_inheritableTeamActivation1() still fails under OTDRE: t.setInheritableActivation(true) has no effect
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