x86_64 build broken - error: incompatible types: sun.print.DialogOwner

Paul Sandoz paul.sandoz at oracle.com
Mon Jun 11 19:00:01 UTC 2018


Can you try and clean the desktop module before rebuilding? e.g. use the make target  "clean-java.desktop” if you don’t want to clean the whole build.

Paul.

> On Jun 11, 2018, at 11:55 AM, John Paul Adrian Glaubitz <glaubitz at physik.fu-berlin.de> wrote:
> 
> Hi!
> 
> Just did a "hg pull && hg update --clean" and ran into this during server and
> zero build on Linux-x86_64:
> 
> === Output from failing command(s) repeated here ===
> /usr/bin/printf "* For target jdk_modules_java.desktop__the.java.desktop_batch:\n" 
> * For target jdk_modules_java.desktop__the.java.desktop_batch:
> (/usr/bin/grep -v -e "^Note: including file:" <  /srv/glaubitz/openjdk/jdk/build/linux-x86_64-normal-zero-release/make-support/failure-logs/jdk_modules_java.desktop__the.java.desktop_batch.log || true) | /usr/bin/head -n 12 
> /srv/glaubitz/openjdk/jdk/src/java.desktop/unix/classes/sun/print/IPPPrintService.java:1409: error: incompatible types: sun.print.DialogOwner cannot be converted to javax.print.attribute.standard.DialogOwner
>            if (DialogOwnerAccessor.getID(owner) != 0) {
>                                          ^
> Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
> 1 error
> if test `/usr/bin/wc -l < /srv/glaubitz/openjdk/jdk/build/linux-x86_64-normal-zero-release/make-support/failure-logs/jdk_modules_java.desktop__the.java.desktop_batch.log` -gt 12; then /usr/bin/echo "   ... (rest of output omitted)" ; fi 
> /usr/bin/printf "\n* All command lines available in /srv/glaubitz/openjdk/jdk/build/linux-x86_64-normal-zero-release/make-support/failure-logs.\n" 
> 
> * All command lines available in /srv/glaubitz/openjdk/jdk/build/linux-x86_64-normal-zero-release/make-support/failure-logs.
> /usr/bin/printf "=== End of repeated output ===\n"  
> === End of repeated output ===
> 
> Anyone seen this?
> 
> Adrian
> 
> -- 
> .''`.  John Paul Adrian Glaubitz
> : :' :  Debian Developer - glaubitz at debian.org
> `. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
>  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the hotspot-dev mailing list