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

deployJava script incorrectly returns true on the 7 GA version check if 7u installed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 7u45
    • deploy
    • None


      Using http://java.com/js/deployJava.js script to check for JRE 7 fcs version.

      It incorrectly returns true if the system has any JRE 7u installed, but not JRE 7 fcs

      On a system only has 7u45 installed, the following check should return false but it returns true

      deployJava.versionCheck('1.7')
      deployJava.versionCheck('1.7.0')

      *** Steps to reproduce:
      0) Make sure the system does not have JRE 1.7 installed
      1) Install any 7ux (eg. jre 7u45)
      2) Use any browser to load the test applet that check whether jre 1.7.0 or jre 1.7 installed
      http://sqeweb.us.oracle.com/deployment2/hung/DT/bugs/deployJava1.7.0VersionCheck.html
      http://sqeweb.us.oracle.com/deployment2/hung/DT/bugs/deployJava1.7VersionCheck.html

      If the result is true, the issue is reproducible




            vrao Vivek Rao (Inactive)
            hungnguy Hung Nguyen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: