-
Enhancement
-
Resolution: Fixed
-
P4
-
7
-
generic, x86
-
generic, linux
The messages emited in files like j2se/make/common/share/Sanity.gmk have some dependence on 'echo' behavior, specifically the -e option. This -e option apparently is not very portable, some Linux systems don't have it.
In any case, how messages are emited in the makefiles probably deserves some attention, and while cleaning it up, the dependence on echo -e and all the \n uses should be cleaned up.
Also, the sanity checks are not 'smart' in that they will check over and over again, some kind of touch file or maybe a separate file to hold each message might also prevent repeated checks on things. e.g. if the file exists and is empty it was checked maybe??? Some of these sanity checks have to reach out over the network, and can be slow.
Consider using printf.
In any case, how messages are emited in the makefiles probably deserves some attention, and while cleaning it up, the dependence on echo -e and all the \n uses should be cleaned up.
Also, the sanity checks are not 'smart' in that they will check over and over again, some kind of touch file or maybe a separate file to hold each message might also prevent repeated checks on things. e.g. if the file exists and is empty it was checked maybe??? Some of these sanity checks have to reach out over the network, and can be slow.
Consider using printf.
- duplicates
-
JDK-6482201 ubuntu 6.10 does not recongnize echo -e
-
- Closed
-
- relates to
-
JDK-6501572 Use of 'echo -e' is not considered portable
-
- Closed
-