From d9974314e99afc8df2d07140440d7be125dc7ba3 Mon Sep 17 00:00:00 2001 From: Shi Chen Date: Fri, 17 Jun 2022 11:06:18 +0800 Subject: [PATCH] chore: Support JDK 17 (#102) --- README.md | 4 ++++ com.microsoft.java.lsif.core/META-INF/MANIFEST.MF | 2 +- .../languageServer.product | 7 +++++-- .../com.microsoft.java.lsif.tp.target | 13 ++++++++----- pom.xml | 4 ++-- 5 files changed, 20 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index d73dcad..60c2753 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,10 @@ The purpose of the Language Server Index Format (LSIF) is to define a standard f A first draft specification can be found [here](https://github.com/Microsoft/language-server-protocol/blob/main/indexFormat/specification.md). +## Requirement + +JDK 17 is required to build or run this tool. + ## Quickstart - Go to the build path: diff --git a/com.microsoft.java.lsif.core/META-INF/MANIFEST.MF b/com.microsoft.java.lsif.core/META-INF/MANIFEST.MF index 5e40db2..8c14260 100644 --- a/com.microsoft.java.lsif.core/META-INF/MANIFEST.MF +++ b/com.microsoft.java.lsif.core/META-INF/MANIFEST.MF @@ -4,7 +4,7 @@ Bundle-Name: %Bundle-Name Bundle-SymbolicName: com.microsoft.java.lsif.core;singleton:=true Bundle-Version: 0.5.2 Bundle-Activator: com.microsoft.java.lsif.core.internal.LanguageServerIndexerPlugin -Bundle-RequiredExecutionEnvironment: JavaSE-11 +Bundle-RequiredExecutionEnvironment: JavaSE-17 Bundle-Localization: plugin Import-Package: org.osgi.framework;version="1.3.0" Bundle-ActivationPolicy: lazy diff --git a/com.microsoft.java.lsif.product/languageServer.product b/com.microsoft.java.lsif.product/languageServer.product index 1efc1c9..67f571e 100644 --- a/com.microsoft.java.lsif.product/languageServer.product +++ b/com.microsoft.java.lsif.product/languageServer.product @@ -22,6 +22,7 @@ + @@ -33,7 +34,7 @@ - + @@ -44,14 +45,16 @@ - + + + diff --git a/com.microsoft.java.lsif.target/com.microsoft.java.lsif.tp.target b/com.microsoft.java.lsif.target/com.microsoft.java.lsif.tp.target index 676e85f..48a9b65 100644 --- a/com.microsoft.java.lsif.target/com.microsoft.java.lsif.tp.target +++ b/com.microsoft.java.lsif.target/com.microsoft.java.lsif.tp.target @@ -13,12 +13,12 @@ - + - + @@ -28,9 +28,12 @@ + + + - + @@ -38,8 +41,8 @@ - + - + diff --git a/pom.xml b/pom.xml index fc318a9..b70580a 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ Java Language Server Indexer UTF-8 - 2.0.0 + 2.7.2 ${tycho-version} scm:git:https://github.com/eclipse/eclipse.jdt.ls.git reuseReports @@ -245,7 +245,7 @@ org.jacoco jacoco-maven-plugin - 0.8.2 + 0.8.7