A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Other
»
Programming Diversions
Author
Fool java into printing something it should not print
Tim McGuire
Ranch Hand
Joined: Apr 30, 2003
Posts: 819
I like...
posted
Apr 12, 2012 17:51:31
0
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://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: Fool java into printing something it should not print
Similar Threads
Puzzle
Puzzle
Puzzle
puzzle
The swing puzzle
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter