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

no srcs for java.beans.beancontext.BeanContextSupport.?etBeanContext()

XMLWordPrintable

    • sparc
    • solaris_2.5



      Name: sdC67446 Date: 05/21/98


      Methods setBeanContext & getBeanContext exist in classes.zip
      java.beans.beancontext.BeanContextSupport but not in scr.zip.
      I believe this is a build problem.

      Here is the test demonstrating methods existence:
      -------------------------------------------------
      import java.beans.beancontext.*;
      import java.beans.*;

      public class Test {

          public static void main(String[] args) {
              BeanContextSupport bcs = new BeanContextSupport();
              try {
                  bcs.setBeanContext(bcs);
                  if (bcs.getBeanContext() != bcs) {
                      System.out.println("oops: unequal.");
                  }
              } catch (PropertyVetoException e) {
                  System.out.println(e);
              }
              System.out.println("BIG OOPS.");
          }
      }

      Test output:
      -------------------------------------------------
      BIG OOPS.
      -------------------------------------------------
      ======================================================================

            tchinnfusunw Terena Chinnfujii (Inactive)
            sdmitriesunw Sergei Dmitriev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: