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

* Re: JGnat / j2sdk1.4.0 Problem
  2002-02-25  9:57 JGnat / j2sdk1.4.0 Problem Joachim Schröer
@ 2002-02-25 13:03 ` Marc A. Criley
  0 siblings, 0 replies; 2+ messages in thread
From: Marc A. Criley @ 2002-02-25 13:03 UTC (permalink / raw)


Joachim Schr�er wrote:
> 
> 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:
> 

<snip>

I wouldn't seriously expect JGNAT 1.1p to work reliabily anywhere beyond
JDK 1.2.  It started to break down in 1.3, so I would have few
expectations of success for 1.4.

It would certainly be A Good Thing to have another public release of
JGNAT that worked with current JDKs, but I've heard nothing from anyone
"in the know" as to when, or if, that will occur.

Marc A. Criley
Consultant
Quadrus Corporation
www.quadruscorp.com



^ 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