in reply to Strange File read problem

My guess ... the source file you think you're reading is not the source file you're reading. Try changling the relative Sample.java to the full path of what you want.

-derby