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

Java Control Panel Fails to Connect Update Server in Java 9

XMLWordPrintable

    • 9
    • x86
    • os_x

      FULL PRODUCT VERSION :
      Output of `java -version`:

      ```
      java version "9"
      Java(TM) SE Runtime Environment (build 9+181)
      Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)
      ```

      ADDITIONAL OS VERSION INFORMATION :
      Output of `uname -a`:

      ```
      Darwin Bryces-HD-1-TB.local 15.6.0 Darwin Kernel Version 15.6.0: Sun Jun 4 21:43:07 PDT 2017; root:xnu-3248.70.3~1/RELEASE_X86_64 x86_64
      ```

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      System type: 24-inch Mid-2007 Aluminum iMac (`iMac7,1`) with 2.4-GHz Intel Core 2 Duo T7700, 4 GB 667-MHz DDR2 SDRAM, an ATI Radeon HD 2600 Pro graphics card w/ 256 MB VRAM, an uncertain amount of unmounted internal storage (used by other users of the device; maybe 500 GB,) and 1 TB of attached storage (current boot drive)

      A DESCRIPTION OF THE PROBLEM :
      I cannot check for updates to Java 9 via the Java Control Panel. (Note that this will not become a real issue until an update to Java 9 is actually released, but I tend to check most software on my system to see if it needs updating every day.)

      REGRESSION. Last worked in version 8u144

      ADDITIONAL REGRESSION INFORMATION:
      Output of `java -version`:

      ```
      java version "9"
      Java(TM) SE Runtime Environment (build 9+181)
      Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)
      ```

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1.) Open 'System Preferences' to its 'Java' preference pane by either first opening the application and then accessing the preference pane or right-clicking/two-finger clicking on the application's icon if it resides in your Dock and selecting 'Java' from the resulting contextual menu. (Note that one may, sometimes repeatedly, have to trigger this context menu, close it, and then reopen it to get the list of preference panes available for opening System Preferences to when it is not open, depending on system configuration and/or status, though I have not reported this unrelated issue to Apple.)
      2.) Wait for the Java preference pane to launch the Java Control Panel.
      3.) Navigate to the Java Control Panel's 'Updates' tab.
      4.) If you have automatic updates notifications enabled as recommended like I do, the error should manifest itself right away. If not, click the 'Check for Updates' button within the Java Control Panel's 'Updates' tab in order to make it do so.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      When performing the above steps, I expect to see either a notification that no updates are available (most runs) or a prompt to download and install any available Java 9 update (when one is available that I have not yet installed.)
      ACTUAL -
      Java Control Panel fails to connect to the Java 9 update server.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Java Control Panel does not open the error console upon failing to check for updates as previously described. I do not know where this application stores its logs. Therefore, I have no logs to provide at this time.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      I do not currently have access to the source code of the Java Control Panel at this time, though I imagine that the relevant files are part of a clone of OpenJDK's source repository. If I did and understood how it worked, I would attempt to provide a minimal test case; alas, I do not.
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      I have not found any temporary means of working around this bug.

            ssadetsky Semyon Sadetsky (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: