[
https://issues.apache.org/jira/browse/DERBY-1046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116411#comment-13116411
]
Knut Anders Hatlen commented on DERBY-1046:
-------------------------------------------
Perhaps we could just remove that line from the sysinfo output to avoid having
to maintain duplicated code? Before, it used to tell exactly what Derby
recognized the current platform as and which JDBC level it was running at. Now,
it just tells what sysinfo thinks the engine recognized the platform as, and
that information could just as easily and reliably be taken directly from the
Java Information section of the sysinfo output.
There's a small typo in the patch: The Java SE 7 string lacks a hyphen (for
consistency with the other versions).
> JVMInfo is duplicated in derbyclient.jar
> ----------------------------------------
>
> Key: DERBY-1046
> URL: https://issues.apache.org/jira/browse/DERBY-1046
> Project: Derby
> Issue Type: Bug
> Components: Build tools
> Affects Versions: 10.2.1.6
> Reporter: Knut Anders Hatlen
> Assignee: Kathey Marsden
> Priority: Minor
> Fix For: 10.2.1.6
>
> Attachments: derby-1046.diff, derby-1046_diff.txt
>
>
> 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, 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