Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Issue 1648713002: Replace assert by explicit throw new AssertionError (Closed)

Created:
4 years, 10 months ago by simonb (inactive)
Modified:
4 years, 10 months ago
Reviewers:
rmcilroy
CC:
chromium-reviews, vmpstr+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace assert by explicit throw new AssertionError Calling assert if shared RELRO config is illegal will not catch this error, because assertions are generally inactive. Replace assert with a log and explict throw AssertionError. Shared RELRO config is a compile-time constant. It can only be made illegal through serious coding error. Committed: https://crrev.com/61defc5525dea54c1d74bd54c40f63974e25118b Cr-Commit-Position: refs/heads/master@{#372648}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M base/android/java/src/org/chromium/base/library_loader/LegacyLinker.java View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
simonb (inactive)
4 years, 10 months ago (2016-01-28 18:29:49 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1648713002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1648713002/1
4 years, 10 months ago (2016-01-28 18:30:20 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-01-28 20:00:33 UTC) #6
rmcilroy
lgtm
4 years, 10 months ago (2016-01-29 08:29:43 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1648713002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1648713002/1
4 years, 10 months ago (2016-02-01 11:25:37 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 10 months ago (2016-02-01 12:44:45 UTC) #10
commit-bot: I haz the power
4 years, 10 months ago (2016-02-01 12:46:16 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/61defc5525dea54c1d74bd54c40f63974e25118b
Cr-Commit-Position: refs/heads/master@{#372648}

Powered by Google App Engine
This is Rietveld 408576698