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

Issue 1657413002: Fix type of JavaException.cause. (Closed)

Created:
4 years, 10 months ago by Paul Berry
Modified:
4 years, 10 months ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix type of JavaException.cause. Not all thrown objects in Dart derive from `Exception`; in particular, errors such as NoSuchMethodError derive from `Error`, which is unrelated to `Exception`. So in order for `JavaException` to work with both, its `cause` field must have type `Object`. R=brianwilkerson@google.com Committed: https://github.com/dart-lang/sdk/commit/ff180530ad7a0f68bbb56a7a1b132584f094ced8

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M pkg/analyzer/lib/src/generated/java_core.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (2 generated)
Paul Berry
4 years, 10 months ago (2016-02-02 20:45:31 UTC) #2
Brian Wilkerson
LGTM
4 years, 10 months ago (2016-02-02 21:31:06 UTC) #3
Paul Berry
4 years, 10 months ago (2016-02-02 22:02:48 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
ff180530ad7a0f68bbb56a7a1b132584f094ced8 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698