[
https://issues.apache.org/jira/browse/DERBY-6857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15114636#comment-15114636
]
Bryan Pendleton commented on DERBY-6857:
----------------------------------------
FWIW, I installed JDK 8 on both Windows and Linux and built, using a 'sane'
build.
On my Windows machine, I see:
jardriftcheck:
[java] ERROR: class org.apache.derby.iapi.reference.DRDAConstants.class in
[java] derby.jar was not previously there.
[java]
[java] ERROR: class org.apache.derbyPreBuild.ReleaseProperties.class in
[java] derby.jar was not previously there.
[java]
[java] ERROR: class org.apache.derby.shared.common.sanity.SanityState.class
in
[java] derby.jar was not previously there.
[java]
[java] ERROR: class org.apache.derbyPreBuild.ReleaseProperties.class in
[java] derbyclient.jar was not previously there.
[java]
[java] ERROR: class org.apache.derby.shared.common.sanity.SanityState.class
in
[java] derbyclient.jar was not previously there.
[java]
[java] ERROR: class org.apache.derby.shared.common.sanity.SanityState.class
in
[java] derbynet.jar was not previously there.
[java]
[java] ERROR: class org.apache.derbyPreBuild.ReleaseProperties.class in
[java] derbytools.jar was not previously there.
[java]
[java] Exception in thread "main" java.lang.Exception:
[java] jar drift check failed; see DERBY-6471 for info.
[java] See error in build output or call ant jardriftcheck.
[java] If the new class is expected run ant refreshjardriftcheck.
[java] NB: Run the refresh for both sane and insane builds.
[java] Use the highest supported JVM (currently Java 8)
[java] to ensure all classes are built.
[java]
[java] at org.apache.derbyBuild.JarDriftTest.main(JarDriftTest.java:103
)
I did 'ant clobber cleanjars' after I installed JDK 8.
I didn't expect to see these jardriftcheck errors, though.
> 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
>
>
> 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)