GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — JSpecify: Handle @Nonnull elements in @Nullable content arrays by armughan11 · Pull Request #963 · uber/NullAway

Conversation

@armughan11

@armughan11 armughan11 commented Jun 3, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Handles unexpected error cases in JSpecify mode where an index is asserted @Nonnull (fizz[x]!=null) but the array elements itself could be null (@Nullable String [] fizz).

Example

@Nullable String [] fizz ={"1"}
if (fizz[i] != null) {
    fizz[i].toString();
}

Current Behavior
This throws an error due to dereference of fizz[i]

New Behavior
There should be no error here unless it's outside the block. So only the latter dereference throws up an error in the below case.

@Nullable String [] fizz ={"1"}

if (fizz[i] != null) {
    fizz[i].toString();
}
fizz[i].toString();

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@armughan11-dev
Initial commit
8646811
@armughan11
armughan11 marked this pull request as draft June 3, 2024 03:41
@armughan11
armughan11 marked this pull request as ready for review June 3, 2024 03:41
@armughan11
armughan11 marked this pull request as draft June 3, 2024 03:41
@armughan11

armughan11 commented Jun 3, 2024

Copy link
Copy Markdown
Contributor Author

@msridhar

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

armughan11-dev and others added 4 commits June 3, 2024 01:29
@armughan11-dev
Fix instances
351005b
@armughan11-dev
few more tests
0eb952e
@armughan11-dev
case fix
cad529c
@msridhar
add failing test
da7c17b
msridhar
msridhar reviewed Jun 4, 2024
View reviewed changes
Comment thread nullaway/src/main/java/com/uber/nullaway/dataflow/ArrayIndexElement.java Outdated

public class ArrayIndexElement implements AccessPathElement {
private final Element javaElement;
@Nullable final String index;

@msridhar msridhar Jun 4, 2024

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this @Nullable? Also, we shouldn't always use a String here. We want to use something like an Element for a local variable I think.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
msridhar and others added 3 commits June 3, 2024 20:17
@msridhar
Merge branch 'master' into jspecify-array-index
455cf0b
@armughan11-dev
Added direct checks
07783b8
@armughan11-dev
Merge remote-tracking branch 'origin/jspecify-array-index' into jspec…
919043a
…ify-array-index
@armughan11
armughan11 marked this pull request as ready for review June 4, 2024 01:57
@armughan11
armughan11 requested a review from msridhar June 4, 2024 01:57
@codecov

codecov Bot commented Jun 4, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 86.25000% with 11 lines in your changes missing coverage. Please review.

Project coverage is 85.90%. Comparing base (a4ce249) to head (5df5697).

Files Patch % Lines
.../com/uber/nullaway/dataflow/ArrayIndexElement.java 56.25% 4 Missing and 3 partials ⚠️
...er/nullaway/dataflow/FieldOrMethodCallElement.java 78.94% 3 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #963      +/-   ##
============================================
+ Coverage     85.88%   85.90%   +0.02%     
- Complexity     2051     2067      +16     
============================================
  Files            82       83       +1     
  Lines          6806     6859      +53     
  Branches       1312     1323      +11     
============================================
+ Hits           5845     5892      +47     
- Misses          547      550       +3     
- Partials        414      417       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

armughan11-dev and others added 2 commits June 3, 2024 22:14
@armughan11-dev
Added direct checks
ff78576
@msridhar
Merge branch 'master' into jspecify-array-index
6659cf1
msridhar
msridhar reviewed Jun 4, 2024
View reviewed changes

@msridhar msridhar left a comment

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking great! I have some comments

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread nullaway/src/main/java/com/uber/nullaway/dataflow/AccessPathElement.java
public Element getJavaElement() {
return this.javaElement;
}
public interface AccessPathElement {

@msridhar msridhar Jun 4, 2024

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs Javadoc

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

armughan11 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
Comment thread nullaway/src/main/java/com/uber/nullaway/dataflow/AccessPathElement.java Outdated
return false;
}
}
String toString();

@msridhar msridhar Jun 4, 2024

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think toString(), equals(), and hashCode() do not need to be declared here

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

armughan11 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
Comment thread nullaway/src/main/java/com/uber/nullaway/dataflow/AccessPathElement.java
return this.javaElement;
}
public interface AccessPathElement {
Element getJavaElement();

@msridhar msridhar Jun 4, 2024

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs Javadoc

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

armughan11 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
Comment thread nullaway/src/main/java/com/uber/nullaway/dataflow/FieldOrMethodCallElement.java
import javax.annotation.Nullable;
import javax.lang.model.element.Element;

public class FieldOrMethodCallElement implements AccessPathElement {

@msridhar msridhar Jun 4, 2024

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs Javadoc (you can take it from the previous docs for AccessPathElement)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

armughan11 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
Comment thread nullaway/src/main/java/com/uber/nullaway/dataflow/ArrayIndexElement.java Outdated
Comment on lines +9 to +10
@Nullable private final Integer constantIndex;
@Nullable private final Element variableElement;

@msridhar msridhar Jun 4, 2024

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than having two @Nullable fields here to represent the cases, I'd prefer a single field of type Object named index for simplicity and efficiency. The API can still be type safe (i.e., you can only pass in an Integer or an Element); the fact that the same field is used internally would be a private implementation detail. You can document the expectations in a comment.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

armughan11 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
Comment thread nullaway/src/main/java/com/uber/nullaway/dataflow/AccessPath.java Outdated
Comment on lines +356 to +357
} else if (arrayNode instanceof MethodInvocationNode) {
return ASTHelpers.getSymbol(((MethodInvocationNode) arrayNode).getTree());

@msridhar msridhar Jun 4, 2024

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Allowing the array itself to be the result of a method invocation is a bit more risky. Let's remove this case, and handle it later if we decide we need it

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

armughan11 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
Comment thread nullaway/src/main/java/com/uber/nullaway/dataflow/AccessPath.java Outdated
return null;
}
}
result = buildAccessPathRecursive(stripCasts(arrayNode), elements, apContext, mapKey);

@msridhar msridhar Jun 4, 2024

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not strip the casts right at line 415?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

armughan11 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
Comment thread nullaway/src/main/java/com/uber/nullaway/dataflow/AccessPathNullnessPropagation.java Outdated
ReadableUpdates updates = new ReadableUpdates();
setNonnullIfAnalyzeable(updates, node.getArray());
Nullness resultNullness;
Nullness resultNullness = defaultAssumption;

@msridhar msridhar Jun 4, 2024

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not use defaultAssumption here; it's a bit confusing. Instead, add an explicit else at line 814 and set resultNullness to Nullness.NONNULL when we are not in JSpecify mode

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

armughan11 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

@msridhar msridhar Jun 8, 2024

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just get rid of the initializer expression here:

Suggested change
Nullness resultNullness = defaultAssumption;
Nullness resultNullness;

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

