[
https://issues.apache.org/jira/browse/DERBY-6857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rick Hillegas updated DERBY-6857:
---------------------------------
Attachment: derby-6857-03-aa-minimumVersion.diff
Attaching derby-6857-03-aa-minimumVersion.diff. This patch replaces all of the
hardcoded 'source="1.8"' and 'target="1.8"' with a min.version constant so that
we can easily adjust the minimum jdk version in the future.
Tests ran cleanly for me on a sane Derby built and tested under Java 8.
Touches the following files:
----------------------
M java/build/org/apache/derbyBuild/build.xml
D java/build/org/apache/derbyPreBuild/PropertySetter.java
M java/tools/org/apache/derby/tools/build.xml
M java/tools/org/apache/derby/impl/tools/build.xml
M java/tools/org/apache/derby/iapi/tools/build.xml
M java/storeless/build.xml
M java/demo/toursdb/build.xml
M java/demo/build.xml
M java/engine/org/apache/derby/authentication/build.xml
M java/engine/org/apache/derby/iapi/sql/build.xml
M java/engine/org/apache/derby/iapi/jdbc/build.xml
M java/engine/org/apache/derby/iapi/services/crypto/build.xml
M java/engine/org/apache/derby/iapi/services/build.xml
M java/engine/org/apache/derby/iapi/services/io/build.xml
M java/engine/org/apache/derby/iapi/types/build.xml
M java/engine/org/apache/derby/iapi/db/build.xml
M java/engine/org/apache/derby/iapi/store/build.xml
M java/engine/org/apache/derby/iapi/util/build.xml
M java/engine/org/apache/derby/iapi/reference/build.xml
M java/engine/org/apache/derby/iapi/build.xml
M java/engine/org/apache/derby/agg/build.xml
M java/engine/org/apache/derby/osgi/build.xml
M java/engine/org/apache/derby/impl/load/build.xml
M java/engine/org/apache/derby/impl/sql/build.xml
M java/engine/org/apache/derby/impl/jdbc/build.xml
M java/engine/org/apache/derby/impl/services/build.xml
M java/engine/org/apache/derby/impl/db/build.xml
M java/engine/org/apache/derby/impl/io/build.xml
M java/engine/org/apache/derby/impl/store/build.xml
M java/engine/org/apache/derby/vti/build.xml
M java/engine/org/apache/derby/jdbc/build.xml
M java/engine/org/apache/derby/diag/build.xml
M java/engine/org/apache/derby/database/build.xml
M java/engine/org/apache/derby/mbeans/build.xml
M java/engine/org/apache/derby/security/build.xml
M java/engine/org/apache/derby/io/build.xml
M java/engine/org/apache/derby/catalog/build.xml
M java/optional/build.xml
M java/shared/build.xml
M java/drda/org/apache/derby/impl/drda/build.xml
M java/drda/org/apache/derby/drda/build.xml
M java/testing/org/apache/derbyTesting/unitTests/build.xml
M java/testing/org/apache/derbyTesting/system/nstest/build.xml
M java/testing/org/apache/derbyTesting/system/optimizer/build.xml
M java/testing/org/apache/derbyTesting/system/oe/build.xml
M java/testing/org/apache/derbyTesting/system/mailjdbc/build.xml
M java/testing/org/apache/derbyTesting/system/sttest/build.xml
M java/testing/org/apache/derbyTesting/functionTests/tests/i18n/build.xml
M
java/testing/org/apache/derbyTesting/functionTests/tests/storetests/build.xml
M java/testing/org/apache/derbyTesting/functionTests/tests/lang/build.xml
M java/testing/org/apache/derbyTesting/functionTests/tests/demo/build.xml
M
java/testing/org/apache/derbyTesting/functionTests/tests/largedata/build.xml
M java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/build.xml
M java/testing/org/apache/derbyTesting/functionTests/tests/multi/build.xml
M java/testing/org/apache/derbyTesting/functionTests/tests/store/build.xml
M
java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/build.xml
M java/testing/org/apache/derbyTesting/functionTests/tests/perf/build.xml
M
java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/build.xml
M java/testing/org/apache/derbyTesting/functionTests/tests/tools/build.xml
M
java/testing/org/apache/derbyTesting/functionTests/tests/engine/build.xml
M
java/testing/org/apache/derbyTesting/functionTests/tests/memory/build.xml
M
java/testing/org/apache/derbyTesting/functionTests/tests/compatibility/build.xml
M
java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/build.xml
M
java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/build.xml
M
java/testing/org/apache/derbyTesting/functionTests/tests/management/build.xml
M java/testing/org/apache/derbyTesting/functionTests/tests/nist/build.xml
M
java/testing/org/apache/derbyTesting/functionTests/tests/memorydb/build.xml
M java/testing/org/apache/derbyTesting/functionTests/harness/build.xml
M java/testing/org/apache/derbyTesting/functionTests/testData/build.xml
M java/testing/org/apache/derbyTesting/functionTests/suites/build.xml
M java/testing/org/apache/derbyTesting/functionTests/util/build.xml
M java/testing/org/apache/derbyTesting/junit/build.xml
M java/testing/org/apache/derbyTesting/perf/build.xml
M java/testing/org/apache/derby/build.xml
M java/client/build.xml
M build.xml
M tools/ant/properties/defaultcompiler.properties
M tools/l10n/build.xml
> 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
>
>
> 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)