Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #9518 (closed)

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

Bug: Java 7 compile failure (potential runtime error?)

Reported by: cxallan Owned by: jburel
Priority: blocker Milestone: OMERO-4.4.4
Component: Insight Version: n.a.
Keywords: n.a. Cc: wmoore, Ingvar@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2012-08-28 (3)


When building OMERO.insight with Java 7 the following compile failures pops up:

/home/ingvar/Software/omero_sliceviewer/openmicroscopy/components/insight/SRC/  \
error: getType() in ImgSaver cannot override getType() in Window
   int getType() { return type; }
 attempting to assign weaker access privileges; was public
/home/ingvar/Software/omero_sliceviewer/openmicroscopy/components/insight/SRC/  \
error: getType() in ImgSaverPreviewer cannot override getType() in Window
   int getType() { return model.getType(); }

This is because in Java 7, the java.awt.Window class now has a getType() method of its own:

May actually cause runtime errors on Java 7 as well so I'm marking this as a blocker.

Change History (5)

comment:1 Changed 12 years ago by jmoore

  • Milestone changed from OMERO-4.4.2 to OMERO-4.4.3

comment:2 Changed 12 years ago by jburel

  • Remaining Time set to 0.1
  • Sprint set to 2012-08-28 (3)

comment:4 Changed 12 years ago by jburel

  • Remaining Time changed from 0.1 to 0
  • Status changed from new to closed

comment:5 Changed 12 years ago by jburel <j.burel@…>

(In [dfaed0337c76e4ba9c4aca3ade4cb3eb2cec3d8f/ome.git] on branch develop) Fix Java 7 compile failure (see #9518)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.67403 sec.)

We're Hiring!