Ken Hu created TINKERPOP-3323:
---------------------------------
Summary: Revisit outdated Java libraries
Key: TINKERPOP-3323
URL: https://issues.apache.org/jira/browse/TINKERPOP-3323
Project: TinkerPop
Issue Type: Improvement
Components: process, structure
Affects Versions: 4.0.0
Reporter: Ken Hu
While working on the JPMS changes I noticed there were some unmaintained
libraries that we would potentially want to replace. Here's the list for the
core Java modules (excludes server exclusive dependencies).
||Library||Version||Where||Reason||JPMS impact||Possible change
| javatuples | 1.2 (2011) | `gremlin-core` public API (`Path.stream()`,
`TimeUtil`, `IoRegistry.find()`, vertex programs, Gryo registrations) |
Unmaintained; filename-derived module name | `requires transitive javatuples` |
TinkerPop-owned `Pair`/`Triplet` records (Java 17); API break incl. provider
SPI |
| exp4j | 0.4.8 | `gremlin-core` `MathStep` (`TinkerExpression.getExpression()`
is public) | Unmaintained; filename-derived module name | `requires exp4j` |
In-house `math()` evaluator implementing the documented operators and
functions, pinned by characterization tests; changes `getExpression()`'s type |
| commons-beanutils / commons-collections | 1.10.0 / 3.2.2 | Runtime dependency
of `commons-configuration2` builder APIs used by `GraphFactory`,
`AnonymousTraversalSource` | beanutils 1.x requires `commons.collections`
(filename-derived; old 3.x line) | Automatic module via beanutils' descriptor |
Load configuration with `FileHandler` (works without beanutils) and drop both;
needs loading-behavior characterization tests |
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)