Skip to content

Commit e5230dd

Browse files
authored
Demote the warning of Closure falling back to Java from warning to a debug line (#26820)
Demote the warning of Closure falling back to Java from warning to a debug line. If Java works, this is not a problem, and if Java does not work, it will make itself known. Fixes other.test_closure_warnings* on Apple Silicon Mac devices. http://clbri.com:8010/api/v2/logs/406742/raw_inline
1 parent 9486425 commit e5230dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/building.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ def get_closure_compiler_and_env(user_args):
507507
if not native_closure_compiler_works and not any(a.startswith('--platform') for a in user_args):
508508
# Run with Java Closure compiler as a fallback if the native version does not work.
509509
# This can happen, for example, on arm64 macOS machines that do not have Rosetta installed.
510-
logger.warning('falling back to java version of closure compiler')
510+
logger.debug('falling back to java version of closure compiler')
511511
user_args.append('--platform=java')
512512
check_closure_compiler(closure_cmd, user_args, env, allowed_to_fail=False)
513513

0 commit comments

Comments
 (0)