File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Meaningless Drivel and the fly likes Java destruction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Other » Meaningless Drivel
Bookmark "Java destruction" Watch "Java destruction" New topic

Java destruction

Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

A simple, but funny, entry on TheDailyWTF.

[Jess in Action][AskingGoodQuestions]
Monu Tripathi

Joined: Oct 12, 2008
Posts: 1369

You really haven't read about JIBE? That's Java Intention Based Execution. The compiler sees the intention of the programmer was to destruct the object, and will generate code to do so....

loved the jibes!

[List of FAQs] | [Android FAQ] | [Samuh Varta]
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

so, what is the conclusion ? why we need this
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

...ehm, we don't. That's the point of the WTF.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Rohan kanade
Ranch Hand

Joined: Oct 22, 2009
Posts: 106
Seetharaman Venkatasamy wrote: so, what is the conclusion ? why we need this

since the argument is a object. a copy of the reference value will be passed to the method. so the original object in the heap is still being pointed to.

this class & method does nothing but brainfu*k

Vishal Hegde
Ranch Hand

Joined: Aug 01, 2009
Posts: 1076

cool.....when will my brain work like that. I mean to understand when to say WTF and Bravo || OCJP:81%
I agree. Here's the link:
subject: Java destruction
It's not a secret anymore!