diff --git a/shared/src/main/kotlin/org/javacs/kt/classpath/CachedClassPathResolver.kt b/shared/src/main/kotlin/org/javacs/kt/classpath/CachedClassPathResolver.kt index dfacf43a6..d81667deb 100644 --- a/shared/src/main/kotlin/org/javacs/kt/classpath/CachedClassPathResolver.kt +++ b/shared/src/main/kotlin/org/javacs/kt/classpath/CachedClassPathResolver.kt @@ -12,7 +12,7 @@ import org.jetbrains.exposed.sql.transactions.transaction import java.nio.file.Path import java.nio.file.Paths -private const val MAX_PATH_LENGTH = 255 +private const val MAX_PATH_LENGTH = 2047 private object ClassPathMetadataCache : IntIdTable() { val includesSources = bool("includessources") diff --git a/shared/src/main/kotlin/org/javacs/kt/database/DatabaseService.kt b/shared/src/main/kotlin/org/javacs/kt/database/DatabaseService.kt index 5feb83378..0f80f73b4 100644 --- a/shared/src/main/kotlin/org/javacs/kt/database/DatabaseService.kt +++ b/shared/src/main/kotlin/org/javacs/kt/database/DatabaseService.kt @@ -26,7 +26,7 @@ class DatabaseMetadataEntity(id: EntityID) : IntEntity(id) { class DatabaseService { companion object { - const val DB_VERSION = 3 + const val DB_VERSION = 4 const val DB_FILENAME = "kls_database.db" }