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

SwingSet2: source code for demo components not loaded

XMLWordPrintable

    • 7
    • generic
    • generic

      OPERATING SYSTEM
      ----------------
      All

      FULL JDK VERSION
      ----------------
      Reproducible with JDK 7b88. Not sure which built it started.


      STEPS TO REPRODUCE
      ------------------

      1. Launch the SwingSet2 demo:

         <JAVA_HOME>/jre/bin/java -jar <JAVA_HOME>/demo/jfc/SwingSet2/SwingSet2.jar

      2. Once the application is launched, click on any of the demo components
         (InternalFrameDemo , ButtonDemo etc).

      3. Click on the "source code" tab

      4. Observe the error message "Could not load file: <demo>.java"

      Expected result: the code should be loaded successfully.

      The source code has not been present in the jar files since b20 - it seems to be this fact that breaks the source code functionality in the SwingSet2 demo.

      Release Regression From : 7
      The above release value was the last known release where this
      bug was not reproducible. Since then there has been a regression.

            rupashka Pavel Porvatov (Inactive)
            dkorbel David Korbel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: