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.
As discussed on nbdev recently there are still people using org.netbeans.core as real API and they do not realize that this is something that they shall not rely on. In 5.0 we needed to bump the major version of core due to its split to core/startup and core/bootstrap and that is why it seems like good idea to also restrict uncontrolled access to its packages. Let's make the package friend, with list of current modules that need access to them from netbeans.org. That way we prevent accidental usages of the core public package and warn people to not do something they shall not do. Of course if they really wish, there is always a chance to use impl dependencies...
Created attachment 26361 [details] Changes in project.xml and golden files
Gee, I wish I had as many friends as core... maybe we should do something about all those bogus usages. BTW re. project.xml diff - the diff exhibits an XML whitespace bug which I thought I fixed a couple of weeks ago in dev builds. Are you just using an older IDE build?
Yes, cleaning the friends is desirable. But we can leave it for next version as that will not be incompatible change, I think. Yesterday morning I was using build from Oct10, at the evening I was using the newest build. It is likely the project.xml was generated by the older one.
I'll apply tomorrow.
"#67593: core never had public packages, so let's make them friend ones" Checking in core/nbproject/project.xml; /cvs/core/nbproject/project.xml,v <-- project.xml new revision: 1.12; previous revision: 1.11 done Checking in ide/golden/friend-packages.txt; /cvs/ide/golden/friend-packages.txt,v <-- friend-packages.txt new revision: 1.3; previous revision: 1.2 done Checking in ide/golden/public-packages.txt; /cvs/ide/golden/public-packages.txt,v <-- public-packages.txt new revision: 1.49; previous revision: 1.48
Marking this issue as VERIFIED since the issue reporter == issue owner.