Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6535379

Restructure echo messages in makefiles, avoid echo -e

XMLWordPrintable

    • 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.

            ihse Magnus Ihse Bursie
            ohair Kelly Ohair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: