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

Cannot open applet in multiple tabs in ubuntu with separate_jvm parameter

    XMLWordPrintable

    Details

    • Subcomponent:
    • OS:
      linux_ubuntu

      Description

      FULL PRODUCT VERSION :
      java version " 1.7.0_09 "
      Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
      Java HotSpot(TM) Server VM (build 23.5-b02, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Linux ubuntu 3.2.0-23-generic-pae #36-Ubuntu SMP Tue Apr 10 22:19:09 UTC 2012 i686 i686 i386 GNU/Linux

      A DESCRIPTION OF THE PROBLEM :
      If more than one tab is open, and there is an applet running in each tab both the applets become unusable.This is seen only if the applet is launched with seperate_jvm parameter set to true.

      If we open the applet in separate windows the problem is not seen.

      When we have input fields like textbox selecting the textbox and inputting the data triggers this behavior.



      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1.launch the test_applet.html in multiple tabs.
      2.Select any of the temperature values in the temperature column in the first tab
      3. Repeat step2 for second tab.
      4.Now the applet in first tab disappears.
      5.Applet in the second tab becomes sluggish.

      Repeat all the steps with " seperate_jvm " param set to false. Applets in both tabs load fine

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Applets in both tabs should work fine
      ACTUAL -
      Applet in both the tabs become sluggish

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      This is a sample html file i created using the " Applet With Integrated Progress Indicator " from http://docs.oracle.com/javase/tutorial/deployment/applet/examplesIndex.html

      ======================XXXXXXXXXXXXXXXXXXXX===================================

      <!DOCTYPE HTML PUBLIC " -//W3C//DTD HTML 4.01 Transitional//EN "
       " http://www.w3.org/TR/html4/loose.dtd " >
      <html lang= " en " >
      <head>
      <title>Java applet test with applet and object</title>
      <link rel= " stylesheet " href= " /StyleSheets/base.css " type= " text/css " >
      <style type= " text/css " >
      .UTC { color: red }
      .ack { font-size: 110% }
      applet { display: inline; width: 81px }
      tr { vertical-align: top }
      </style>
      </head>
      <body>
      <h1>Java applet test with <code>applet</code> and <code>object</code></h1>

      <h2>Java applets with <code>applet</code></h2>


      <applet code= " integratedprogressdemo.WeatherApplet.class "
            width=600
            height=400
            archive= " applet_AppletWithIntegratedProgressIndicator.jar,
      http://docs.oracle.com/javase/tutorial/deployment/webstart/examples/dist/webstart_AppWithCustomProgressIndicator/lib/IconDemo.jar,
      http://docs.oracle.com/javase/tutorial/deployment/webstart/examples/dist/webstart_AppWithCustomProgressIndicator/lib/SplitPaneDemo.jar,
      http://docs.oracle.com/javase/tutorial/deployment/webstart/examples/dist/webstart_AppWithCustomProgressIndicator/lib/SplitPaneDemo2.jar,
      http://docs.oracle.com/javase/tutorial/deployment/webstart/examples/dist/webstart_AppWithCustomProgressIndicator/lib/TextBatchPrintingDemo.jar,
      http://docs.oracle.com/javase/tutorial/deployment/webstart/examples/dist/webstart_AppWithCustomProgressIndicator/lib/ToolBarDemo.jar,
      http://docs.oracle.com/javase/tutorial/deployment/webstart/examples/dist/webstart_AppWithCustomProgressIndicator/lib/ToolBarDemo2.jar,
      http://docs.oracle.com/javase/tutorial/deployment/webstart/examples/dist/webstart_AppWithCustomProgressIndicator/lib/SwingSet2.jar,
      http://docs.oracle.com/javase/tutorial/deployment/webstart/examples/dist/webstart_AppWithCustomProgressIndicator/lib/SomeBigJar.jar,
       " >
         <PARAM NAME= " separate_jvm " VALUE = " true " >
         
      </applet>
      <hr>

      <h2 class= " ack " >Acknowledgment</h2>

      <p>This Java applet was written by <a href= " /People/Bos/ " >Bert
      Bos</a>.</p>

      <hr>

      <div class= " contact " >
      <address>
      <a href= " mailto:mimasa@w3.org " >mimasa</a>
      </address>
      </div>
      </body>
      </html>

      ======================XXXXXXXXXXXXXXXXXXXX===================================
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      Allays set " seperate_jvm " to false if the os type is ubuntu

        Attachments

          Activity

            People

            Assignee:
            dtitov Daniil Titov (Inactive)
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: