Skip to content
Browse files

JRUBY-2372: Sample script java2.rb doesn't neccesarily open the corre…

…ct file.

(Patch by Conrad Meyer)


git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@6430 961051c9-f516-0410-bf72-c9f7e237a7b7
  • Loading branch information...
1 parent a0a3e4b commit 9f058903796b4bfe3c6cbefa55345daca0a7a9f3 @vvs vvs committed Apr 8, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 samples/java2.rb
View
2 samples/java2.rb
@@ -1,6 +1,6 @@
require "java"
-filename = "./samples/java2.rb"
+filename = __FILE__
fr = java.io.FileReader.new filename
br = java.io.BufferedReader.new fr

0 comments on commit 9f05890

Please sign in to comment.
Something went wrong with that request. Please try again.