Skip to content

Commit 11a0561

Browse files
committed
Merge branch 'pr/draftcode/207'
2 parents 0f17f95 + 94a684b commit 11a0561

File tree

12 files changed

+24786
-440
lines changed

12 files changed

+24786
-440
lines changed

dist/launch_linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ JLINK_VM_OPTIONS="\
99
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \
1010
--add-opens jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED"
1111
DIR=`dirname $0`
12-
CLASSPATH_OPTIONS="-classpath $DIR/classpath/gson-2.8.5.jar:$DIR/classpath/protobuf-java-3.9.1.jar:$DIR/classpath/java-language-server.jar"
12+
CLASSPATH_OPTIONS="-classpath $DIR/classpath/gson-2.8.5.jar:$DIR/classpath/protobuf-java-3.19.3.jar:$DIR/classpath/java-language-server.jar"
1313
$DIR/linux/bin/java $JLINK_VM_OPTIONS $CLASSPATH_OPTIONS $@

dist/launch_mac.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ JLINK_VM_OPTIONS="\
99
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \
1010
--add-opens jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED"
1111
DIR=`dirname $0`
12-
CLASSPATH_OPTIONS="-classpath $DIR/classpath/gson-2.8.5.jar:$DIR/classpath/protobuf-java-3.9.1.jar:$DIR/classpath/java-language-server.jar"
12+
CLASSPATH_OPTIONS="-classpath $DIR/classpath/gson-2.8.5.jar:$DIR/classpath/protobuf-java-3.19.3.jar:$DIR/classpath/java-language-server.jar"
1313
$DIR/mac/bin/java $JLINK_VM_OPTIONS $CLASSPATH_OPTIONS $@

dist/launch_windows.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ set JLINK_VM_OPTIONS=^
88
--add-exports jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED ^
99
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED ^
1010
--add-opens jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
11-
set CLASSPATH_OPTIONS=-classpath %~dp0/classpath/gson-2.8.5.jar;%~dp0/classpath/protobuf-java-3.9.1.jar;%~dp0/classpath/java-language-server.jar
11+
set CLASSPATH_OPTIONS=-classpath %~dp0/classpath/gson-2.8.5.jar;%~dp0/classpath/protobuf-java-3.19.3.jar;%~dp0/classpath/java-language-server.jar
1212
java %JLINK_VM_OPTIONS% %CLASSPATH_OPTIONS% %*
1313

dist/launch_windows.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ JLINK_VM_OPTIONS="\
99
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \
1010
--add-opens jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED"
1111
DIR=`dirname $0`
12-
CLASSPATH_OPTIONS="-classpath $DIR/classpath/gson-2.8.5.jar;$DIR/classpath/protobuf-java-3.9.1.jar;$DIR/classpath/java-language-server.jar"
12+
CLASSPATH_OPTIONS="-classpath $DIR/classpath/gson-2.8.5.jar;$DIR/classpath/protobuf-java-3.19.3.jar;$DIR/classpath/java-language-server.jar"
1313
$DIR/windows/bin/java $JLINK_VM_OPTIONS $CLASSPATH_OPTIONS $@

lib/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ function visualVmConfig(context: ExtensionContext): ServerOptions {
349349
const jars = [
350350
'gson-2.8.5.jar',
351351
'java-language-server.jar',
352-
'protobuf-java-3.9.1.jar',
352+
'protobuf-java-3.19.3.jar',
353353
];
354354
const classpath = jars.map(jar => Path.resolve(context.extensionPath, "dist", "classpath", jar)).join(':');
355355
let args = [
@@ -484,4 +484,4 @@ function enableJavadocSymbols() {
484484
}
485485
]
486486
});
487-
}
487+
}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<dependency>
2828
<groupId>com.google.protobuf</groupId>
2929
<artifactId>protobuf-java</artifactId>
30-
<version>3.9.1</version>
30+
<version>3.19.3</version>
3131
</dependency>
3232
<!-- Testing framework -->
3333
<dependency>

scripts/gen_proto.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#!/bin/bash
22
protoc -I=src/main/protobuf --java_out=src/main/java src/main/protobuf/build.proto
33
protoc -I=src/main/protobuf --java_out=src/main/java src/main/protobuf/analysis.proto
4+
protoc -I=src/main/protobuf --java_out=src/main/java src/main/protobuf/analysis_v2.proto

src/main/java/com/google/devtools/build/lib/analysis/AnalysisProtos.java

Lines changed: 935 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/java/com/google/devtools/build/lib/analysis/AnalysisProtosV2.java

Lines changed: 19450 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)