Description of problem: The new Java Editor has several interconnected issues. The main being that it allows you to change a file but not save these changes. If it is supposed to be read-only as per bug 1001561 comment 1, it should not allow users to even make any changes. In that case, Java Editor is a bit of a misnomer (since no editing can/should be done). Also, the 'editor' pane is in a tab (see at the bottom of the 'editor') called Edit - using the Source tab that is present in many other editors would be better for this read-only 'editor'. Either keep the java code editable and allow users to save the changes made, or really make it read-only. Version-Release number of selected component (if applicable): BPMS 6.0 ER3
The java editor has been changed to conform it to other source editors that are already in use throughout the platform. master: https://github.com/droolsjbpm/kie-wb-common/commit/17e68c43e911ebeeddcb72d9f25034b1412f576d 6.0.x: https://github.com/droolsjbpm/kie-wb-common/commit/d51c30844e198245913674bb323dd9a1a7dff88e
Verified on ER4 - java source files now open in source view, non-editable.