2024-11-23 19:25 AEDT

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000234mercuryBugpublic2011-12-03 04:59
Reporterjuliensf 
Assigned Tojuliensf 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0000234: java grade does not compile with Java SE 7
DescriptionCompilation of the the java grade with javac 1.7.0_01 causes numerous errors of the type
below. (This is with Windows Server 2008 R2 and Mercury 11.07-beta.)
Additional InformationMercury\javas\jmercury\exception.java:2904: error: reference to TypeInfo_Struct is ambiguous, both constructor TypeInfo_Struct(TypeInfo_Struct,int,Obj
n TypeInfo_Struct and constructor TypeInfo_Struct(TypeInfo_Struct,Object...) in TypeInfo_Struct match
        TypeInfo_25_25 = new jmercury.runtime.TypeInfo_Struct(TypeCtorInfo_23_23, ActualArity_24, TypeInfo_for_T_21, TypeCtorInfo_22_22);
                         ^
Mercury\javas\jmercury\exception.java:4631: error: reference to TypeInfo_Struct is ambiguous, both constructor TypeInfo_Struct(TypeInfo_Struct,int,Obj
n TypeInfo_Struct and constructor TypeInfo_Struct(TypeInfo_Struct,Object...) in TypeInfo_Struct match
        TypeInfo_47_47 = new jmercury.runtime.TypeInfo_Struct(TypeCtorInfo_45_45, ActualArity_46, TypeInfo_for_T_36, TypeInfo_44_44);
                         ^
Mercury\javas\jmercury\exception.java:4697: error: reference to TypeInfo_Struct is ambiguous, both constructor TypeInfo_Struct(TypeInfo_Struct,int,Obj
n TypeInfo_Struct and constructor TypeInfo_Struct(TypeInfo_Struct,Object...) in TypeInfo_Struct match
        TypeInfo_42_42 = new jmercury.runtime.TypeInfo_Struct(TypeCtorInfo_40_40, ActualArity_41, TypeInfo_for_T_36, TypeInfo_39_39);
                         ^
Mercury\javas\jmercury\bit_buffer.java:321: error: reference to TypeInfo_Struct is ambiguous, both constructor TypeInfo_Struct(TypeInfo_Struct,int,Obj
n TypeInfo_Struct and constructor TypeInfo_Struct(TypeInfo_Struct,Object...) in TypeInfo_Struct match
    MR_scalar_common_3[0] = new jmercury.runtime.TypeInfo_Struct(jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0),
                            ^
Mercury\javas\jmercury\dir.java:2352: error: reference to TypeInfo_Struct is ambiguous, both constructor TypeInfo_Struct(TypeInfo_Struct,int,Object...
Info_Struct and constructor TypeInfo_Struct(TypeInfo_Struct,Object...) in TypeInfo_Struct match
                          TypeInfo_76_76 = new jmercury.runtime.TypeInfo_Struct(TypeCtorInfo_74_74, ActualArity_75, TypeInfo_71_71, TypeCtorInfo_72_72
rInfo_73_73);
                                           ^
Mercury\javas\jmercury\erlang_rtti_implementation.java:1174: error: reference to TypeInfo_Struct is ambiguous, both constructor TypeInfo_Struct(TypeIn
,int,Object...) in TypeInfo_Struct and constructor TypeInfo_Struct(TypeInfo_Struct,Object...) in TypeInfo_Struct match
    MR_scalar_common_2[2] = new jmercury.runtime.TypeInfo_Struct(jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0),
                            ^
Mercury\javas\jmercury\erlang_rtti_implementation.java:3184: error: reference to TypeInfo_Struct is ambiguous, both constructor TypeInfo_Struct(TypeIn
,int,Object...) in TypeInfo_Struct and constructor TypeInfo_Struct(TypeInfo_Struct,Object...) in TypeInfo_Struct match
        TypeInfo_11_11 = new jmercury.runtime.TypeInfo_Struct(TypeCtorInfo_9_9, ActualArity_10, TypeCtorInfo_8_8, TypeInfo_for_T_6);
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0000412

juliensf (administrator)

It's fine with 1.6 (SE 6) on the same machine.

~0000426

juliensf (administrator)

Fix committed.
+Notes

-Issue History
Date Modified Username Field Change
2011-11-24 16:29 juliensf New Issue
2011-11-25 13:07 juliensf Note Added: 0000412
2011-11-30 17:49 juliensf Status new => assigned
2011-11-30 17:49 juliensf Assigned To => juliensf
2011-12-03 04:59 juliensf Note Added: 0000426
2011-12-03 04:59 juliensf Status assigned => resolved
2011-12-03 04:59 juliensf Resolution open => fixed
+Issue History