Rick Parker
d6ac4e2393
CORDA-2838 Set Artemis memory config. ( #5011 )
...
* CORDA-2838 Set Artemis memory config.
* CORDA-2838 Cannot have page size larger than max size.
* CORDA-2838 Use real slow consumers. Need to see if the old config settings can work with a global limit to avoid this.
2019-05-23 14:30:11 +01:00
Dan Newton
d611a41ec8
CORDA-2909 Build CURRENT_MAJOR_RELEASE
from build.gradle
in commons-logging ( #5150 )
...
A template directory and file, `Constants`, has been added to allow
gradle to replace the string `"@corda_release_version@"` with the
current corda version provided by gradle. This output will be copied
into the src directory and used for all builds.
The generated `Constants` file has also been checked in to remove
reliance for developers to first run a gradle build to get their
environment fully working. This file does not need to be updated in
the future since gradle will handle building the modules.
2019-05-22 16:52:53 +01:00
Katelyn Baker
9c9f007f55
RELEASE - Fix release tools ( #5155 )
2019-05-22 11:44:09 +01:00
Shams Asari
71c316ca5a
CORDA-2954: Upgrade to common-lang3 ( #5152 )
...
Utilised Fields.getAllFieldsList where we were doing the equivalent
2019-05-21 17:48:32 +01:00
ChrissyAtWork
79616536d4
DEVREL-1297 Ledger - Doc Site Lessonly Conformance ( #5128 )
...
* DEVREL-1297 Ledger - Doc Site Lessonly Conformance
Rewrite to bring Doc Site and Lessonly into conformance. Assumption is that Doc Site is more up to date.
* DEVREL-1297 Ledger - Doc Site Lessonly Conformance
* DEVREL-1297 Ledger - Doc Site Lessonly Conformance
Home page describes sections that link from it to enable easier navigation.
* Removed comment
2019-05-21 14:59:11 +01:00
Tudor Malene
860ef5833a
CORDA-2639: CorDapp dependencies documentation ( #4798 )
2019-05-21 10:45:21 +01:00
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