File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
Similar Threads
Puzzle
Puzzle
The swing puzzle
Puzzle
puzzle