When depleting the durability of an enchanted item, like a wooden pickaxe, if you shift click a non-enchanted version of the same item to the same slot the enchanted item was, the enchanted item will reappear in that slot, with its durability at almost zero.
If exploited gives the ability to have an infinite use of enchantable items in non-creative modes.
Linked issues
duplicates 1
Comments 2
MC-1040 concerns all items. This is an issue specific to enchanted ones.
Duplicate of MC-1040 - If you have not, please use the search function in the future, to see if your bug has already been submitted. If you could not find the original report, please comment with the keywords you searched for.