armughan11 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
Comment thread nullaway/src/main/java/com/uber/nullaway/dataflow/AccessPathNullnessPropagation.java
Comment on lines +800 to +809
if (isElementNullable) {
AccessPath arrayAccessPath = AccessPath.getAccessPathForNode(node, state, apContext);
if (arrayAccessPath != null) {
@Nullable
Nullness accessPathNullness =
input.getRegularStore().getNullnessOfAccessPath(arrayAccessPath);
if (accessPathNullness == Nullness.NULLABLE) {
resultNullness = Nullness.NULLABLE;
}
}

@msridhar msridhar Jun 4, 2024

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@msridhar

msridhar commented Jun 4, 2024

Copy link
Copy Markdown
Collaborator

We should add tests for the following cases:

  • Array expression is unhandled, like a method invocation (m()[i])
  • Array index is unhandled (m[i()])
  • Different index in conditional and deference (if (m[i] != null) { m[i+1].hashCode(); } should yield an error)
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

armughan11-dev added 2 commits June 8, 2024 01:10
@armughan11-dev
Addressed PR comments
c51136c
@armughan11-dev
Merge remote-tracking branch 'origin/jspecify-array-index' into jspec…
29c208e
…ify-array-index
@armughan11
armughan11 requested a review from msridhar June 8, 2024 06:11
msridhar
msridhar reviewed Jun 8, 2024
View reviewed changes
Comment thread nullaway/src/main/java/com/uber/nullaway/dataflow/AccessPathNullnessPropagation.java Outdated
ReadableUpdates updates = new ReadableUpdates();
setNonnullIfAnalyzeable(updates, node.getArray());
Nullness resultNullness;
Nullness resultNullness = defaultAssumption;

@msridhar msridhar Jun 8, 2024

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just get rid of the initializer expression here:

Suggested change
Nullness resultNullness = defaultAssumption;
Nullness resultNullness;

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

armughan11 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
Comment thread nullaway/src/main/java/com/uber/nullaway/dataflow/AccessPathNullnessPropagation.java Outdated
if (isElementNullable) {
AccessPath arrayAccessPath = AccessPath.getAccessPathForNode(node, state, apContext);
if (arrayAccessPath != null) {
@Nullable

@msridhar msridhar Jun 8, 2024

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This annotation should not be needed

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

armughan11 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

@armughan11 armughan11 Jun 8, 2024

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread nullaway/src/main/java/com/uber/nullaway/dataflow/ArrayIndexElement.java Outdated
* @param index The index used to access the array. Must be either an Integer (for constant
* indices) or an Element (for variable indices).
*/
public ArrayIndexElement(Element javaElement, Object index) {

@msridhar msridhar Jun 8, 2024

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can have the field be of Object object, but we should have two separate constructors, one for integer literals and one for variables / fields, each taking the appropriate type. We shouldn't allow for passing in an arbitrary Object as the index. Alternately (and perhaps better), make the constructor private, and then write two static methods, one for each case, with appropriate names (like makeWithIntegerIndex)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

armughan11 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

@armughan11 armughan11 Jun 8, 2024

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@627721565

627721565 commented Jun 8, 2024 via email

Copy link
Copy Markdown
您好,邮件已经收到,查阅后会尽快给您回复!
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

msridhar
msridhar reviewed Jun 8, 2024
View reviewed changes
Comment thread nullaway/src/test/java/com/uber/nullaway/jspecify/ArrayTests.java
" if (fizz[i]!=null) { ",
" // field access indexes aren't handled",
" // BUG: Diagnostic contains: dereferenced expression fizz[i] is @Nullable",
" fizz[i].toString();",

@msridhar msridhar Jun 8, 2024

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hrm, I thought this case would be handled? What exact cases do we allow for index expressions again?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

armughan11 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

@armughan11 armughan11 Jun 8, 2024

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah my bad, this should work fine for primitives. Updated this and method invocation case accordingly.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
armughan11-dev added 2 commits June 8, 2024 12:54
@armughan11-dev
Addressed PR comments
49d9fec
@armughan11-dev
Merge branch 'master' into jspecify-array-index
3498074
@armughan11
armughan11 requested a review from msridhar June 8, 2024 17:56
@msridhar

msridhar commented Jun 9, 2024

Copy link
Copy Markdown
Collaborator

I realized this change might have a deeper impact than we were expecting. Right now, the creation of access path elements for array accesses is not gated on the flag for JSpecify mode, and passing the NullAway config into all relevant methods to do that would be kind of painful. But, I believe this means that code like this will pass NullAway now, when it didn't before this change:

if (arr[i].f != null) {
  arr[i].f.toString();
}

@armughan11 can you write a test to confirm this?

@lazaroclapp do you see any high-level issues with not reporting warnings for code like the above? It seems to be keeping in the spirit of NullAway, but it does potentially introduce new vectors of unsoundness, e.g.:

if (arr[i].f != null) {
  arr[j] = null; // overwrites a[i] if i == j
  arr[i].f.toString(); // still no warning from NullAway
}

Most programs don't code too much directly with arrays, but I wonder if we should do some more performance and sanity testing before landing this.

lazaroclapp reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@armughan11-dev
Added test
11e8c81
@armughan11

armughan11 commented Jun 9, 2024

Copy link
Copy Markdown
Contributor Author

Just added the test and you're correct @msridhar. The test you mentioned works fine right now, but throws an error without our changes.

msridhar reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@msridhar msridhar added run-benchmarks and removed run-benchmarks labels Jun 12, 2024
@msridhar
Merge branch 'master' into jspecify-array-index
9be512b
@msridhar msridhar added run-benchmarks and removed run-benchmarks labels Jun 13, 2024
msridhar
msridhar approved these changes Jun 14, 2024
View reviewed changes

@msridhar msridhar left a comment

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmarking didn't detect any perf regressions, and I rebuilt an internal code base with this change and didn't see any new errors or crashes.

I'm still hoping @lazaroclapp can give his feedback before we land this one.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@msridhar msridhar added the jspecify Related to support for jspecify standard (see jspecify.dev) label Jun 16, 2024
@msridhar
Merge branch 'master' into jspecify-array-index
5df5697
@msridhar

msridhar commented Jun 18, 2024

Copy link
Copy Markdown
Collaborator

Gonna go ahead and merge this; I think we can address any concerns in follow-up PRs

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@msridhar
msridhar enabled auto-merge (squash) June 18, 2024 20:51
@msridhar
msridhar merged commit 76115d4 into uber:master Jun 18, 2024
benkard pushed a commit to benkard/jgvariant that referenced this pull request Aug 8, 2024
Renovate Bot
Update all non-major dependencies (mulk/jgvariant!28)
7bd7070
This MR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [org.tukaani:xz](https://tukaani.org/xz/java.html) ([source](https://github.com/tukaani-project/xz-java)) | compile | minor | `1.9` -> `1.10` |
| [org.eclipse:yasson](https://projects.eclipse.org/projects/ee4j.yasson) ([source](https://github.com/eclipse-ee4j/yasson)) | compile | patch | `3.0.3` -> `3.0.4` |
| [org.eclipse.parsson:parsson](https://github.com/eclipse-ee4j/parsson) | compile | patch | `1.1.6` -> `1.1.7` |
| [com.uber.nullaway:nullaway](https://github.com/uber/NullAway) |  | patch | `0.11.0` -> `0.11.1` |
| [io.hosuaby:inject-resources-junit-jupiter](https://github.com/hosuaby/inject-resources) | test | patch | `0.3.3` -> `0.3.5` |
| [org.codehaus.mojo:exec-maven-plugin](https://www.mojohaus.org/exec-maven-plugin) ([source](https://github.com/mojohaus/exec-maven-plugin)) | build | minor | `3.3.0` -> `3.4.0` |

---

### Release Notes

<details>
<summary>tukaani-project/xz-java</summary>

### [`v1.10`](https://github.com/tukaani-project/xz-java/releases/tag/v1.10): XZ for Java 1.10

[Compare Source](tukaani-project/xz-java@v1.9...v1.10)

</details>

<details>
<summary>eclipse-ee4j/yasson</summary>

### [`v3.0.4`](eclipse-ee4j/yasson@3.0.3...3.0.4)

[Compare Source](eclipse-ee4j/yasson@3.0.3...3.0.4)

</details>

<details>
<summary>eclipse-ee4j/parsson</summary>

### [`v1.1.7`](eclipse-ee4j/parsson@1.1.6...1.1.7)

[Compare Source](eclipse-ee4j/parsson@1.1.6...1.1.7)

</details>

<details>
<summary>uber/NullAway</summary>

### [`v0.11.1`](https://github.com/uber/NullAway/blob/HEAD/CHANGELOG.md#Version-0111)

[Compare Source](uber/NullAway@v0.11.0...v0.11.1)

-   Fix issue 1008 ([#&#8203;1009](uber/NullAway#1009))
-   JSpecify: read upper bound annotations from bytecode and add tests ([#&#8203;1004](uber/NullAway#1004))
-   Fix crash with suggested suppressions in JSpecify mode ([#&#8203;1001](uber/NullAway#1001))
-   Update to JSpecify 1.0 and use JSpecify annotations in NullAway code ([#&#8203;1000](uber/NullAway#1000))
-   Expose [@&#8203;EnsuresNonNull](https://github.com/EnsuresNonNull) and [@&#8203;RequiresNonNull](https://github.com/RequiresNonNull) in annotations package ([#&#8203;999](uber/NullAway#999))
-   Don't report initializer warnings on [@&#8203;NullUnmarked](https://github.com/NullUnmarked) constructors / methods ([#&#8203;997](uber/NullAway#997))
-   Strip annotations from MethodSymbol strings ([#&#8203;993](uber/NullAway#993))
-   JSpecify: fix crashes where declared parameter / return types were raw ([#&#8203;989](uber/NullAway#989))
-   JSpecify: Handle [@&#8203;nullable](https://github.com/nullable) elements for enhanced-for-loops on arrays ([#&#8203;986](uber/NullAway#986))
-   Features/944 tidy stream nullability propagator ([#&#8203;985](uber/NullAway#985))
-   Tests for loops over arrays ([#&#8203;982](uber/NullAway#982))
-   Bug fixes for array subtyping at returns / parameter passing ([#&#8203;980](uber/NullAway#980))
-   JSpecify: Handle [@&#8203;nonnull](https://github.com/nonnull) elements in [@&#8203;nullable](https://github.com/nullable) content arrays ([#&#8203;963](uber/NullAway#963))
-   Don't report [@&#8203;nullable](https://github.com/nullable) type argument errors for unmarked classes ([#&#8203;958](uber/NullAway#958))
-   External Library Models: Adding support for Nullable upper bounds of Generic Type parameters ([#&#8203;949](uber/NullAway#949))
-   Refactoring / code cleanups:
    -   Test on JDK 22 ([#&#8203;992](uber/NullAway#992))
    -   Add test case for [@&#8203;nullable](https://github.com/nullable) Void with override in JSpecify mode ([#&#8203;990](uber/NullAway#990))
    -   Enable UnnecessaryFinal and PreferredInterfaceType EP checks ([#&#8203;991](uber/NullAway#991))
    -   Add missing [@&#8203;test](https://github.com/test) annotation ([#&#8203;988](uber/NullAway#988))
    -   Fix typo in variable name ([#&#8203;987](uber/NullAway#987))
    -   Remove AbstractConfig class ([#&#8203;974](uber/NullAway#974))
    -   Fix Javadoc for MethodRef ([#&#8203;973](uber/NullAway#973))
    -   Refactored data clumps with the help of LLMs (research project) ([#&#8203;960](uber/NullAway#960))
-   Build / CI tooling maintenance:
    -   Various cleanups enabled by bumping minimum Java and Error Prone versions ([#&#8203;962](uber/NullAway#962))
    -   Disable publishing of snapshot builds from CI ([#&#8203;967](uber/NullAway#967))
    -   Update Gradle action usage in CI workflow ([#&#8203;969](uber/NullAway#969))
    -   Update Gradle config to always compile Java code using JDK 17 ([#&#8203;971](uber/NullAway#971))
    -   Update JavaParser to 3.26.0 ([#&#8203;970](uber/NullAway#970))
    -   Reenable JMH benchmarking in a safer manner ([#&#8203;975](uber/NullAway#975))
    -   Updated JMH Benchmark Comment Action ([#&#8203;976](uber/NullAway#976))
    -   Update to Gradle 8.8 ([#&#8203;981](uber/NullAway#981))
    -   Update to Error Prone 2.28.0 ([#&#8203;984](uber/NullAway#984))
    -   Update to Gradle 8.9 ([#&#8203;998](uber/NullAway#998))
    -   Update to WALA 1.6.6 ([#&#8203;1003](uber/NullAway#1003))

</details>

<details>
<summary>hosuaby/inject-resources</summary>

### [`v0.3.5`](hosuaby/inject-resources@v0.3.4...v0.3.5)

[Compare Source](hosuaby/inject-resources@v0.3.4...v0.3.5)

### [`v0.3.4`](hosuaby/inject-resources@v0.3.3...v0.3.4)

[Compare Source](hosuaby/inject-resources@v0.3.3...v0.3.4)

</details>

<details>
<summary>mojohaus/exec-maven-plugin</summary>

### [`v3.4.0`](https://github.com/mojohaus/exec-maven-plugin/releases/tag/3.4.0)

[Compare Source](mojohaus/exec-maven-plugin@3.3.0...3.4.0)

<!-- Optional: add a release summary here -->

#### 🚀 New features and improvements

-   Allow `<includePluginDependencies>` to be specified for the exec:exec goal ([#&#8203;432](mojohaus/exec-maven-plugin#432)) [@&#8203;sebthom](https://github.com/sebthom)

#### 🐛 Bug Fixes

-   Do not get UPPERCASE env vars ([#&#8203;427](mojohaus/exec-maven-plugin#427)) [@&#8203;wheezil](https://github.com/wheezil)

#### 📦 Dependency updates

-   Bump org.codehaus.mojo:mojo-parent from 82 to 84 ([#&#8203;434](mojohaus/exec-maven-plugin#434)) [@&#8203;dependabot](https://github.com/dependabot)
-   Bump org.codehaus.plexus:plexus-xml from 3.0.0 to 3.0.1 ([#&#8203;431](mojohaus/exec-maven-plugin#431)) [@&#8203;dependabot](https://github.com/dependabot)

#### 👻 Maintenance

-   Remove Log4j 1.2.x from ITs ([#&#8203;437](mojohaus/exec-maven-plugin#437)) [@&#8203;slawekjaranowski](https://github.com/slawekjaranowski)

#### 🔧 Build

-   Use Maven 3.9.7 and 4.0.0-beta-3 ([#&#8203;433](mojohaus/exec-maven-plugin#433)) [@&#8203;slawekjaranowski](https://github.com/slawekjaranowski)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

👻 **Immortal**: This MR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yNC4wIiwidXBkYXRlZEluVmVyIjoiMzQuMjQuMCJ9-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@msridhar msridhar msridhar approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

jspecify Related to support for jspecify standard (see jspecify.dev) run-benchmarks

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@armughan11 @msridhar @627721565 @armughan11-dev
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.