DescriptionFixes misleading error message when compiling dart
Issue 18218
There are 2 test cases to test this fix:
1. Expected behaviour: JDK is not installed.
- run the following:
export JAVA_HOME=/non-existing-place
python2.7 -c 'import compile_analyzer; compile_analyzer.VerifyJavacGetPath()'
unset JAVA_HOME
2. Unexpected bahaviour (python2.6):
python2.6 -c 'import compile_analyzer; compile_analyzer.VerifyJavacGetPath()'
Trailing whitespace clean up.
BUG=18218
Patch Set 1 #
|