• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pantsbuild / pants / 19581575426 / 6
80%
main: 80%

Build:
DEFAULT BRANCH: main
Ran 21 Nov 2025 07:59PM UTC
Files 1162
Run time 50s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Nov 2025 07:40PM UTC coverage: 43.24% (-0.003%) from 43.243%
19581575426.6

push

github

web-flow
Java fix bug with inner class inference (#22889)

In Java, it's perfectly valid for a class in one package to reference
another class in the same package without importing it. The current Java
dependency inference code works fine for top level references, but
doesn't work when inner classes are involved. Suppose we have class A in
A.java and class B in B.java with a static inner class InnerB. All of
these classes are in the same package. A uses B.InnerB, but doesn't
explicitly import B. This is valid practice in Java, but with our Pants
Java dependency inference logic, the backend won't figure out on its own
that A.java depends on B.java without an explicit dependency reference.

This PR contains the changes for fixing this bug as seen in #22817 I've
split it into its own PR to make things easier to review and land

25948 of 60009 relevant lines covered (43.24%)

0.43 hits per line

Source Files on job test_python_linux_arm64 - 19581575426.6
  • Tree
  • List 1162
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19581575426
  • a6cc9e33 on github
  • Prev Job for on main (#19551203802.10)
  • Next Job for on main (#19583098256.6)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc