Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

[ sisc-Bugs-830507 ] s2j method dispatch problem with interface?: msg#00004

Subject: [ sisc-Bugs-830507 ] s2j method dispatch problem with interface?
Bugs item #830507, was opened at 2003-10-26 06:34
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=830507&group_id=23735

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: s2j method dispatch problem with interface?

Initial Comment:
I'm running 1.8.5 final and jdk 1.4.1_01 on Linux.

SISC (1.8.5) - main
#;> (import s2j)
#;> ((generic-java-method '|matcher|)
 ((generic-java-method '|compile|)
  (java-null (java-class '|java.util.regex.Pattern|))
  (->jstring "([0-9])"))
 (->jstring "a3b"))

Error: no applicable method for args (#<java
java.util.regex.Pattern java.util.regex.Pattern@e99ce5>
#<java java.lang.String a3b>) in generic procedure
#0=#<procedure>

(java.util.regex.Pattern.matcher() wants a CharSequence.)

This code worked in 1.8.3-beta.

--Jamie


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=830507&group_id=23735


-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/


<Prev in Thread] Current Thread [Next in Thread>