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

SplashDemo.java is in the "misc" package but all documenation on running or creating the jar forgets that.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8, 9
    • Fix Version/s: None
    • Component/s: docs
    • Subcomponent:
    • CPU:
      x86
    • OS:
      other

      Description

      A DESCRIPTION OF THE PROBLEM :
      The commands for running, creating the jar, and the manifest do not take into account the "misc" package.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The docs to properly list the "misc" package when needed:

      java -splash:images/splash.gif misc.SplashDemo
      java -splash:images/nnn.gif misc.SplashDemo

      Main-Class: misc.SplashDemo

      jar cmf splashmanifest.mf splashDemo.jar misc/SplashDemo*.class images/splash.gif
      ACTUAL -
      They are missing the misc package.

      java -splash:images/splash.gif SplashDemo
      java -splash:images/nnn.gif SplashDemo

      Main-Class: SplashDemo

      jar cmf splashmanifest.mf splashDemo.jar SplashDemo*.class images/splash.gif

      URL OF FAULTY DOCUMENTATION :
      https://docs.oracle.com/javase/tutorial/uiswing/misc/splashscreen.html

        Attachments

          Activity

            People

            Assignee:
            bhoran Bernard Horan
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: