Unable to build

Anybody run into something like this before?

compile-jruby:
[apt] Since compiler setting isn’t classic or modern,ignoring fork
setting.
[apt] Compiling 1012 source files to
C:\dev\ruby\downloads\jruby\build\classes\jruby
[apt] Since compiler setting isn’t classic or modern,ignoring fork
setting.
[apt] warning: Annotation types without processors:
[java.lang.Override, java.lang.Deprecated, org.jruby.anno.JRubyConstant,
java.lang.SuppressWarnings, org.jruby.anno.JRubyModule,
java.lang.annotation.Retention, java.lang.annotation.Target,
com.kenai.jaffl.annotations.Out, com.kenai.jaffl.annotations.In,
com.kenai.jaffl.annotations.Transient]
[apt] 1 warning
[apt]
C:\dev\ruby\downloads\jruby\src\org\jruby\RubyModule.java:77: cannot
find symbol
[apt] symbol : class ProfilingDynamicMethod
[apt] location: package org.jruby.internal.runtime.methods
[apt] import
org.jruby.internal.runtime.methods.ProfilingDynamicMethod;
[apt] ^
[apt]
C:\dev\ruby\downloads\jruby\src\org\jruby\RubyModule.java:926: cannot
find symbol
[apt] symbol: class ProfilingDynamicMethod
[apt] return new CacheEntry(new
ProfilingDynamicMethod(method), token);
[apt] ^
[apt]
C:\dev\ruby\downloads\jruby\src\org\jruby\RubyString.java:800: warning:
[deprecation] replace(byte[]) in org.jruby.util.ByteList has been
deprecated
[apt] value.replace(bytes);
[apt] ^
[apt]
C:\dev\ruby\downloads\jruby\src\org\jruby\runtime\invokedynamic\InvokeDynamicSupport.java:38:
warning: [deprecation] type() in java.dyn.CallSite has been deprecated
[apt] public MethodType type() {
[apt] ^
[apt] Note: Some input files use unchecked or unsafe operations.
[apt] Note: Recompile with -Xlint:unchecked for details.
[apt] 2 errors
[apt] 2 warnings

BUILD FAILED
C:\dev\ruby\downloads\jruby\build.xml:634: The following error occurred
while executing this line:
C:\dev\ruby\downloads\jruby\build.xml:226: Compile failed; see the
compiler error output for details.

Just ran into this too. Looks like bad timing…

This commit:

added an import for:
org.jruby.internal.runtime.methods.ProfilingDynamicMethod

but the class appears to be missing from the commit. Stepping back to
commit e0859d92246bab will let you compile, but master probably won’t
build until the class is checked in.

-Ryan

Charlie just added the code for profiling and he must have missed to
add that file. I am sure he will the next time he get wifi again (he
is at a conference – nuff said :slight_smile: ).

-Tom

On Tue, Oct 26, 2010 at 2:30 PM, Ryan H. [email protected] wrote:

build until the class is checked in.


blog: http://blog.enebo.com twitter: tom_enebo
mail: [email protected]