Share

Joystick Driver for Java

Tracker: Bugs

5 JoystickNotifier button changes. - ID: 1065863
Last Update: Comment added ( nobody )

There is a problem with the JoystickNotifer Class,
It does not detect button changes. I made
buttonValues, volatile and now it seems ok.

The problem arised with java version "1.4.2_05".

Regards =).


demch ( demch ) - 2004-11-13 18:39

5

Closed

Works For Me

Nobody/Anonymous

None

None

Public


Comments ( 2 )




Date: 2007-12-17 15:17
Sender: nobody

Logged In: NO

This is a difficult issue to replicate since it depends of code
optimizations and thread scheduler.
To avoid this type o problems heavily thread accessed properties should be
declared volatile in order to avoid optimization that could lead to
unwanted behaviors.

I found this trouble with simulation that is heavily threaded. It is
difficult to replicate, but it happens.

Regards=)


Date: 2007-12-17 06:57
Sender: blackdiamondProject Admin


I don't see this issue. This problem can't be reproduced on Linux or
Windows.


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2007-12-17 06:57 blackdiamond
resolution_id None 2007-12-17 06:57 blackdiamond
close_date - 2007-12-17 06:57 blackdiamond