Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
warning: ambiguous Java methods found (JRuby 1.7)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Andy Joel  
View profile  
 More options Nov 14 2012, 5:59 am
From: Andy Joel <li...@ruby-forum.com>
Date: Wed, 14 Nov 2012 11:59:04 +0100
Local: Wed, Nov 14 2012 5:59 am
Subject: [jruby-user] warning: ambiguous Java methods found (JRuby 1.7)
Just downloaded JRuby 1.7.0, and running unit tests on a Rails 3 project
I am see this warning, which I was not seeing with 1.6.7:

warning: ambiguous Java methods found

Okay, I get why it is happening, JRuby cannot be sure I am wanting
java.awt.Color.new(float, float, float) or java.awt.Color.new(double,
double, double), but then, who cares, they both do the same thing. Is
there a way to either turn off the warnings, or to explicitly tell JRuby
which one to use?

--
Posted via http://www.ruby-forum.com/.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Keith Bennett  
View profile  
 More options Nov 14 2012, 10:03 am
From: Keith Bennett <keithrbenn...@gmail.com>
Date: Wed, 14 Nov 2012 10:03:21 -0500
Local: Wed, Nov 14 2012 10:03 am
Subject: Re: [jruby-user] warning: ambiguous Java methods found (JRuby 1.7)
Check out java_send and java_alias in
https://github.com/jruby/jruby/wiki/CallingJavaFromJRuby.

- Keith

Keith R. Bennett
http://about.me/keithrbennett

On 11/14/2012 5:59 AM, Andy Joel wrote:

> Just downloaded JRuby 1.7.0, and running unit tests on a Rails 3 project
> I am see this warning, which I was not seeing with 1.6.7:

> warning: ambiguous Java methods found

> Okay, I get why it is happening, JRuby cannot be sure I am wanting
> java.awt.Color.new(float, float, float) or java.awt.Color.new(double,
> double, double), but then, who cares, they both do the same thing. Is
> there a way to either turn off the warnings, or to explicitly tell JRuby
> which one to use?

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »