[ https://issues.apache.org/jira/browse/DERBY-6857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rick Hillegas updated DERBY-6857: --------------------------------- Attachment: mac-derby-jar-verbose.txt Hi Bryan, I don't have a good theory about the odd jar file contents which you are seeing. Here are some observations which may be relevant, though: 1) The big change which might affect this behavior is that those classes are now being compiled at Java 8 byte code level rather than Java 6 byte code level. 2) All of those classes are simply classes of constants. 3) That used to mean that the compiler would compile away any reference to the declaring class when those constants were referenced by another class. The constant value would simply be copied/substituted into the referencing class. 4) So those classes of constants should not be seen by the classlister program, which computes the closure of referenced classes when constructing the list of files to go into each Derby jar file. 5) Those classes do not turn up in the Derby jar files when I build with Java 8 on Mac OSX. 6) But for some reason, it seems that classlister is seeing those files when you build with Java 8 on Windows. Try running the buildjars target after adding the following line to the classlister call in the derbyjar sub-target of the top level build.xml: <jvmarg value="-Dverbose=true"/> I'm attaching the output I see when I add that line to the classlister call (see mac-derby-jar-verbose.txt). Maybe that will give us more information about how those files are being pulled into your build of derby.jar. 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 > > > 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)