-
-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
Labels
Milestone
Description
on 9.0.0.0-pre1:
$ ruby -v
jruby 9.0.0.0.pre1 (2.2.0p0) 2015-01-22 1e31288 Java HotSpot(TM) 64-Bit Server VM 24.55-b03 on 1.7.0_55-b13 +jit [darwin-x86_64]
$ jrubyc --help
NameError: missing class or uppercase package name (`org.jruby.compiler.impl.StandardASMCompiler'), caused by (NameError) cannot load Java class org.jruby.compiler.impl.StandardASMCompiler
get_proxy_or_package_under_package at org/jruby/javasupport/JavaUtilities.java:54
method_missing at file:/Users/yuki/.rvm/rubies/jruby-9.0.0.0-pre1/lib/jruby.jar!/jruby/java/java_package_module_template.rb:14
(root) at /Users/yuki/.rvm/rubies/jruby-9.0.0.0-pre1/lib/ruby/stdlib/jruby/compiler.rb:10
(root) at /Users/yuki/.rvm/rubies/jruby-9.0.0.0-pre1/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:1
require at org/jruby/RubyKernel.java:954
require at /Users/yuki/.rvm/rubies/jruby-9.0.0.0-pre1/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54
(root) at /Users/yuki/.rvm/rubies/jruby-9.0.0.0-pre1/lib/ruby/stdlib/jruby/jrubyc.rb:1
require at org/jruby/RubyKernel.java:954
(root) at /Users/yuki/.rvm/rubies/jruby-9.0.0.0-pre1/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:1
__script__ at /Users/yuki/.rvm/rubies/jruby-9.0.0.0-pre1/bin/jrubyc:3
on 1.7.18:
$ ruby -v
jruby 1.7.18 (1.9.3p551) 2014-12-22 625381c on Java HotSpot(TM) 64-Bit Server VM 1.7.0_55-b13 +jit [darwin-x86_64]
$ jrubyc --help
jrubyc [options] (FILE|DIRECTORY)
-d, --dir DIR Use DIR as the base path
-p, --prefix PREFIX Prepend PREFIX to the file path and package. Default is no prefix.
-t, --target TARGET Output files to TARGET directory
-J OPTION Pass OPTION to javac for javac compiles
-5 --jdk5
Generate JDK 5 classes (version 49)
--java Generate .java classes to accompany the script
--javac Generate and compile .java classes to accompany the script
-c CLASSPATH, Add a jar to the classpath for building
--classpath
--sha1 Compile to a class named using the SHA1 hash of the source file
--handles Also generate all direct handle classes for the source file
--verbose Log verbose output while compile
Am I missing something or it's a bug?
Reactions are currently unavailable