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

ALT_OUTPUTDIR should not cause build failures due to trailing /

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 7
    • infrastructure
    • None
    • generic
    • generic

      My ALT_OUTPUTDIR had ending / and full forest build failed.

      Investigation shows that stripproperties.jar build in the corba ws contain malformed class names.
      Not just package and classname but full paths from the root.

      jar is built using "jar -C classdir" but classdir had 2 slash chars in a row (due to extra trailing slash).
      Removing trailing / fixes the isssue.

      May be this is the problem with JRE 1.6 fcs only (it was used as default bootstrap for my solaris build) but it is
      better to make build less fragile and normalize paths by trimming extra / symbols when ALT_ values are processed.

            erikj Erik Joelsson
            igor Igor Nekrestyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: