[ sisc-Bugs-830507 ] s2j method dispatch problem with interface?

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.java.sisc.devel
Message-ID <[email protected]>
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.