You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by "pjfanning (via GitHub)" <gi...@apache.org> on 2026/10/04 13:17:17 UTC
[PR] raise animalsniffer Android API minimum to 34 [poi-xmlbeans]
pjfanning opened a new pull request, #127:
URL: https://github.com/apache/poi-xmlbeans/pull/127
Follow-up to #126 (Java 17 baseline).
- `androidSdkMinimum` 26 → 34
- gummy-bears signature `0.3.0` → `0.16.0`
API 34 (Android 14) is the first level whose core libraries cover the Java 17 API. Checked against the gummy-bears 0.16.0 signatures:
| API level | Java 11 APIs (`String.repeat`/`isBlank`, `InputStream.readAllBytes`/`transferTo`) | Java 16/17 APIs (`java.lang.Record`, `String.stripIndent`, `Stream.toList`) |
|---|---|---|
| 26 (old) | ✗ | ✗ |
| 33 | ✓ | ✗ |
| 34 | ✓ | ✓ |
With 26 the check would reject Java 9–17 APIs even though Java 17 is now required. 33 would still block records, and a record in a public API needs `java.lang.Record` at runtime.
The `javax.xml.stream.*` / `javax.xml.namespace.*` ignores stay, since Android still has no StAX.
`./gradlew animalsnifferMain animalsnifferTest` passes locally.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
Re: [PR] raise animalsniffer Android API minimum to 34 [poi-xmlbeans]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning merged PR #127:
URL: https://github.com/apache/poi-xmlbeans/pull/127
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org