Hi Team, We are tried to upgrade latest KARAF from KARAF 4.2.15 to KARAF 4.4.1 version with OpenJDK 11. And tried osgi.annotation/7.0.0 or 8.1.0 both version .
Release Note KARAF 4.4.1 https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311140&version=12351548 While doing maven build our product, the build was failed due to package sun.security.krb5.internal is not visible [ERROR] (package sun.security.krb5.internal is declared in module java.security.jgss, which does not export it to the unnamed module). The above issue for fixing, I have added given below compilerArgs tag then only maven build working. We do have any best solution the above issue? without adding the given below compilerArgs tags. <configuration> <source>${java.version}</source> <target>${java.version}</target> <compilerArgs> <!-- Few examples ... only pick the ones needed --> <arg>--add-exports</arg><arg>java.base/sun.nio.ch=ALL-UNNAMED</arg> <arg>--add-exports</arg><arg>java.base/jdk.internal.ref=ALL-UNNAMED</arg> </compilerArgs> </configuration> Thanks, VamsiKrishna Software Engineer Mob: +91 9381078936 [Motivitylabs - Enabling Mobile Enterprises] US: 222 W. Las Colinas Blvd. Suite 755 East Irving, TX 75039 Ph:+1-214-730-0798 INDIA: 9th & 10th floor, Water Mark Building, Kondapur, Hitech City, Hyderabad 500 084, Telangana. Ph:+91-40-4651-5454 Confidentiality Note: This message is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they ar