Closed
Bug 1610678
Opened 6 years ago
Closed 6 years ago
Prevent code from containing using directives for the mozilla::java namespace
Categories
(Developer Infrastructure :: Source Code Analysis, enhancement)
Developer Infrastructure
Source Code Analysis
Tracking
(firefox74 fixed)
RESOLVED
FIXED
mozilla74
Tracking | Status | |
---|---|---|
firefox74 | --- | fixed |
People
(Reporter: bugzilla, Assigned: bugzilla)
References
Details
(Whiteboard: [geckoview:m74])
Attachments
(1 file, 2 obsolete files)
It's hard to keep java-based analogs of Gecko types from having naming collisions when code imports the mozilla::java
namespace. In bug 1608577 I eradicated such directives from Gecko.
It would be nice to automagically prevent such directives from being landed in the future. While I realize it would be nice to prevent using namespace
directives elsewhere in our code, that seems like a bigger project to me.
Assignee | ||
Comment 1•6 years ago
|
||
Pushed by aklotz@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/17c2aa0fc93c
Add check to clang plugin to raise error when `using namespace mozilla::java` is present in C++ source; r=andi
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Pushed by btara@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c6eaf183de8a
Follow-up: Fix build error in MediaDrmCDMProxy.cpp; r=bustage CLOSED TREE
https://hg.mozilla.org/integration/autoland/rev/7b43c9ba246a
Follow-up 2 - build fix for AndroidDecoderModule.cpp; r=bustage CLOSED TREE
Assignee | ||
Updated•6 years ago
|
Whiteboard: [geckoview:m74]
Comment 6•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/17c2aa0fc93c
https://hg.mozilla.org/mozilla-central/rev/c6eaf183de8a
https://hg.mozilla.org/mozilla-central/rev/7b43c9ba246a
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox74:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
Updated•6 years ago
|
Attachment #9122434 -
Attachment is obsolete: true
Updated•6 years ago
|
Attachment #9122436 -
Attachment is obsolete: true
Updated•3 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•