Subject: Updated Policy Benefit level

From: Life Policy <[email-masked]>
Date: Mon, 21 Jul 2014 08:31:44 -0700

Dear Ipp-archive,

Enclosed is your New Policy kit -> http://www.clubcarvirtu.com/policy/update/kit.index

Enclosure:
- Eligibility letter
- Summary of Coverage
- Your Application 
- Thank You Gift

This is to notify that you have been deemed eligible for special rates for your policy. 

View Your guaranteed benefit Amnt here -> http://www.clubcarvirtu.com/policy/update/kit.index

Sincerely, 

Membership Services

P.S. If you have any questions at all about this coverage or process please do not hesitate to contact us 
here: 

-
-
It would be disservice not to downvote this answer. Please think more carefully before posting. Your code is broken, unless all these are true: 1. the JRE is Oracle's, otherwise there will be no "sun.java.command" system property  NPE; 2. the OS is Windows (Use File.separator instead, or a multi-argument File constructor); 3. the classpath is specificed on the command line, and the 'current directory including the package'(??) is: a. specified first, b. specified absolutely, c. matches the CWD exactly (even with Windows' case insensitivity), and d. is a descendent of the CWD   Michael Scheper May 15 '13 at 2:43
1	  	
@MichaelScheper: Ooouch 2 down votes for a minor mistake...that hurts dude. But point taken and I have now updated my answer :)   JSS Jun 5 '13 at 15:22
  	  	
That addresses points 1 and 2. But unless I'm missing something, you're still relying on the classpath being specified in the command line (i.e. not in an environment variable), and for the 'current directory including the package' (I admit I don't really understand what you mean by that) being a descendent of specifically the first element in the classpath. And the case matching problem remains. I'm sorry if my comment wasn't helpful; I sacrificed clarity to keep within the comment character limit.   Michael Scheper Jun 6 '13 at 4:17
  	  	
This works perfectly and solves my specific issue.   Inversus Oct 21 '13 at 10:41
  	  	
@Inversus, it only "works perfectly" in some environments; you just happened to be lucky enough to test it in onesuch. Writing software that fails in legitimate runtime environments is not good practice, even when your set of test environments isn't expansive enough to include them.   Charles Duffy Apr 10 at 2:07
  	  	
@CharlesDuffy You're right, that is not good practice. Fortunately, this solution "solv[ing] my specific issue" did not cause it to "[fail] in legitimate runtime environments." In fact, it helped me solve such a failure and write more robust code, besides solving the very specific issue I had (which was only somewhat related to this question/answer). I guess I was just lucky to find it