#83 doShellCommandOnRegion not working

closed-fixed
nobody
Editor (71)
5
2004-11-02
2004-11-02
No

After downloading and installing j-0.21.0 I found that
the 'doShellCommandOnRegion' didn't work.

Not sure if this something that might not have worked
in earlier versions too.

After some trying and digging around, I found that the
doShellCommandOnRegion method in RegionCommands.java
was not declared static, as the other region commands were.

After declaring it static, it was working correctly again.

Line 445 in RegionCommands.java did read:

public void doShellCommandOnRegion()

and now reads:

public static void doShellCommandOnRegion()

Discussion

  • Peter Graves

    Peter Graves - 2004-11-02

    Logged In: YES
    user_id=558172

    Fixed in CVS.

    Thanks!

    -Peter

     
  • Peter Graves

    Peter Graves - 2004-11-02
    • status: open --> closed-fixed
     

Log in to post a comment.