fp.bugs<1592>Calling native methods on disposed awt components segfaults

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.1
    • Affects Version/s: 1.0
    • Component/s: client-libs
    • 1.1
    • sparc
    • solaris_2.4
    • Not verified

        ###@###.###

        A pretty straightforward AWT implementation problem:

        Calling certain native methods on AWT components that
        have been disposed cause segmentation faults. For
        example, the code:
        {
        Label err = new Label("",null,window,font);
        err.dispose();
        err.setText("This will break");
        }
        will cause the fault. Since there is currently no method
        of determining whether a component is ``valid'', it would
        be nice if this would at least just throw an exception,
        rather than killing java...

              Assignee:
              Sami Shaio (Inactive)
              Reporter:
              J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: