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 198834 - Need Specification.getDisplayName
Summary: Need Specification.getDisplayName
Alias: None
Product: java
Classification: Unclassified
Component: Platform (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Zezula
Depends on:
Reported: 2011-05-23 19:53 UTC by Jesse Glick
Modified: 2012-06-15 06:11 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

diff file (6.63 KB, patch)
2012-06-08 19:36 UTC, Tomas Zezula
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2011-05-23 19:53:54 UTC
Java Platform Manager displays "J2SE" as a category node where it should show "Java SE". This is because PlatformsCustomizer uses javaPlatform.getSpecification().getName().toUpperCase(Locale.ENGLISH). There should be a method getDisplayName for this purpose (and a matching constructor to initialize it). For compatibility, getName().toUpperCase(Locale.ENGLISH) can be used as the default implementation.
Comment 1 Tomas Zezula 2012-06-08 19:36:51 UTC
Created attachment 120578 [details]
diff file
Comment 2 Jan Lahoda 2012-06-13 12:10:06 UTC
Seems fine to me ("Profile[] profiles" could be changed to "Profile... profiles", but that is a compatible change that can be done anytime).
Comment 3 Tomas Zezula 2012-06-13 14:14:43 UTC
FIxed jet-main b86a6b8f9108
Comment 4 Quality Engineering 2012-06-15 06:11:34 UTC
Integrated into 'main-golden', will be available in build *201206150001* on (upload may still be in progress)
User: Tomas Zezula <>
Log: #198834:Need Specification.getDisplayName