[ nice-Bugs-825272 ] nice -> java -> nice fails

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.lang.nice.devel
Message-ID <[email protected]>
Bugs item #825272, was opened at 2003-10-17 16:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=825272&group_id=12788

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Rohan Hart (dr_dee)
Assigned to: Nobody/Anonymous (nobody)
Summary: nice -> java -> nice fails

Initial Comment:
It seems that nice can't use a java class which
implements a nice interface.

----
package C;

interface In {}

----
package B;

public class Bj implements C.In {}

----
package A;

import B.*;
import C;

class An {
  In b = new Bj();
}

----
nicec --jar c.jar C
javac -classpath c.jar B/Bj.java
jar cfv b.jar B/Bj.class
nicec --classpath b.jar:c.jar A

Incorrect type in assignment to b
Found   : B.Bj
Expected: C.In

The original error I hit indicated that nicec couldn't
even find the java class but I haven't been able to
make a testcase yet.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=825272&group_id=12788


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
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.