This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Programming Diversions and the fly likes Fool java into printing something it should not print Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Other » Programming Diversions
Bookmark "Fool java into printing something it should not print" Watch "Fool java into printing something it should not print" New topic
Author

Fool java into printing something it should not print

Tim McGuire
Ranch Hand

Joined: Apr 30, 2003
Posts: 820

The goal of this series of puzzles (eg: http://wouter.coekaerts.be/2012/puzzle-clowns, http://wouter.coekaerts.be/2012/puzzle-dreams) is to trick java to return unexpected or explicitly forbidden results.

and..... I'm stuck. I think it has something to do with spawning new threads so that private fields can be forced into unexpected states, but I'm not sure how.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Fool java into printing something it should not print