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 218059 - Failing tests in java.source on JDK7
Summary: Failing tests in java.source on JDK7
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2012-09-10 10:04 UTC by Jiri Skrivanek
Modified: 2012-09-20 07:07 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 Jiri Skrivanek 2012-09-10 10:04:50 UTC
Please, fix failing tests in java.source. It fails only with JDK7. To reproduce:

ant -k -f java.source test-single test-generate-html -Dtest.includes=**/ElementHandleTest*

ant -k -f java.source test-single test-generate-html -Dtest.includes=**/BinaryAnalyserTest*


Product Version: NetBeans IDE Dev (Build 20120905-106c6d8c0fe2)
Java: 1.7.0_07; Java HotSpot(TM) 64-Bit Server VM 23.3-b01
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Comment 1 Quality Engineering 2012-09-11 02:19:10 UTC
Integrated into 'main-golden', will be available in build *201209110001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/0cca8c00c1bb
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #218059: j.l.String does not have "count" field anymore in recent JDK7 releases, use value instead.
Comment 2 Jiri Skrivanek 2012-09-17 08:30:00 UTC
BinaryAnalyserTest.testTransactionalFlush started to fail with recent code base:

ant -k -f java.source test-single test-generate-html -Dtest.includes=**/BinaryAnalyserTest*
Comment 3 Jan Lahoda 2012-09-17 09:31:54 UTC
Caused by
http://hg.netbeans.org/main-silver/rev/640245705d09
I guess. Tomas, could you please take a look? Thanks.
Comment 4 Tomas Zezula 2012-09-19 11:10:41 UTC
Fixed jet-main 0bc5a0eea47d
Comment 5 Quality Engineering 2012-09-20 02:27:32 UTC
Integrated into 'main-golden', will be available in build *201209200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/0bc5a0eea47d
User: Tomas Zezula <tzezula@netbeans.org>
Log: #218059:Failing tests in java.source on JDK7