1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Resolved System.out.println randomly blocks

Discussion in 'Client & Site Support' started by Exia, May 2, 2015.

  1. Exia

    Joined:
    Nov 3, 2013
    Messages:
    609
    Likes Received:
    259
    I've come across an interesting bug, I'm not sure if it's java or the client but every so often System.out will start blocking:
    Code (Text):
    1. status = "Mushroom";
    2. System.out.println("test");
    3. status = "Pineapple";
    This code will result in the status being set to Mushroom, and the script bot hanging (the pineapple line is never touched).

    Again, I don't know if this a client or a java issue, all I know is that it happens every now and then.

    @Cloud, @Arbiter

     
  2. Best Answer:
    Post #4 by Cloud, May 11, 2015
  3. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    Uhm, how can I reproduce this?
     
  4. Exia

    Joined:
    Nov 3, 2013
    Messages:
    609
    Likes Received:
    259
    I usually get this after printing a massive amount of lines to the console. I think it might just be an issue with Windows 10 though, since I can solve it by resizing the cmd window. On a resize it prints everything that it had buffered.
     
  5. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    Definitely sounds like an OS issue.
     

Share This Page

Loading...