Bug 842623 - weka - compile with -target 1.5 or greater
Summary: weka - compile with -target 1.5 or greater
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: weka
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Milos Jakubicek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 842394
TreeView+ depends on / blocked
 
Reported: 2012-07-24 09:27 UTC by Mikolaj Izdebski
Modified: 2012-08-19 11:08 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-08-19 11:08:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mikolaj Izdebski 2012-07-24 09:27:16 UTC
Package weka appears to be using Java generics,
but generates class files in format older than 49.0,
which corresponds to J2SE 5.0, in which generics were introduced.

Please update this package to generate classes in format 49.0 or
above. This corresponds to -target 1.5 option of javac (or ecj).

For more information, see bug #842394

Comment 1 Milos Jakubicek 2012-08-19 11:08:45 UTC
Weka's build.xml already contains:

<javac srcdir="${src}" 
  fork="yes" memoryMaximumSize="${javac_max_memory}"
  destdir="${build}/classes"
  optimize="${optimization}"
  debug="${debug}"
  deprecation="${deprecation}"
  source="1.5" target="1.5">
  <classpath refid="project.class.path" />
</javac>

If that's not enough, please reopen.


Note You need to log in before you can comment on or make changes to this bug.