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 254009 - [81cat] Inspector doesn't report any profile issue.
Summary: [81cat] Inspector doesn't report any profile issue.
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-30 14:31 UTC by -Silver-
Modified: 2015-08-04 01:15 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 -Silver- 2015-07-30 14:31:13 UTC
Test:
http://services.netbeans.org/synergy/client/app/#/assignment/1303/v/1

Steps:
1. Create a new j2se project
2. Use the following code for the main:

public static void main(String[] args) {
    System.out.println("Hello world!");
    java.util.Map map;
    java.sql.Date date;
    java.lang.instrument.ClassDefinition cd;
    javax.swing.JButton button;
}

3. From the project properties select the profile "Compact 3".
--
Netbeans Correctly underline "javax.swing.JButton button;" because it is not available into profile Compact 3.
4. Go to Source -> Inspect..
5. Select "JRE 8 Profiles Conformance" and click Inspect.
--
The JButton class that is not compatible with the Compact 3 profile should be listed into the inspector panel but the panel is empty.
Comment 1 Tomas Zezula 2015-08-03 06:59:24 UTC
It's related to the default selection (Current folder "src").
When the selection is changed to the Project, package or file it works fine.
Comment 2 Tomas Zezula 2015-08-03 12:47:01 UTC
Fixed jet-main 6cd0284a3cb6
Thanks for the report.
Comment 3 Quality Engineering 2015-08-04 01:15:36 UTC
Integrated into 'main-silver', will be available in build *201508040002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/6cd0284a3cb6
User: Tomas Zezula <tzezula@netbeans.org>
Log: #254009:[81cat] Inspector doesn't report any profile issue.