diff options
author | Dan Bornstein <> | 2009-03-31 14:28:36 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-31 14:28:36 -0700 |
commit | de1ab3724b284ab053322db7ff723f54d7826c96 (patch) | |
tree | 62e8a9ae8aecc6a3051bc55dced8638dd60f6322 /dx | |
parent | 8c9c41d1276bf1461f3e1af0aff498e7a2662f06 (diff) | |
download | dalvik-de1ab3724b284ab053322db7ff723f54d7826c96.tar.gz |
AI 143732: Tweaks, in response to public critique.
Automated import of CL 143732
Diffstat (limited to 'dx')
-rw-r--r-- | dx/src/com/android/dx/command/dexer/Main.java | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/dx/src/com/android/dx/command/dexer/Main.java b/dx/src/com/android/dx/command/dexer/Main.java index 58339a171..43fa1832b 100644 --- a/dx/src/com/android/dx/command/dexer/Main.java +++ b/dx/src/com/android/dx/command/dexer/Main.java @@ -346,14 +346,14 @@ public class Main { DxConsole.err.println("\ntrouble processing \"" + name + "\":"); DxConsole.err.println("\n" + - "Attempt to include a core class in something other than a " + - "core\n" + - "library. It is likely that you have attempted to include " + - "in an\n" + - "application the core library (or a part thereof) from a " + - "desktop\n" + - "virtual machine. This will most assuredly not work. At a " + - "minimum, it\n" + + "Attempt to include a core class (java.* or javax.*) in " + + "something other\n" + + "than a core library. It is likely that you have " + + "attempted to include\n" + + "in an application the core library (or a part thereof) " + + "from a desktop\n" + + "virtual machine. This will most assuredly not work. " + + "At a minimum, it\n" + "jeopardizes the compatibility of your app with future " + "versions of the\n" + "platform. It is also often of questionable legality.\n" + @@ -379,17 +379,17 @@ public class Main { "\n" + "If you are legitimately using some code that happens to " + "be in a core\n" + - "package, then the easiest alternative you have is to " + - "repackage that\n" + - "code. That is, move the classes in question into your " + - "own package\n" + + "package, then the easiest safe alternative you have is " + + "to repackage\n" + + "that code. That is, move the classes in question into " + + "your own package\n" + "namespace. This means that they will never be in " + "conflict with core\n" + "system classes. If you find that you cannot do this, " + "then that is an\n" + - "indication that the path you are on will ultimately " + - "lead to pain,\n" + - "suffering, grief, and lamentation."); + "indication that the path you are on will ultimately lead " + + "to pain,\n" + + "suffering, grief, and lamentation.\n"); errors++; throw new StopProcessing(); } |