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

Unified Diff: build/android/tests/multiple_proguards/src/dummy/DummyActivity.java

Issue 1213433007: Add -bootclasspath argument to javac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase path Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: build/android/tests/multiple_proguards/src/dummy/DummyActivity.java
diff --git a/build/android/tests/multiple_proguards/src/dummy/DummyActivity.java b/build/android/tests/multiple_proguards/src/dummy/DummyActivity.java
deleted file mode 100644
index e138acca5fa1fd69ebb4520a964626da1888624f..0000000000000000000000000000000000000000
--- a/build/android/tests/multiple_proguards/src/dummy/DummyActivity.java
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-package dummy;
-
-import android.app.Activity;
-
-/**
- * Dummy activity to build apk.
- *
- * This class is created to ensure that proguard will produce two separate warnings.
- */
-public class DummyActivity extends Activity {
- private static void doBadThings1() {
- try {
- sun.misc.Unsafe.getUnsafe();
- } catch (Exception e) {
- throw new Error(e);
- }
- }
-
- private static void doBadThings2() {
- sun.reflect.Reflection.getCallerClass(2);
- }
-}

Powered by Google App Engine
This is Rietveld 408576698