You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Michelle Caisse (Created) (JIRA)" <ji...@apache.org> on 2012/02/15 04:14:06 UTC

[jira] [Created] (JDO-704) API test compilation failure

API test compilation failure
----------------------------

                 Key: JDO-704
                 URL: https://issues.apache.org/jira/browse/JDO-704
             Project: JDO
          Issue Type: Bug
          Components: api
    Affects Versions: JDO 3 maintenance release 1 (3.1)
            Reporter: Michelle Caisse
             Fix For: JDO 3 maintenance release 1 (3.1)


On building API:
Compiling 33 source files to C:\jdo_newest\api\target\test-classes
------------------------------------------------------------------------
[ERROR]BUILD FAILURE
------------------------------------------------------------------------
Compilation failure
javax/jdo/stub/StubPMF.java:[554,9] method does not override a method from its superclass

The problem appears to be that this method does not return a value:
	public Collection<Class> getManagedClasses() {
		throw new UnsupportedOperationException("not implemented");
	}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (JDO-704) API test compilation failure

Posted by "Andy Jefferson (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JDO-704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Jefferson resolved JDO-704.
--------------------------------

    Resolution: Fixed

Simply remove the @Override, nothing to do with not returning anything ... it throws an exception. Besides which the compiler for Oracle JDK 1.6_30 didn't have a problem with it.
                
> API test compilation failure
> ----------------------------
>
>                 Key: JDO-704
>                 URL: https://issues.apache.org/jira/browse/JDO-704
>             Project: JDO
>          Issue Type: Bug
>          Components: api
>    Affects Versions: JDO 3 maintenance release 1 (3.1)
>            Reporter: Michelle Caisse
>             Fix For: JDO 3 maintenance release 1 (3.1)
>
>
> On building API:
> Compiling 33 source files to C:\jdo_newest\api\target\test-classes
> ------------------------------------------------------------------------
> [ERROR]BUILD FAILURE
> ------------------------------------------------------------------------
> Compilation failure
> javax/jdo/stub/StubPMF.java:[554,9] method does not override a method from its superclass
> The problem appears to be that this method does not return a value:
> 	public Collection<Class> getManagedClasses() {
> 		throw new UnsupportedOperationException("not implemented");
> 	}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira