Closed
Bug 1608577
Opened 4 years ago
Closed 4 years ago
Get rid of "using namespace mozilla::java" in Gecko
Categories
(Core :: General, task, P1)
Core
General
Tracking
()
RESOLVED
FIXED
mozilla74
Tracking | Status | |
---|---|---|
firefox74 | --- | fixed |
People
(Reporter: bugzilla, Assigned: bugzilla)
Details
(Whiteboard: [geckoview:m74])
Attachments
(3 files)
https://searchfox.org/mozilla-central/search?q=using+namespace.*java%3B&case=false®exp=true&path=
This is bad, as it makes it so that GV can't declare types in Java-land with identical names to their C++ analogs because, even though we generate the JNI stuff in a separate namespace, people are importing all that stuff into their source.
This is particularly bad because we currently dump all generated JNI wrappers into a single giant header file.
Also, there's even a using namespace
inside a header file, which is double-bad.
Assignee | ||
Updated•4 years ago
|
Assignee: nobody → aklotz
Status: NEW → ASSIGNED
Priority: -- → P1
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
Depends on D59796
Assignee | ||
Comment 3•4 years ago
|
||
Depends on D59797
Assignee | ||
Updated•4 years ago
|
Whiteboard: [geckoview]
Pushed by aklotz@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/00ea3cdf6e19 Part 1 - Remove |using namespace mozilla::java| from dom/media; r=kinetik https://hg.mozilla.org/integration/autoland/rev/158cbeb17bba Part 2 - Remove |using namespace mozilla::java| from webrtc; r=bwc https://hg.mozilla.org/integration/autoland/rev/9f5fb892f32c Part 3 - Remove |using namespace mozilla::java| from widget/android; r=geckoview-reviewers,esawin
Comment 5•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/00ea3cdf6e19
https://hg.mozilla.org/mozilla-central/rev/158cbeb17bba
https://hg.mozilla.org/mozilla-central/rev/9f5fb892f32c
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox74:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
Assignee | ||
Updated•4 years ago
|
Whiteboard: [geckoview] → [geckoview:m74]
You need to log in
before you can comment on or make changes to this bug.
Description
•