Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!

K Sekar

Greenhorn
+ Follow
since Sep 08, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by K Sekar

Thank you Campbell Ritchie.
11 years ago
Ya Sure .
13 years ago
Many Thanks Prime.
13 years ago
Hi,
We heard about the case where the application will cause resource leakage
if we fail to close the resources properly.

Existing snippet :

try{

// using I/O Stream

// closing the resource

}
catch(IOException e){
//Log the Exception
}

Assume that there exists a issue(say I/O operations) which prevents the execution of the program to close the resource.

Modified snippet :

try{

// using I/O Stream

// closing the resource

}
catch(IOException e){
//Log the Exception
}
finally{
// null check
// close the resource
}

The thing is I need to replicate the problem so as to test
whether the introduction of finally block forces the program
to close the resource.

Can anyone help me in replicating the resource leakage problem?


Thanks In Advance.
Kannan
13 years ago
Thank you Amitesh and Mohamed for providing valuable information and encouraging me.
if you come to know any other resources do remember to send me .
Thank you once again.
regards,
kannan
Hi,
i am planning to take SCJP5 examination.
Can anyone give me some guidelines for the preparation of SCJP5 examination and the resources to clear the exam with good result.
Thanks in Advance..

Regards,
kanna
--------------------------------------------------------------------------------
i am not strong in java.i want to take a certification exam in java(SCJP).
i don't know which one to take i.e.,either java1.4 or java5?