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 #8701 (closed)

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

Bug: Java version and test

Reported by: jburel Owned by: jamoore
Priority: minor Milestone: OMERO-4.4
Component: General Version: n.a.
Keywords: n.a. Cc: jamoore
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2012-05-22 (15)

Description

Running test using Java 1.5, permissions branch with chmod.

Compiling 76 source files to /Users/jburel/Documents/git-omero/components/blitz/target/test-classes
/Users/jburel/Documents/git-omero/components/blitz/test/ome/services/blitz/test/utests/ServiceFactoryServiceCreationDestructionTest.java:17: cannot access ome.services.blitz.test.utests.Ref
bad class file: /Users/jburel/Documents/git-omero/components/blitz/target/libs/test/omero-icemock.jar(ome/services/blitz/test/utests/Ref.class)
class file has wrong version 50.0, should be 49.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
import ome.services.blitz.test.utests.Ref;

Change History (3)

comment:1 Changed 7 years ago by jmoore

  • Owner set to jmoore
  • Remaining Time set to 0.1
  • Sprint set to 2012-05-22 (15)
  • Status changed from new to accepted

Classes were compiled with java6:

 /tmp/icemock $ file ome/services/blitz/test/utests/Ref.*
ome/services/blitz/test/utests/Ref.class: compiled Java class data, version 50.0 (Java 1.6)
ome/services/blitz/test/utests/Ref.java:  ASCII c program text

comment:2 Changed 7 years ago by jmoore

  • Remaining Time changed from 0.1 to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

Jars recompiled with "-source 1.5 -target 1.5" and pushed to bugfixes-sprint15

comment:3 Changed 7 years ago by jmoore <josh@…>

(In [305726c5b500a83dcfae45d52cdedd6acbe4ab9f/ome.git] on branch develop) Recompile omero-icemock jars with Java 1.5 (Fix #8701)

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.76523 sec.)

We're Hiring!