comp.lang.ada
 help / color / mirror / Atom feed
* JGnat / j2sdk1.4.0 Problem
@ 2002-02-25  9:57 Joachim Schröer
  2002-02-25 13:03 ` Marc A. Criley
  0 siblings, 1 reply; 2+ messages in thread
From: Joachim Schröer @ 2002-02-25  9:57 UTC (permalink / raw)


Hello,

I installed JGnat 1.1p and j2sdk1.4.0.
The Hello example works but executing a simple testprogram performing a 
matrix-multiplication gives the following java exception:

----------------------------------------------------------------------------
C:\Ada95\bin\JGnat>
C:\Ada95\bin\JGnat>java -showversion testmat
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)

Exception in thread "main" java.lang.IllegalMonitorStateException
         at 
jgnat.adalib.system$task_primitives$operations.write_lock__2(s-taprop.adb:229)
         at 
jgnat.adalib.system$task_primitives$operations.lock_all_tasks_list(s-taprop.adb:771)
         at 
jgnat.adalib.system$task_primitives$operations.enter_task(s-taprop.adb:373)
         at 
jgnat.adalib.system$task_primitives$operations.initialize(s-taprop.adb:834)
         at jgnat.adalib.system$tasking._elabb(s-taskin.adb:186)
         at ada_testmat.adainit(b~testmat.adb:107)
         at testmat.main(testmat.adb)

C:\Ada95\bin\JGnat>
----------------------------------------------------------------------------

The program does not use any explicit Ada-tasks.

Thanks for any help.

     J. Schr�er




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-02-25 13:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-25  9:57 JGnat / j2sdk1.4.0 Problem Joachim Schröer
2002-02-25 13:03 ` Marc A. Criley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox