Skip to content

StoreToArrayAgent.java:40-48: Conflict between {@link... #387

@0pdd

Description

@0pdd

The puzzle 277-6c2ffe92 from #277 has to be resolved:

* @todo #277:90min Conflict between {@link StoreToArrayAgent} and {@link DupAgent}.
* We have a strange conflict between these two agents.
* - {@link StoreToArrayAgent} is supposed to leave stack empty, or at least do not push anything,
* but it pushes a new {@link StoreArray} object. Which is wrong.
* - {@link DupAgent} is supposed to push a new object, but it does not push anything.
* However both this bugs compensate each other somehow and our transformations work
* as expected. But this is not a good practice. We should adhere to bytecode specification for
* both agents: {@link DupAgent} should push a new object and {@link StoreToArrayAgent} should
* not push anything.

The puzzle was created by volodya-lombrozo on 14-Aug-24.

Estimate: 90 minutes, role: DEV.

If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions