Bug 571792 - UI not responding in real time since Observable and Observer are deprecated in Java 9 and higher
Summary: UI not responding in real time since Observable and Observer are deprecated i...
Status: ASSIGNED
Alias: None
Product: STEM
Classification: Technology
Component: UI (show other bugs)
Version: 4.0.x   Edit
Hardware: PC Mac OS X
: P2 normal (vote)
Target Milestone: M1   Edit
Assignee: Anup Pillai CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-08 14:46 EST by Anup Pillai CLA
Modified: 2021-03-25 14:10 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anup Pillai CLA 2021-03-08 14:46:56 EST
Observable and Observer are used in two classes namely GraphMapCanvas and GraphMapControl. Both Observable and Observer are deprecated since Java 9. As a result, the map component of the UI is not responding in realtime. It updates only once the simulation is stopped.
Comment 1 James Kaufman CLA 2021-03-08 15:46:46 EST
Thank you Anup. Verified with update to Java 11. Assigning to Anup.
Comment 2 James Kaufman CLA 2021-03-25 14:10:14 EDT
Observable and Observer classes have been replaced but we still investigating a race condition affecting the map update.