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 254776 - Inspect file JRE 8 Profiles Conformance return empty result
Summary: Inspect file JRE 8 Profiles Conformance return empty result
Status: RESOLVED DUPLICATE of bug 255055
Alias: None
Product: qa
Classification: Unclassified
Component: Test Specifications (show other bugs)
Version: 8.1
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: Jiri Prox
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-27 10:22 UTC by skygo
Modified: 2015-09-14 12:11 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 skygo 2015-08-27 10:22:52 UTC
This happens during a test case where we should check that inspect of a class file according to Profile conformance.
I'm using: JDK 8_60x64 
Steps:
Create a class NewClass with the following :
public class NewClass {
    java.util.Map map;
    java.sql.Date date;
    java.lang.instrument.ClassDefinition cd;
    javax.swing.JButton button;
}

Change properties sources and profiles to compact 1


Select the file NewClass and run main menu > source > inspect ...  (check scope) use configuration JRE 8 PRofiles Conformances

Expected Result
 JButton should be flagged as not part of compact 1

Current Result 
 empty inspector

This fail with all profile. Full JRE is also empty should be feedback to be sure something happens there.
Comment 1 Jiri Prox 2015-09-03 13:58:25 UTC
The test spec is wrong, this should work only for jars & libraries on the classpath.
Comment 2 Jiri Prox 2015-09-14 12:11:06 UTC

*** This bug has been marked as a duplicate of bug 255055 ***