Thomas Jones-Low

Results 6 comments of Thomas Jones-Low

After doing some digging I found #1210 is the source of this problem. All the commits prior to this one work correctly without any changes to our code, but with...

I have also seen this happen with JDK 17 ``` java.lang.IllegalAccessException: class io.bazel.kotlin.builder.toolchain.KotlinToolchain$JDepsInvoker cannot access class com.sun.tools.jdeps.Main (in module jdk.jdeps) because module jdk.jdeps does not export com.sun.tools.jdeps to unnamed module...

It mentions it as one of the examples: ``` # In this example, @doctocat owns any file in the `/docs` # directory in the root of your repository and any...

I would also like to add a +1, please document this. We're moving to bzlmod, and getting the correct version of Kotlin working is very important.

https://github.com/bazelbuild/buildtools/blob/main/buildifier/internal/factory.bzl#L193-L194

When generated the `java_binary` comes out as: ```skylark java_binary( name = "ApplicationTest.TestApplication", main_class = "com.example.ApplicationTest.TestApplication", visibility = ["//visibility:public"], runtime_deps = [ ":application", ], ) ``` which generates the following error...