Closed SAGESSE-CN closed 4 months ago
I'll have a look at compatibility. However, if you are using jabel for the var
feature, you can use auto
instead from manifold-ext
. It is more capable than var as it also applies to fields and method return types.
See auto docs.
Note, if you are using extension methods, you're already using manifold-ext
, as a consequence you don't need to modify your build to use auto
.
I got Jabel to work with manifold. You have to use the dependency as an annotation processor:
<annotationProcessorPaths>
. . .
<path>
<groupId>com.pkware.jabel</groupId>
<artifactId>jabel-javac-plugin</artifactId>
<version>1.0.1-1</version>
</path>
</annotationProcessorPaths>
This worked for me with a sample application using newer features and runs on java 8.
I am using the extension method features of manifold, and I want to use the var keyword in the code, but because of the need to support java8 (minecraft user), so i tired jabel.
Jabel Ver: 1.0.0 Manifold Ext Ver: 2023.1.0