Issue 83484 - UnoRuntime.areSame() cannot compare values of type any
Summary: UnoRuntime.areSame() cannot compare values of type any
Status: ACCEPTED
Alias: None
Product: General
Classification: Code
Component: scripting (show other issues)
Version: OOo 2.3
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-09 10:03 UTC by mux2005
Modified: 2017-05-20 10:55 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Run Beanshell macro => All of the comparisons should be true, but aren't. (47.58 KB, application/vnd.sun.xml.writer)
2007-11-09 10:05 UTC, mux2005
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description mux2005 2007-11-09 10:03:48 UTC
Open the attached document and run the included Beanshell macro. It shows that
UnoRuntime.areSame() cannot compare values of type any. Neither comparing any
with X... nor comparing any with any works. This is a very serious bug.
Consequences of this are things such as listeners being registered multiple
times, objects being processed multiple times (or not at all), objects being put
in lists multiple times,... All of this can lead to strange effects and hard to
diagnose issues.
Comment 1 mux2005 2007-11-09 10:05:06 UTC
Created attachment 49548 [details]
Run Beanshell macro => All of the comparisons should be true, but aren't.
Comment 2 noel.power 2007-11-14 10:32:47 UTC
->
Comment 3 ab 2007-11-15 13:50:54 UTC
STARTED, 3.x
Comment 4 ab 2007-11-16 11:29:58 UTC
OOo 3.x, next try
Comment 5 Marcus 2017-05-20 10:55:49 UTC
Reset assigne to the default "issues@openoffice.apache.org".