Commit e1f3d53
Fix Java 8 build: replace String.repeat in test
OidcDeviceAuthTest called String.repeat(int) at two sites, a Java 11
API. The client has a Java 8 floor (the JDK 8 CI job compiles, tests,
and releases the artifact), so the JDK 8 build failed to compile while
the JDK 25 smoke job passed and hid the break.
Replace both calls with the existing TestUtils.repeat(CharSequence,
int) Java 8 stand-in, which is already imported in the test and used by
other client tests.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent a4875f2 commit e1f3d53
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
444 | | - | |
| 444 | + | |
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
| |||
1877 | 1877 | | |
1878 | 1878 | | |
1879 | 1879 | | |
1880 | | - | |
| 1880 | + | |
1881 | 1881 | | |
1882 | 1882 | | |
1883 | 1883 | | |
| |||
0 commit comments