Extending abstract class?

2002-08-29 Thread Andy Piper

If I use the extend abstract class wizard to try and extend java.net.SocketImpl
it insteads defines the functions from SocketOptions (implemented by 
SocketImpl).
This seems like a bug but I don't know whether it is XEmacs specific.

JDE 2.2.9beta10

andy




RE: updating interfaces

2002-08-29 Thread Sandip Chitale

I think there is some code in jde-wiz-get-set-methods in jde-wiz.el
to check if getters and setters for a given property already exist
and not generate them again. A similar strategy could be applied to
achieve the result you want. It basically uses semantic.el.

-sandip


> -Original Message-
> From: matthew yee-king [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 29, 2002 4:12 AM
> To: [EMAIL PROTECTED]
> Subject: updating interfaces
> 
> 
> Hello
> 
> I would like to know if it is possible to update the set of method
> skeletons that are generated when implementing an interface.
> 
> i.e. 
> 
> I write an interface. 
> I write a class that implements that interface (when i create this
> class, all the required methods are generated for me by jde)
> i add a new method to the interface (bad practice maybe - but what if
> i'm just making loads of skeleton classes at the beginning of 
> a project?
> )
> - can i automatically add this new method to my class?
> 
> cheers
> 
> matthew
> 



updating interfaces

2002-08-29 Thread matthew yee-king

Hello

I would like to know if it is possible to update the set of method
skeletons that are generated when implementing an interface.

i.e. 

I write an interface. 
I write a class that implements that interface (when i create this
class, all the required methods are generated for me by jde)
i add a new method to the interface (bad practice maybe - but what if
i'm just making loads of skeleton classes at the beginning of a project?
)
- can i automatically add this new method to my class?

cheers

matthew



JDEbug hang on "Exit Debugger"

2002-08-29 Thread Jean-Francois LECOMTE

Hi there,

I'm using 
 linux (2.4.19) RedHat 7.1
 XEmacs 21.1 (patch 14)
 jde 2.2.8

 i ve downgraded to jdk 1.3.1 from blackdown to be sure the -classic option
 is still valid...

 i always have the same trouble, i can't exit debugger JDEbug. 
 i have to send SIGKILL to process ;-(


 




BackTrace
---
Signaling: (void-variable old-assoc)
  #((1 . [object jde-dbs-proc "process1" 1 
"recttree/CutImgApplication" 39928 # 
# # # nil nil nil [object jde-dbs-proc-state-info "State Info 1" "runnable" 
"suspended at breakpoint" 361 "AWT-EventQueue-0"] (... ... ... ... ... ... ... ... ... 
... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) 0 
unbound unbound nil (...) [object jde-dbs-run-process "run 1" #1 7 "run" ... nil 
"Running recttree/CutImgApplication."] # nil]))
  mapc(# ((1 . [object jde-dbs-proc "process1" 1 
"recttree/CutImgApplication" 39928 # 
# # # nil nil nil ... ... 0 unbound unbound nil ... ... # nil])))
  # eieio-oref 
proc-alist slot-makeunbound :target-process jde-dbs-debugger-quit error "Debugger is 
not running."] 5 nil nil>()
  call-interactively(jde-bug-exit)

Message log
---
Loading /usr/lib/xemacs/xemacs-packages/lisp/site-start.d/aspell-init.el...
Loading /usr/lib/xemacs/xemacs-packages/lisp/site-start.d/aspell-init.el...done
Loading /usr/lib/xemacs/xemacs-packages/lisp/site-start.d/mew-init.el...
Loading /usr/lib/xemacs/xemacs-packages/lisp/site-start.d/mew-init.el...done
Loading /usr/lib/xemacs/xemacs-packages/lisp/site-start.d/psgml-init.el...
Loading /usr/lib/xemacs/xemacs-packages/lisp/site-start.d/psgml-init.el...done
Loading /usr/lib/xemacs/xemacs-packages/lisp/site-start.d/semi-init.el...
Loading mime-setup...
Loading mail-mime-setup...
Loading mail-mime-setup...done
gnus-mime-setup is not found.
Loading emh-setup...
Loading emh-setup...done
Loading mime-setup...done
Loading /usr/lib/xemacs/xemacs-packages/lisp/site-start.d/semi-init.el...done
Loading /usr/lib/xemacs/xemacs-packages/lisp/site-start.d/wl-init.el...
Loading mime-setup...
Loading mail-mime-setup...
Loading mail-mime-setup...done
gnus-mime-setup is not found.
Loading emh-setup...
Loading emh-setup...done
Loading mime-setup...done
Loading /usr/lib/xemacs/xemacs-packages/lisp/site-start.d/wl-init.el...done
Loading cus-face...
Loading cus-face...done
Loading time...
Loading time...done
Loading recent-files...
Loading recent-files...done
Loading /export/home2_1/users/lecomte/.recent-files.el...
Loading /export/home2_1/users/lecomte/.recent-files.el...done
Loading env...
Loading env...done
Loading paren...
Loading paren...done
Paren mode is blink-paren
Loading pending-del...
Loading pending-del...done
Loading font...
Loading font...done
Loading gnuserv...
Loading gnuserv...done
Loading efs-cu...
Loading efs-cu...done
Loading jde...
Loading customization dependencies...
Loading customization dependencies...done
jde-java-font-lock: building names cache...
jde-java-font-lock: building names cache...empty
Loading jde...done
Loading /export/lambda_1/users/lecomte/work/essais/recttree/prj.el...
Loading /export/lambda_1/users/lecomte/work/essais/recttree/prj.el...done
CutImgApplication.java: [###] ... done
Type `C-x #' to finish editing
Error: evaluating output from the debugger caused a Lisp error.
Debugger output: 
(jde-dbo-event-set 1 "none" nil
(list 'jde-dbo-vm-death-event)).
Lisp error: (void-variable old-assoc)
Error: evaluating output from the debugger caused a Lisp error.
Debugger output: (jde-dbo-event-set 1 "none" nil
(list 'jde-dbo-vm-disconnected-event)).
Lisp error: (void-variable old-assoc)
Loading debug...
Loading debug...done
Entering debugger...

JDEbug log
--
cd /export/lambda_1/users/lecomte/work/essais/recttree/src/recttree/
java -classpath 
/usr/lib/xemacs/xemacs-packages/etc/jde/java/lib/jde.jar:/usr/local/j2sdk1.3.1/lib/tools.jar
 jde.debugger.Main


(jde-dbo-init-debug-session)
JDE> -1 1 launch 1 -vmexec java -classic -classpath 
/home/lecomte/work/essais/recttree/src/:/home/lecomte/work/essais/recttree/classes  
recttree/CutImgApplication  



(jde-dbo-message 1 "VM options: '-classic '")


(jde-dbo-message
1 "Launched VM Java Debug Interface (Reference Implementation) version 1.3 
Java Debug Wire Protocol (Reference Implementation) version 1.0
JVM Debug Interface version 1.0
JVM version 1.3.1 (Classic VM, native threads, nojit)")


(jde-dbo-message 1 "initSIOConnect: starting standard I/O handshake.")


(jde-dbo-event-set
1 "all"
(list "Thread" 1 "main" "waiting" "suspended by debugger"
(list)
(list)
nil)
(list 'jde-dbo-vm-start-event))


(jde-dbo-message 1 "initSIOConnect: starting SIO connect thread.")


(jde-dbo-command-result 1 39979)


(jde-dbo-message
1 "Debugger waiting for Emacs to connect to app SIO port 39979.")

JDE> 1 2 run


(jde-dbo-command-result 2)


(jde-dbo-message 1 "Debugger connected to standard I/O socket.")


(jde-dbo-message 1 "Closed transport for application's standard error