here in this talk post
One major change that affects us was the replacement of the Doclet API in java 11 with a new Doclet Api. So we would need to refactor all our code that depended to the old API , to depend on the new Doclet API
Does everything else compile on Java 11 if you delete the ShouldTaglet.java file?
From the infrastructure point of view, moving to OpenJDK 11 really helps me a lot to support CI capabilities.
The older the JDK, the more likely it’s not supported by the distribution we have.I’m having a lot of trouble supporting JDK 7 already.
OpenJDK 11 is available in CI for those interested.
Can you try this and see if it compiles? https://stackoverflow.com/questions/46493613/what-is-the-replacement-for-javax-activation-package-in-java-9
Thanks @dkayiwa for the link, on top of that I am looking through this link too.
After updating the javax.activation
I was left with two errors from the five errors I have been having.
From that other link i want to include javax.annotation
then run and see how it goes
the javax.annotation package that I have added to the main pom.xml is
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.3.2</version>
</dependency>
and I have added this to the openmrs-api pom
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
</dependency>
However this is the error I am getting
From this I think the dependency has been accepted
[DEBUG] /home/irynah/.m2/repository/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar
hi @irenyak1 , sorry ive been a litle slow on this , but lets getback to it. Am seeing several errors up in the thread . What exactly is the blocker , and how far with your PR and what is the error now ?
@mozzy honestly when you begun the discussion about staying with openjdk 8 because of incompatibility issues I took a pause. Unless you say we go a head with the ticket then I will resume work on it.
let me check your Pr ,on the ticket