Revert "Filter out OpenJDK warning message" am: db197dc223
Original change: https://android-review.googlesource.com/c/platform/external/guice/+/2257032
Change-Id: I10fa1548f6c791e50f91fc6870f55503bc553cef
Signed-off-by: Automerger Merge Worker <[email protected]>
diff --git a/Android.bp b/Android.bp
index 8a6bb03..9d2fb68 100644
--- a/Android.bp
+++ b/Android.bp
@@ -98,10 +98,6 @@
libs: ["junit"],
}
-// Filter out warnings produced by OpenJDK to stdout, otherwise these warnings
-// make it into generated Java files (b/240131965).
-// TODO: Remove the filter is OpenJDK stops writing the warning to stdout (see
-// https://bugs.openjdk.org/browse/JDK-8270087).
genrule {
name: "guice_munged_srcs",
srcs: [":guice_srcs"],
@@ -112,8 +108,7 @@
],
cmd: "for src in $(in); do " +
" mkdir -p $$(dirname $(genDir)/$${src}) && " +
- " $(location guice_munge) -DNO_AOP $${src} | " +
- " sed '/Duplicate cpuset controllers detected/d' > $(genDir)/$${src} || exit 1; " +
+ " $(location guice_munge) -DNO_AOP $${src} > $(genDir)/$${src} || exit 1; " +
" done && " +
" $(location soong_zip) -o $(out) -C $(genDir) -D $(genDir)",
}