stubs not being generated for remote code in 5650

I've got the 'rmic' option ticked in the compiler options, but I'm not getting any stubs generated by the build. Code snippet below:

public class CoreTableDataModel extends AbstractTableModel {
...
....public class CoreListener implements RemoteEventListener {
........public CoreListener() throws RemoteException {
.............UnicastRemoteObject.exportObject(this);
........}

........public void notify(RemoteEvent remoteEvent) throws UnknownEventException, RemoteException {
............AvailabilityEvent availabilityEvent = (AvailabilityEvent) remoteEvent;
............try {
................updateList((CoreInfo) availabilityEvent.getEntry());
............} catch (UnusableEntryException e) {
................// nothing to do, the coreinfo isn't there anymore...
............}
........}
....}


The 'CoreListener' should have a stub generated (RemoteEventListener extends Remote). Any ideas?

-mike

3 comments

Hello Mike,

Does a module where faulty class resides included into some module dependency
cycle?
If so, we've just fixed a bug that doesn't apply RMIC compiler to any classes
in such a modules. The fix will be available with the next EAP build.

-


Maxim Shafirov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I've got the 'rmic' option ticked in the compiler options, but I'm not
getting any stubs generated by the build. Code snippet below:

public class CoreTableDataModel extends AbstractTableModel {
...
...public class CoreListener implements RemoteEventListener {
.......public CoreListener() throws RemoteException {
............UnicastRemoteObject.exportObject(this); .......}

.......public void notify(RemoteEvent remoteEvent) throws
UnknownEventException, RemoteException {
...........AvailabilityEvent availabilityEvent = (AvailabilityEvent)
remoteEvent;
...........try {
...............updateList((CoreInfo) availabilityEvent.getEntry());
...........} catch (UnusableEntryException e) {
...............// nothing to do, the coreinfo isn't there anymore...
...........}
.......}
...}
The 'CoreListener' should have a stub generated (RemoteEventListener
extends Remote). Any ideas?

-mike



0

Good to know about the circular dependency bug, but this is a single module project with no dependencies.

0

Please sign in to leave a comment.