Skip to content

Cannot compile unit tests in JDK 1.5 #10

@GoogleCodeExporter

Description

@GoogleCodeExporter
ant test:
 [javac] /home/vaclav/work/gaudao/trunk/modules/distro/src/test/com/spoledge/audao/test/gae/GaeTest.java:886: findAllSblob(java.util.List<byte[]>) in com.spoledge.audao.test.gae.dao.GaeGqlSimpleDao cannot be applied to (java.util.List<<nulltype>[]>)
    [javac]         assertEquals( "sblob 1, 2", 2, dao.findAllSblob( Arrays.asList( sblob1, sblob2 )).length); 
    [javac]                                           ^
    [javac] 1 error

line 886:
assertEquals( "sblob 1, 2", 2, dao.findAllSblob( Arrays.asList( sblob1, sblob2 
)).length);

This error occusrs only when using Java 1.5, when using Java 1.6, then it is 
compiled ok.

java version "1.5.0_15"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
Java HotSpot(TM) Server VM (build 1.5.0_15-b04, mixed mode)

Original issue reported on code.google.com by vbarta...@gmail.com on 18 Feb 2011 at 7:59

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions