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 262672

Summary: NbBundleProcessor erroneously attempts to write private constructor
Product: platform Reporter: Shredder_121
Component: LookupAssignee: markiewb
Status: RESOLVED FIXED    
Severity: normal Keywords: NETFIX, PATCH_AVAILABLE
Priority: P4    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Patch for NbBundleProcessor and related tests
Patch for NbBundleProcessor and related tests

Description Shredder_121 2016-07-04 16:04:02 UTC
Created attachment 160250 [details]
Patch for NbBundleProcessor and related tests

Couldn't figure out where to submit this to, after a hint from the nbdev mailing list found this component.

After NbBundleProcessor generates all Bundle.java entries, it intends to seal the deal by adding a private constructor:

    private void Bundle() {}

This should be:

    private Bundle() {}

Attached is a patch that hopefully resolves the issue.
Comment 1 Shredder_121 2016-07-04 16:06:45 UTC
Created attachment 160251 [details]
Patch for NbBundleProcessor and related tests

Found out there is a checkbox for specifying patches when adding a new attachment.
This flags it as patch.
Comment 2 Shredder_121 2016-07-04 16:27:42 UTC
I suppose it doesn't *really* affect functionality, changing priority to lowest.
Comment 3 markiewb 2016-07-16 10:11:20 UTC
fixed

http://hg.netbeans.org/core-main/rev/b6ea2991f3f7
Comment 4 Shredder_121 2016-07-16 14:56:16 UTC
Thank you Benno.
Comment 5 Quality Engineering 2016-07-19 01:42:41 UTC
Integrated into 'main-silver', will be available in build *201607190002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b6ea2991f3f7
User: Benno Markiewicz <markiewb@netbeans.org>
Log: #262672 - NbBundleProcessor erroneously attempts to write private constructor