To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83166
                 Issue #|83166
                 Summary|in the example OOG680_m5\odk\examples\DevelopersGuide\
                        |ProfUNO\Lifetime\MyUnoObject.java function signature f
                        |inialize() should be changed to finalize()
               Component|sdk
                 Version|680
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P5
            Subcomponent|samples
             Assigned to|jsc
             Reported by|skarepov





------- Additional comments from [EMAIL PROTECTED] Wed Oct 31 15:46:39 +0000 
2007 -------
The line:

   void finialize() { System.out.println( "finalizer called" ); }

should be replaced with:

    protected void finalize() throws Throwable { 
        super.finalize();
        System.out.println( "finalizer called" );
    }

The problem here is in mistyping the name finalize (as finialize).
   
Otherwise, the expected finalizer call will not be made by the Java VM, which is
the written purpose of this example.

---------

Question: has this example any relation to the fact that the processes
soffice.exe and soffice.bin, which were bootstrapped from Java code through UNO,
remain running after Java code completes execution?

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to