[
https://issues.apache.org/jira/browse/DERBY-6857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rick Hillegas updated DERBY-6857:
---------------------------------
Attachment: mac-sane-TypeId.class
Hi Bryan,
Thanks for attaching the classlister output from your windows build. If I am
reading it correctly, it appears that org.apache.derby.iapi.types.TypeId
retains a reference to org.apache.derby.iapi.reference.DRDAConstants, causing
it to be added to the list of files which classlister identifies for inclusion
in derby.jar. But I don't see this inclusion on my Mac OSX output. I found the
following information on the web, which suggests that the Java 8 compiler
started adding references to files of pure constants (like DRDAConstants) to
the constant pool section of referencing files like TypeId. Previous versions
of the Java compiler did not do this:
http://blog.bjhargrave.com/2014/04/java-8-bnd-and-references-to-compile.html
That may explain why you are seeing DRDAConstants. But it doesn't explain why I
am not seeing it. I would expect the same behavior from the same rev level of
javac regardless of the platform.
I am attaching the TypeId.class generated by my sane build of Derby under Java
8 on Mac OSX. Could you attach the TypeId.class generated by your sane build of
Derby under Java 8 on Windows? It would be interesting to compare the two files
to see if there really is a difference in their constant pools or in other
structures.
Thanks,
-Rick
> Deprecate support for building Derby under JDKs 6 and 7
> -------------------------------------------------------
>
> Key: DERBY-6857
> URL: https://issues.apache.org/jira/browse/DERBY-6857
> Project: Derby
> Issue Type: Bug
> Components: Build tools
> Affects Versions: 10.13.0.0
> Reporter: Rick Hillegas
> Attachments: derby-6857-01-aa-remove6and7.diff,
> derby-6857-02-aa-cleanupOldJdks.diff, derby-6857-03-aa-minimumVersion.diff,
> jardriftcheck.diff, mac-derby-jar-verbose.txt, mac-sane-TypeId.class,
> windows-derby-jar-verbose.txt
>
>
> The community voted to stop supporting Java 6 and 7 as of release 10.13. See
> the 2015-09-12 entry here: http://wiki.apache.org/db-derby/VoteResults. We no
> longer need to support building Derby with those JDKs. This issue tracks
> changes needed to remove that support and simplify the build.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)