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

Summary: Need Specification.getDisplayName
Product: java Reporter: Jesse Glick <jglick>
Component: PlatformAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: normal CC: tzezula
Priority: P3 Keywords: API, API_REVIEW_FAST, I18N
Version: 7.0   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: diff file

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 http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b86a6b8f9108
User: Tomas Zezula <tzezula@netbeans.org>
Log: #198834:Need Specification.getDisplayName