mirah 0.1.3-java → 0.1.4-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.txt +97 -1
- data/README.md +2 -3
- data/Rakefile +172 -15
- data/TODO.md +293 -49
- data/dist/mirahc.jar +0 -0
- data/examples/ant/README.md +8 -0
- data/examples/ant/build/Fib.class +0 -0
- data/examples/ant/example-build.xml +3 -3
- data/examples/ant/example-build.xml~ +7 -0
- data/examples/rosettacode/100-doors.mirah +2 -2
- data/examples/sort_closure.mirah +1 -1
- data/lib/mirah.rb +0 -2
- data/lib/mirah/version.rb +1 -1
- data/test/core/util/class_loader_test.rb +1 -1
- data/test/core/util/{argument_processor_test.rb → mirah_arguments_test.rb} +2 -2
- data/test/jvm/annotations_test.rb +19 -0
- data/test/jvm/blocks_test.rb +198 -32
- data/test/jvm/import_test.rb +3 -0
- data/test/jvm/interface_test.rb +14 -0
- data/test/jvm/jvm_compiler_test.rb +11 -0
- data/test/jvm/new_backend_test_helper.rb +1 -1
- data/test/jvm/static_fields_test.rb +11 -1
- data/test/mirrors/method_lookup_test.rb +20 -7
- data/test/mirrors/mirrors_test.rb +51 -7
- metadata +6 -5
- data/lib/mirah/util/argument_processor.rb +0 -150
- data/lib/mirah/util/class_loader.rb +0 -14
@@ -1,14 +0,0 @@
|
|
1
|
-
module Mirah
|
2
|
-
module Util
|
3
|
-
|
4
|
-
ClassLoader = Java::OrgMirah::MirahClassLoader
|
5
|
-
|
6
|
-
# converts string to a java string w/ binary encoding
|
7
|
-
# might be able to avoid this in 1.9 mode
|
8
|
-
def self.binary_string string
|
9
|
-
java.lang.String.new string.to_java_bytes, "ISO-8859-1"
|
10
|
-
end
|
11
|
-
|
12
|
-
IsolatedResourceLoader = Java::OrgMirah::IsolatedResourceLoader
|
13
|
-
end
|
14
|
-
end
|