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 - NbBundleProcessor erroneously attempts to write private constructor
Summary: NbBundleProcessor erroneously attempts to write private constructor
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Lookup (show other bugs)
Version: 8.2
Hardware: All All
: P4 normal (vote)
Assignee: markiewb
URL:
Keywords: NETFIX, PATCH_AVAILABLE
Depends on:
Blocks:
 
Reported: 2016-07-04 16:04 UTC by Shredder_121
Modified: 2016-07-19 01:42 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Patch for NbBundleProcessor and related tests (2.92 KB, application/octet-stream)
2016-07-04 16:04 UTC, Shredder_121
Details
Patch for NbBundleProcessor and related tests (2.92 KB, patch)
2016-07-04 16:06 UTC, Shredder_121
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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