javac error with 2d demo

David Holmes david.holmes at oracle.com
Wed Mar 21 22:20:36 PDT 2012


Trying a clean configure and build using all defaults on linux x86_64:

/export/users/dh198349/build-infra/jdk/src/closed/share/demo/jfc/Java2D/java2d/DemoGroup.java:108: 
error: no suitable method found for mouseClicked(Component)
                 mouseClicked(e.getComponent());
                 ^
     method <anonymous java2d.DemoGroup$1>.mouseClicked(MouseEvent) is 
not applicable
       (actual argument Component cannot be converted to MouseEvent by 
method invocation conversion)
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
make[2]: *** 
[/export/users/dh198349/build-infra/build/linux-amd64-normal-server-release/jdk/newdemoclasses/jfc/Java2D/_the.batch] 
Error 1
make[2]: *** Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
make[1]: *** [all] Error 2
make: *** [jdk] Error 2


David
-----



More information about the build-infra-dev mailing list