You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that old versions of Java code get executed, in a sort of strange pattern.
Here is my recipe to demonstrate. Unexpected behavior is noted with bold bangs (!!!).
Launch ImageJ
Open the Script Editor ([)
Templates > Java > Bare Plugin
Save to Desktop
Add import ij.IJ; at line 2
Insert IJ.showMessage("Hello world!"); at line 18
Save then Run, and note that "Hello world!" is shown
Change world to there
Save then Run, and note that "Hello there!" is shown
Change there to my friend
Save then Run, and note that "Hello world!" is shown again (!!!)
Run again (without further changes), and note that "Hello there!" is now shown (!!!)
Run a third time (again, no changes), and note that it is back to "Hello world!" again (!!!)
It seems to alternate between the first and second iterations of the class. At no point are the third or later iterations of the code executed.
The text was updated successfully, but these errors were encountered:
ctrueden
changed the title
Iterative evaluation does not always execute the latest version
Iterative evaluation executes old versions of the code
Oct 7, 2014
It seems that old versions of Java code get executed, in a sort of strange pattern.
Here is my recipe to demonstrate. Unexpected behavior is noted with bold bangs (!!!).
[)import ij.IJ;at line 2IJ.showMessage("Hello world!");at line 18worldtotheretheretomy friendIt seems to alternate between the first and second iterations of the class. At no point are the third or later iterations of the code executed.
The text was updated successfully, but these errors were encountered: