Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vertispan v0.2 #1

Open
wants to merge 49 commits into
base: rebased_main
Choose a base branch
from

Conversation

treblereel
Copy link

No description provided.

cushon and others added 30 commits September 28, 2023 15:50
Add 19-ea, use released 18
PiperOrigin-RevId: 447888943
PiperOrigin-RevId: 455184757
to match https://bugs.openjdk.org/browse/JDK-8281238, and only run the tests
on JDK 19.

Fixes e.g.

```
expected: DECLARED [email protected] List<[email protected] Integer>
but was : DECLARED @p.Test4.A java.util.List<@p.Test4.B java.lang.Integer>
```
PiperOrigin-RevId: 468587631
This method was added in JDK 9, and allows setting jar entry times
without going through a `long` of milliseconds.

Both `setTime` and `setTimeLocal` implicitly use the default timezone.

PiperOrigin-RevId: 471079483
PiperOrigin-RevId: 472497302
…e version shows up

PiperOrigin-RevId: 483693422
PiperOrigin-RevId: 483696374
PiperOrigin-RevId: 487077153
PiperOrigin-RevId: 491951825
PiperOrigin-RevId: 495922973
…llable` to `equals` methods now

PiperOrigin-RevId: 498034435
PiperOrigin-RevId: 498035708
The lexer was advancing to the next character and then reading the string
contents of the javadoc comment. It assumed that the next token
corresponded to exactly one character in the input stream, which isn't
true of unicode escapes.

PiperOrigin-RevId: 499989979
…records

These methods are only emitted if they don't already exist, per JLS 8.10.3.

bazelbuild/bazel#17181

PiperOrigin-RevId: 501618070
A record has to have a primary constructor with parameters that correspond to the
component types.

bazelbuild/bazel#17250

PiperOrigin-RevId: 503164403
…Function`.

Also rewrite some cases of `new Function<...>() {...}` to use lambdas or method references.

PiperOrigin-RevId: 522676112
> If the value of the name_index item is zero, then this parameters element indicates a formal parameter with no name.

https://docs.oracle.com/javase/specs/jvms/se20/html/jvms-4.html#jvms-4.7.24

PiperOrigin-RevId: 530356139
This also implies adding that support to `TurbineTool`.

PiperOrigin-RevId: 532899495
By default, turbine doesn't emit private fields in class files, because they
don't affect downstream compilations. This makes it possible to emit private
fields by setting a javac debug flag.

PiperOrigin-RevId: 536836786
cpovirk and others added 19 commits September 28, 2023 15:51
…notations

Similar to javac's `-Xpkginfo:always`

PiperOrigin-RevId: 543487269
…ava'

To avoid emitting duplicate symbols when there are other files that contain no
classes, and to match javac's behaviour.

PiperOrigin-RevId: 545473342
Unpin JDK 11, latest STS is 20, add 22-ea
PiperOrigin-RevId: 554543796
Fixes the following crash:

```
[ERROR] Failed to execute goal org.graalvm.buildtools:native-maven-plugin:0.9.11:test (test-native) on project turbine: Execution test-native of goal org.graalvm.buildtools:native-maven-plugin:0.9.11:test failed: A required class was missing while executing org.graalvm.buildtools:native-maven-plugin:0.9.11:test: org/graalvm/nativeimage/hosted/Feature
[ERROR] -----------------------------------------------------
[ERROR] realm =    extension>org.graalvm.buildtools:native-maven-plugin:0.9.11
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/home/fhenneke/.m2/repository/org/graalvm/buildtools/native-maven-plugin/0.9.11/native-maven-plugin-0.9.11.jar
[ERROR] urls[1] = file:/home/fhenneke/.m2/repository/org/graalvm/buildtools/junit-platform-native/0.9.11/junit-platform-native-0.9.11.jar
[ERROR] urls[2] = file:/home/fhenneke/.m2/repository/org/junit/platform/junit-platform-console/1.8.1/junit-platform-console-1.8.1.jar
[ERROR] urls[3] = file:/home/fhenneke/.m2/repository/org/junit/platform/junit-platform-reporting/1.8.1/junit-platform-reporting-1.8.1.jar
[ERROR] urls[4] = file:/home/fhenneke/.m2/repository/org/apiguardian/apiguardian-api/1.1.2/apiguardian-api-1.1.2.jar
[ERROR] urls[5] = file:/home/fhenneke/.m2/repository/org/junit/platform/junit-platform-launcher/1.8.1/junit-platform-launcher-1.8.1.jar
[ERROR] urls[6] = file:/home/fhenneke/.m2/repository/org/junit/platform/junit-platform-engine/1.8.1/junit-platform-engine-1.8.1.jar
[ERROR] urls[7] = file:/home/fhenneke/.m2/repository/org/opentest4j/opentest4j/1.2.0/opentest4j-1.2.0.jar
[ERROR] urls[8] = file:/home/fhenneke/.m2/repository/org/junit/platform/junit-platform-commons/1.8.1/junit-platform-commons-1.8.1.jar
[ERROR] urls[9] = file:/home/fhenneke/.m2/repository/org/junit/jupiter/junit-jupiter/5.8.1/junit-jupiter-5.8.1.jar
[ERROR] urls[10] = file:/home/fhenneke/.m2/repository/org/junit/jupiter/junit-jupiter-api/5.8.1/junit-jupiter-api-5.8.1.jar
[ERROR] urls[11] = file:/home/fhenneke/.m2/repository/org/junit/jupiter/junit-jupiter-params/5.8.1/junit-jupiter-params-5.8.1.jar
[ERROR] urls[12] = file:/home/fhenneke/.m2/repository/org/junit/jupiter/junit-jupiter-engine/5.8.1/junit-jupiter-engine-5.8.1.jar
[ERROR] urls[13] = file:/home/fhenneke/.m2/repository/org/graalvm/buildtools/utils/0.9.11/utils-0.9.11.jar
[ERROR] urls[14] = file:/home/fhenneke/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.12.4/jackson-databind-2.12.4.jar
[ERROR] urls[15] = file:/home/fhenneke/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.12.4/jackson-annotations-2.12.4.jar
[ERROR] urls[16] = file:/home/fhenneke/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.12.4/jackson-core-2.12.4.jar
[ERROR] urls[17] = file:/home/fhenneke/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR] : org.graalvm.nativeimage.hosted.Feature
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
```

Fixes google#271

COPYBARA_INTEGRATE_REVIEW=google#271 from fmeum:patch-1 0f50fed
PiperOrigin-RevId: 563130034
Update output paths
PiperOrigin-RevId: 563908126
Add a test to reproduce bazelbuild/bazel#19360

Fixes google#272

COPYBARA_INTEGRATE_REVIEW=google#272 from guw:main b2b7c2b
PiperOrigin-RevId: 564447484
This can happen for local classes. This hasn't mattered in practice
because they aren't part of the ABI and ijar and turbine don't include
them.

PiperOrigin-RevId: 565963078
To fix a test failure on JDK 22, which ASM doesn't support yet.

PiperOrigin-RevId: 565964627
PiperOrigin-RevId: 566644205
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants