This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 79018 - Complex boolean expressions query defect
Summary: Complex boolean expressions query defect
Status: RESOLVED FIXED
Alias: None
Product: contrib
Classification: Unclassified
Component: Jackpot (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: _ tball
URL:
Keywords:
: 82566 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-24 10:19 UTC by cbulcu
Modified: 2006-08-30 19:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cbulcu 2006-06-24 10:19:39 UTC
I've just tried out Jackpot with "Complex boolean expressions query". It wants
to refactor this: 

int rowIndex = (sh.getRows() > 1 ? 1 : 0);

to this:

int rowIndex = (sh.getRows() > 1);

which leads to incompatible types compile error

It may be just a query defect.
Comment 1 cbulcu 2006-06-24 10:21:18 UTC
I've forgot to mention that I use NB 5.0
Comment 2 _ tball 2006-06-26 16:44:32 UTC
Problem probably due to javac's recent changes to literal value types.
Comment 3 cbulcu 2006-06-26 21:33:44 UTC
Just for the record I'm using jdk 5 (1.5.0_07).

I'm starting to forget the details  of a good bug report. ;-) It's been some
time from my last filed bug.
Comment 4 _ tball 2006-08-30 19:26:45 UTC
I wasn't clear in my last response:  the problem was due to changes in the javac
library Jackpot bundles, not the compiler in your JDK.  A Jackpot update will be
pushed later today for the various Update Centers.
Comment 5 _ tball 2006-08-30 19:36:14 UTC
*** Issue 82566 has been marked as a duplicate of this issue. ***