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 191877 - Java source code level is not correctly displayed in Junit warning popup
Summary: Java source code level is not correctly displayed in Junit warning popup
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-11 23:01 UTC by quanghung.b
Modified: 2011-06-22 14:04 UTC (History)
1 user (show)

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 quanghung.b 2010-11-11 23:01:39 UTC
[ BUILD # : 201011100000 ]
[ JDK VERSION : 1.6.14 ]

1. Create a Java application project
2. Set the source code level to 1.4 as indicated in the TS 68 JUnit  --> In
category Sources change "Source Level" listbox value to "1.4" and press "OK"
button 
3. Add JUnit 4.8.2 library to the Test Libraries of the project.
4. Create a JUnit test for the Main.java --> there is a warning popup saying
that " .... The project source is currently set  to {0}"

It should be displayed 1.4 instead of {0} isn't it ?
Comment 1 Jesse Glick 2011-06-21 21:20:08 UTC
A common mistake: using an unquoted apostrophe in a message format.
Comment 2 Jesse Glick 2011-06-21 21:24:41 UTC
core-main #2d947a8a4698
Comment 3 Quality Engineering 2011-06-22 14:04:29 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/2d947a8a4698
User: Jesse Glick <jglick@netbeans.org>
Log: #191877: Java source code level is not correctly displayed in Junit warning popup