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

JDK extraction on Sol/Linux continues by entering any word beginning with y when prompted for yes/no

XMLWordPrintable

    • b03
    • sparc
    • solaris
    • Verified


        JDK Info:
        ---------
        java version "1.5.0_02"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b07)
        Java HotSpot(TM) Client VM (build 1.5.0_02-b07, mixed mode, sharing)


        Platform:
        ---------
        solaris and Linux


        Steps to Reproduce
        ------------------
        1) Extract JDK bundle on solaris or Linux
        Solaris:
        $ ./jdk-1_5_0_02-fcs-bin-b07-solaris-sparc-18_feb_2005.sh

        Linux:
        # ./jdk-1_5_0_02-fcs-bin-b07-linux-i586-18_feb_2005.bin

        2) When asked:
        Do you agree to the above license terms? [yes or no]

        Enter any word beginning with y [ e.g. yabcde ]
        The extraction continues!


        Expected Behavior:
        ------------------
        Since the installation prompts
        "Do you agree to the above license terms? [yes or no]",
        entering only "yes" or "YES"/"Y"/"y" (if a desired behavior) should continue the installation.

        Actual Behavior:
        ----------------
        The extraction continues by entering any word beginning with y [ e.g. yabcde ] when prompted for [ yes/no ]

        ###@###.### 2005-2-23 07:31:14 GMT

        Is this a bug? I believe that initial letter input from a small list is the standard command line UI usage that most users will be familiar with. As a user I would find it unexpected and annoying to have to type 'Yes', when 'y' has exactly the same identity and meaning in that context.

        Also note that the sugested fix given would allow the user to type 'y' OR 'Y' anyway. Is this not a needless complication?



        ###@###.### 2005-03-01 16:55:26 GMT

              duke J. Duke
              rkumarsunw Ram Kumar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: