db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Van Couvering (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-1046) JVMInfo is duplicated in derbyclient.jar
Date Wed, 08 Mar 2006 01:30:54 GMT
    [ http://issues.apache.org/jira/browse/DERBY-1046?page=comments#action_12369351 ] 

David Van Couvering commented on DERBY-1046:
--------------------------------------------

It looks like ProductVersionHolder has the same potential issues around shadowing as JVMInfo.
 Perhaps we should (for now) make a copy of this class as well into shared and exclude iapi/services/ProductVersionHolder
from the client jar file.

> JVMInfo is duplicated in derbyclient.jar
> ----------------------------------------
>
>          Key: DERBY-1046
>          URL: http://issues.apache.org/jira/browse/DERBY-1046
>      Project: Derby
>         Type: Bug
>   Components: Build tools
>     Versions: 10.2.0.0
>     Reporter: Knut Anders Hatlen
>     Priority: Minor
>  Attachments: derby-1046.diff
>
> The JVMInfo class is included twice in derbyclient.jar, as
> org.apache.derby.iapi.services.info.JVMInfo and
> org.apache.derby.shared.common.info.JVMInfo. The only one of them
> actually used by the client code is the one found in
> org.apache.derby.shared.common.info.
> org.apache.derby.iapi.services.info.JVMInfo is also included in
> derby.jar, so one could run into problems if the classpath contains
> derbyclient.jar and derby.jar with different versions.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message