New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 841499 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: May 2018
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Presubmit warnings for multiple definitions of ClassRegisterImpl

Project Member Reported by ntfschr@chromium.org, May 9 2018

Issue description

I saw presubmit warnings for this class the other day:

$ git cl upload
WARNING: multiple definitions of org.chromium.chrome.browser.ClassRegisterImpl:
    [redacted].../src/chrome/android/java/src/org/chromium/chrome/browser/ClassRegisterImpl.java
    [redacted].../src/clank/java/src/org/chromium/chrome/browser/ClassRegisterImpl.java

You need to whitelist your class name. James recently did this for PSB in  issue 838493 . Note: this warning only shows up if that class is part of the CL.
 
Cc: -jamwalla@chromium.org ctzsm@chromium.org
Owner: jamwalla@chromium.org
Status: Assigned (was: Available)
Looks like jamwalla@ got to it first: https://chromium-review.googlesource.com/c/chromium/src/+/1053360

Comment 2 by ctzsm@chromium.org, May 10 2018

Cool, thanks for clean up this!
Project Member

Comment 3 by bugdroid1@chromium.org, May 10 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/524eb683cc64aa57e92d9d4c7cb638fb286d77b0

commit 524eb683cc64aa57e92d9d4c7cb638fb286d77b0
Author: James Wallace-Lee <jamwalla@chromium.org>
Date: Thu May 10 01:36:35 2018

Exclude ClassRegisterImpl from presubmit warning

There are two definitions of ClassRegisterImpl, one downstream. This CL
supresses the presubmit warning that there are multiple defintions of
the class.

Bug:  841499 
Change-Id: Ifba28a0bb605901d5c7524d5c8ffc71c667d894b
Reviewed-on: https://chromium-review.googlesource.com/1053360
Reviewed-by: Bo <boliu@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#557412}
[modify] https://crrev.com/524eb683cc64aa57e92d9d4c7cb638fb286d77b0/PRESUBMIT.py

Status: Fixed (was: Assigned)

Sign in to add a comment