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

OpenJDK fails to build if $A is set to a value with spaces

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b23
    • CPU:
      x86_64
    • OS:
      linux
    • Verification:
      Not verified

      Description

      A DESCRIPTION OF THE PROBLEM :
      If the environment variable "A" is set to a value containing spaces, building OpenJDK fails with the error "CompileJavaModules.gmk:594: *** empty variable name. Stop.".

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. export A="AAAA BBBB"
      2. ./configure
      3. make --warn-undefined-variables (also occurs when this is not set)

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      openjdk builds
      ACTUAL -
      CompileJavaModules.gmk:594: warning: undefined variable 'java.rmi_/sun/rmi/server/ActivationAAAA BBBBctivationSystemImpl_Stub.java'
      CompileJavaModules.gmk:594: *** empty variable name. Stop.

      CUSTOMER SUBMITTED WORKAROUND :
      Unset the "A" variable.

      FREQUENCY : always


        Attachments

          Issue Links

            Activity

              People

              Assignee:
              erikj Erik Joelsson
              Reporter:
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: