To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=63812
                  Issue #:|63812
                  Summary:|code generated by javamaker rejected by gij
                Component:|udk
                  Version:|680m161
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|sb
              Reported by:|sb





------- Additional comments from [EMAIL PROTECTED] Thu Mar 30 04:26:34 -0800 
2006 -------
Found in issue 63390:

  > gij --verbose --classpath .../ridl.jar com.sun.star.bridge.UnoUrlResolver
  [...]
  java.lang.VerifyError: verification failed at PC 16 in
com.sun.star.bridge.UnoUrlResolver:create((Lcom.sun.star.uno.XComponentContext;)Lcom.sun.star.bridge.XUnoUrlResolver;):
incompatible return type

The problem is that the generated method uses areturn to return an object of
type java.lang.Object as an object of type com.sun.star.bridge.XUnoUrlResolver,
without doing a prior checkcast.  While it is not obvious to me from looking at
<http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#88597>
that this is illegal, it is probably good style to add the checkcast, anyway.

---------------------------------------------------------------------
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