josecoll
0263650a5f
Revert "Merge pull request #5145 from corda/jdk11-migration-gradle5-upgrade" ( #5146 )
...
This reverts commit f46377556c
, reversing
changes made to ba675e73b9
.
2019-05-20 16:16:49 +01:00
josecoll
f46377556c
Merge pull request #5145 from corda/jdk11-migration-gradle5-upgrade
...
Jdk11 migration gradle5 upgrade
2019-05-20 15:11:37 +01:00
josecoll
a7966e6176
Fix attempt to access boot classpath from runtimeMXBean (in JDK9+)
2019-05-20 15:09:36 +01:00
josecoll
2595dacd7e
Fix quasar path for run-time agent instrumentation.
2019-05-20 15:09:36 +01:00
josecoll
84ca6405c2
Rebase from OS master to incorporate upgrade to Gradle 5.2.1
2019-05-20 15:09:36 +01:00
josecoll
53ab00d91c
Revert -Djava.security.debug=provider
2019-05-20 15:09:36 +01:00
josecoll
d2f2f4aaca
Display JAVA_HOME
2019-05-20 15:09:36 +01:00
josecoll
077a2f5af6
Remove usage of deprecated URLClassloader (re-coded without scanning and pattern matching on run-time classpath URLs)
2019-05-20 15:09:36 +01:00
josecoll
e1d1563901
Remove invalid compiler flag (--illegal-access=warn is a run-time flag only).
2019-05-20 15:09:36 +01:00
josecoll
b03b5133f6
Added configurable flag to continue on test failure so TC can perform complete test execution sweep.
2019-05-20 15:09:34 +01:00
josecoll
1a70646d02
Temporary remove Kotlin JUnit test that requires module directives to access private packages (sun.security.util, sun.security.x509)
...
Awaiting Kotlion compiler support: https://youtrack.jetbrains.com/issue/KT-20740
2019-05-20 15:08:27 +01:00
josecoll
9183e401c3
Upgraded Mockito and targetCompatibility to 11 (REVISIT).
2019-05-20 15:08:27 +01:00
josecoll
a0a4318cc0
EXPERIMENTAL: tweaks and attempts to set module directives (with/without using gradle module plugin)
2019-05-20 15:08:27 +01:00
josecoll
2d9ee1d582
Enhanced JDK security debugging for JCA provider(s).
...
Used whilst investigating "Unrecognized algorithm for signature parameters SHA256withECDSA" JDK bug using Bouncy Castle.
2019-05-20 15:08:27 +01:00
josecoll
da189a3cd2
EXPERIMENTAL: tweaks and attempts to set module directives (with/without using gradle module plugin)
2019-05-20 15:08:27 +01:00
josecoll
877cbb1815
EXPERIMENTAL: tweaks and attempts to set module directives (with/without using gradle module plugin)
2019-05-20 15:08:27 +01:00
josecoll
4603305a35
Move Java unit test into kotlin package to prevent ASM compilation/classloading error (REVISIT)
...
* What went wrong:
Caused by: org.gradle.api.GradleException: failed to read class file /Users/josecoll/IdeaProjects/corda-jdk11/node/build/classes/java/test/net/corda/node/services/events/FlowLogicRefFromJavaTest$JavaNoArgFlowLogic.class
2019-05-20 15:08:27 +01:00
josecoll
cfd2661385
Move Java unit test into kotlin package to prevent ASM compilation/classloading error (REVISIT)
...
* What went wrong:
Execution failed for task ':core:test'.
> failed to read class file /Users/josecoll/IdeaProjects/corda-jdk11/core/build/classes/java/test/net/corda/core/flows/FlowsInJavaTest$PrimitiveReceiveFlow.class
2019-05-20 15:08:27 +01:00
josecoll
2f3900140c
Move Java unit test into kotlin package to prevent ASM compilation/classloading error (REVISIT)
2019-05-20 15:08:27 +01:00
josecoll
1586fd64f1
Enable JDK-internal API illegal access warnings.
2019-05-20 15:08:27 +01:00
josecoll
cdbf7fa830
Remove usage of private JDK class "sun.security.rsa.RSAPrivateCrtKeyImpl" (REVISIT)
2019-05-20 15:08:27 +01:00
josecoll
1b3f0efa96
Included TLS 1.3 unit tests (see https://r3-cev.atlassian.net/browse/CORDA-2801 )
2019-05-20 15:08:27 +01:00
josecoll
cce16c8522
Remove usage of private JDK class "sun.misc.Signal" (REVISIT)
2019-05-20 15:08:27 +01:00
josecoll
804f8dc17b
Update Java Version checking.
2019-05-20 15:08:27 +01:00
josecoll
4db2447e0b
Fixed JUnit to not use a deprecated/removed JDK package "com.sun.xml.internal.messaging.saaj".
2019-05-20 15:08:27 +01:00
josecoll
c8eb13efe2
Fix JUnit by adjusting assertion to reflect improved uncompressed byte size.
2019-05-20 15:08:27 +01:00
josecoll
41b7916332
Move test Java schemas to Kotlin as they are used only by Kotlin JUnit test (was causing ASM compilation failure).
2019-05-20 15:08:27 +01:00
josecoll
7afd1e8b25
Move test Java schemas to Kotlin as they are used only by Kotlin JUnit test (was causing ASM compilation failure).
2019-05-20 15:08:27 +01:00
josecoll
fa738c1354
Update IDE compiler dependencies to run tests within IntelliJ.
2019-05-20 15:08:27 +01:00
josecoll
8d4816f203
Allow corda gradle plugin snapshot version resolution from artifactory 'corda-dev'
2019-05-20 15:08:27 +01:00
josecoll
6d99e0fec4
Upgrade quasar to JDK11 supported version (0.8.0) - dependent on Corda "quasar-utils" gradle plugin upgrade.
2019-05-20 15:08:27 +01:00
josecoll
8c921cfe71
Upgrade jacoco to JDK11 supported version
2019-05-20 15:08:27 +01:00
josecoll
a56ef580b2
Temp remove usage of java modularity plugin.
2019-05-20 15:08:27 +01:00
josecoll
bce94164a8
Update to use Corda Gradle plugins 5.0.0-SNAPSHOT
2019-05-20 15:08:27 +01:00
josecoll
4bbeb83195
Revert: Add comment to Gradle JPMS plugin version.
2019-05-20 15:08:27 +01:00
josecoll
f6b25246c4
Add comment to Gradle JPMS plugin version.
2019-05-20 15:08:27 +01:00
josecoll
2a2fb6f82a
Change checkJavaVersion() startup check to support JDK 11.
2019-05-20 15:08:27 +01:00
josecoll
ac56f302eb
TEMP disable use of "sun.security, sun.misc.Unsafe" in serializer lists (re-instate with module add-exports directive)
2019-05-20 15:08:27 +01:00
josecoll
b8fb617ee1
TEMP disable use of "sun.misc.VMSupport" (re-instate with module add-exports directive)
2019-05-20 15:08:27 +01:00
josecoll
579a95b849
Remove illegal imports: sun.security, sun.reflect.
2019-05-20 15:08:27 +01:00
josecoll
c48e72ae66
SIMM valuation sample: do not use shrink custom task by default (and only use for JDK 1.8 due to Proguard version not supporting JDK 11)
2019-05-20 15:08:27 +01:00
josecoll
0244695a9b
TEMP exclude *-deterministic modules from build.
2019-05-20 15:08:27 +01:00
josecoll
38e84d46b4
Include JavaFX plugin (specify dependent JavaFX modules) and apply changes to relevant modules (explorer, demobench, client/jfx).
2019-05-20 15:08:27 +01:00
josecoll
594fca9d3f
Add explicit reference to JAXB.
2019-05-20 15:08:27 +01:00
josecoll
57fb63940f
Include Gradle JPMS plugin (v1.5.0)
2019-05-20 15:08:27 +01:00
josecoll
ba675e73b9
CORDA-2893 Upgrade Corda to use Gradle 5.4.1 (Take 2) ( #5137 )
...
Upgrade Corda to use Gradle 5.4.1
2019-05-20 14:26:42 +01:00
Chris Rankin
b9f7c1a08a
CORDA-2893, ENT-3422: Tweak JUnit 5 configurations to keep vintage engine off compile classpaths. ( #5138 )
...
* Tweak JUnit 5 configurations to keep vintage engine off compile classpaths.
* Configure Gradle tests to use JUnit 5.
2019-05-20 11:57:56 +01:00
Tudor Malene
688c742706
CORDA-2934 disable hibernate validator integration with hibernate ( #5130 )
2019-05-20 11:45:03 +01:00
Chris Rankin
5ca409d139
ENT-3422: Upgrade DJVM to use JUnit 5. ( #5131 )
...
* Switch to JUnit 5's migration support.
* Upgrade to Gradle 5.4.1.
* Upgrade to JUnit 5 Jupiter.
2019-05-20 09:11:21 +01:00
josecoll
0eab42b63e
Revert "CORDA-2893 Upgrade Corda to use Gradle 5.x ( #5063 )" ( #5135 )
...
This reverts commit 88babefd89
.
2019-05-17 11:11:05 +01:00