Bug#1026617: libjt400-java: FTBFS: [javac] /<<PKGBUILDDIR>>/java8/com/ibm/as400/data/RecordFormatDocument.java:149: error: reference to Record is ambiguous

tony mancill tmancill at debian.org
Wed Dec 21 21:07:51 GMT 2022


On Wed, Dec 21, 2022 at 12:07:24PM +0100, Hans Joachim Desserud wrote:
> tags 1026617 patch
> thanks
> 
> >     [javac]   both class com.ibm.as400.access.Record in
> > com.ibm.as400.access and class java.lang.Record in java.lang match
> >     [javac]
> > /<<PKGBUILDDIR>>/java8/com/ibm/as400/data/RecordFormatDocument.java:1375:
> > error: reference to Record is ambiguous
> 
> Looks like the ambiguity stems from the new Record class introduced in new
> JDKS which hit when rebuilt with JDK 17. See the attached patch which adds
> an explicit import to the "local" Record class, which has been the one
> imported up until now.
> 
> With this patch in place, the package builds successfully again on Debian
> Sid.

Thank you for the patch!  Applied and uploaded.

Cheers,
tony
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20221221/5981fcd9/attachment.sig>


More information about the pkg-java-maintainers mailing list