logic: added support for Java 10

* updated java indexed and dependencies to support java 10
* added java indexer test for java 10 "var" support
This commit is contained in:
mlangkabel
2018-07-10 11:26:51 +02:00
parent 2bbe696af2
commit 6bbb44309d
10 changed files with 46 additions and 18 deletions
+2 -2
View File
@@ -87,7 +87,7 @@ void JavaParser::buildIndex(std::shared_ptr<IndexerCommandJava> indexerCommand)
void JavaParser::buildIndex(const FilePath& filePath, std::shared_ptr<TextAccess> textAccess)
{
buildIndex(filePath, "8", "", textAccess);
buildIndex(filePath, "10", "", textAccess);
}
void JavaParser::buildIndex(
@@ -264,7 +264,7 @@ void JavaParser::doRecordError(
m_client->recordError(
ParseLocation(m_currentFilePath, beginLine, beginColumn, endLine, endColumn),
utility::decodeFromUtf8(m_javaEnvironment->toStdString(jMessage)),
fatal,
fatal,
indexed,
FilePath()
);
+1 -1
View File
@@ -31,7 +31,7 @@ namespace utility
L"org.eclipse.equinox.common-3.10.0.jar",
L"org.eclipse.equinox.preferences-3.7.100.jar",
L"org.eclipse.equinox.registry-3.8.0.jar",
L"org.eclipse.jdt.core-3.13.0.jar",
L"org.eclipse.jdt.core-3.13.102.jar",
L"org.eclipse.osgi-3.13.0.jar",
L"org.eclipse.text-3.6.300.jar",
L"slf4j-api-1.7.10.jar",