You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <de...@db.apache.org> on 2006/02/24 09:53:37 UTC

[jira] Created: (DERBY-1046) JVMInfo is duplicated in derbyclient.jar

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


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


[jira] Commented: (DERBY-1046) JVMInfo is duplicated in derbyclient.jar

Posted by "David Van Couvering (JIRA)" <de...@db.apache.org>.
    [ 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


[jira] Updated: (DERBY-1046) JVMInfo is duplicated in derbyclient.jar

Posted by "Andrew McIntyre (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1046?page=all ]

Andrew McIntyre updated DERBY-1046:
-----------------------------------

    Attachment: derby-1046.diff

Patch for this issue attached. Just need to exclude JVMInfo from the fileset, since it included all of iapi/services/info. Might want to consider moving to use classlister to generate a dependency list, but that also may be more trouble than its worth.

> 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


[jira] Closed: (DERBY-1046) JVMInfo is duplicated in derbyclient.jar

Posted by "Knut Anders Hatlen (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1046?page=all ]
     
Knut Anders Hatlen closed DERBY-1046:
-------------------------------------

    Fix Version: 10.2.0.0
     Resolution: Fixed

Seems like this has been fixed. Closing the issue.

> 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
>      Fix For: 10.2.0.0
>  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


[jira] Commented: (DERBY-1046) JVMInfo is duplicated in derbyclient.jar

Posted by "Andrew McIntyre (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-1046?page=comments#action_12369362 ] 

Andrew McIntyre commented on DERBY-1046:
----------------------------------------

Except that, unlike JVMInfo, ProductVersionHolder and the other files in iapi.services.info haven't changed from 10.1 (yet). Seems like it would be ok to leave them for now.

> 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