Bug 142542 - [misc] FindReplaceDialogTest fails on JRockit
Summary: [misc] FindReplaceDialogTest fails on JRockit
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 RC6   Edit
Assignee: Dani Megert CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-18 13:24 EDT by Sonia Dimitrov CLA
Modified: 2006-05-26 04:06 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 Sonia Dimitrov CLA 2006-05-18 13:24:26 EDT
See bug 142528, comment 1.
Comment 1 Tom Hofmann CLA 2006-05-19 04:52:34 EDT
Our tests should not be order dependent.
Comment 2 Dani Megert CLA 2006-05-22 05:26:10 EDT
When running the FindReplaceDialogTest, JRockit will use the following order of execution:

  testDisableWholeWordIfNotWord
  testDisableWholeWordIfRegEx
  testInitialButtonState

The testInitialButtonState test fail since the isWholeWordSetting is set
to true by the preceeding test.

A Sun JDK will execute the tests in the following order:

  testInitialButtonState
  testDisableWholeWordIfRegEx
  testDisableWholeWordIfNotWord
Comment 3 Dani Megert CLA 2006-05-22 15:22:17 EDT
Fixed in HEAD.
Comment 4 Dani Megert CLA 2006-05-26 04:06:21 EDT
I've verified that the code change is in I20060526-0010.

Sonia or Thomas: can one of you verify this on JRockit? Thanks.