JLCA Diagnostic Messages Li ...


Java Language Conversion Assistant Reference: Error Messages 
Java Language Errors, Warnings, and Issues 

(1002) Compile Error: Invalid statement

(1003) Note: Declaration changed from final to variable

(1005) Note: Initialize expression was moved to method or constructor

(1011) Note: New code element generated

(1012) Note: Break statement with label is not supported

(1014) Note: Labeled statement moved by Java Language Conversion Assistant

(1015) Note: Continue statement with label is not supported

(1019) Note: Inner classes not provided with enclosing instance

(1021) Note: Inner class member field this$0 is not supported

(1022) Note: Local class declaration is not supported

(1023) Note: Final variable copied to inner class as member field

(1024) Global Note: Anonymous class declaration is not supported

(1025) Note: Interfaces nested within interfaces are not allowed in C#

(1027) Note: Synchronized methods are not supported in the .NET Framework

(1042) Global Warning: Data types in Visual C# might be different

(1043) To Do: Method or property returns a different value in the .NET Framework

(1045) Note: Interfaces cannot contain fields in the .NET Framework

(1062) To Do: NULL value of database columns can be checked by using OleDbDataReader.isDBNull

(1063) To Do: Modify connection string(s) to match the .NET Framework format

(1064) To Do: Modify the string connection to match the .NET Framework format and add the java.util.Properties information to it

(1066) To Do: setLoginTimeout must be a parameter to connection string for OleDbConnection constructor

(1075) Note: Font constructor might generate non-equivalent instances

(1077) To Do: Inheritance for class not supported

(1078) To Do: Make sure that resources used in this class are valid resources files

(1079) Compile Error: All the methods inherited from an abstract class must be implemented

(1083) Note: Bit arrays must be of the same size to allow the operation

(1086) Compile Error: Field equivalent cannot be assigned to an integer variable

(1088) To Do: There is no NULL value defined for a .NET structure

(1089) To Do: Access and file format of configuration settings are different

(1091) Runtime Warning: The equivalent constructor has a different number of parameters

(1092) To Do: Expected value or type of a parameter is different

(1093) To Do: Change code to access value of a .NET class member

(1095) To Do: Code element not mapped in the current release

(1096) Note: Fields mapped to enumerations initialized with integer values

(1099) Note: Exceptions thrown by method might be different

(1100) Note: Catch clauses in a try statement with the same exception

(1101) Runtime Warning: Mapped parameters might throw an exception

(1102) Compile Error: Class must be modified to call superclass

(1103) Compile Error: Field has a different type

(1104) To Do: Use ConnectionString property to set logon and password

(1105) To Do: Method invocation is not necessary

(1107) Global Note: Conversion of setAllowAddNew, setAllowDelete, and setAllowUpdate of the DataGrid class

(1108) To Do: Property or method must be set or called before an invocation

(1109) Compile Error: Converted parameter not compatible with parameter type of method

(1113) Compile Error: Member is reserved for internal use of its package

(1114) To Do: Parameter of setFilter in the OpenFileDialog and SaveFileDialog classes must be changed

(1115) Global Warning: Unsafe code requires a compiler switch to compile

(1116) To Do: COM Custom marshaller might become invalid

(1118) To Do: Check boxes do not provide mutual exclusion when grouped

(1119) Note: User control event attribute not valid

(1123) Note: Class maps to interface

(1124) Note: Code was removed from method body

(1128) Compile Error: Break statement at finally clause level is invalid

(1130) To Do: Equivalent of java.sql.DatabaseMetaData handles query results in System.Data.DataTable

(1132) To Do: Equivalent class does not throw exception for malformed URL

(1133) Global Warning: Equals method can return a different value

(1135) Global Error: The System.Windows.Forms.Application.Run method must be called for the main window

(1137) To Do: User get or set method converted to property has name collisions

(1139) Global Warning: Directory was not converted

(1140) Global Warning: Thread name can be set just once

(1141) Note: Java Language Conversion Assistant commented code from Java Callable Wrapper class for a COM coclass

(1142) To Do: The event method needs to be overloaded

(1143) To Do: Method is not an override method

(1144) Runtime Warning: Add extra logic into componentHidden

(1145) Runtime Warning: Add extra logic into componentShown

(1146) To Do: Declaration and construction for class instance in different lines cannot be converted

(1147) To Do: The <classname> class is marked as sealed

(1148) Note: Synchronized keyword has been removed

(1151) To Do: Inaccesible constructor

(1152) To Do: You must manually convert access to the registry

(1153) To Do: Untranslated statement

(1154) Note: Parameter to constructor of equivalent of class com.ms.wfc.data.ui.DataNavigator

(1155) To Do: Class that derives from Delegate or MulticastDelegate

(1156) Compile Error: Wrong statements

(1157) Compile Error: Method with the same parameter types

(1158) To Do: The way of accessing the file was modified

(1159) Global Warning: Path of archives that depend on the working directory

(1160) To Do: One interface includes the functionality of another one

(1167) Note: getParameter calls without a string literal

(1168) To Do: getParameter that requires rename of parameters

(1169) Note: The default value of property has been changed

(1170) Global Warning: Class mapped to a struct; cannot contain or return a null value

(1171) Note: getSource method must be in an event handling routine

(1172) Global Error: Input project file is corrupt

(1173) To Do: Hexadecimal literal returns a different value

(1174) Note: The form to load a binary file in the .NET Framework is different

(1175) Global Warning: Unsigned long detected

(1177) Runtime Warning: Implementation of interface was converted to a single class

(1178) To Do: Method needs to be modified

(1179) Global Warning: Request the OleDbManager connection string

(1180) Note: Only one transactional attribute is supported

(1181) Runtime Warning: Expressions used more than once in C# code

(1182) To Do: Session parameters are stored in a different order

(1183) Runtime Warning: Init functionality has been converted

(1184) To Do: <Target Name> requires changing the type of the receiving instance

(1185) To Do: Queue access is obtained differently

(1186) Compile Error: Class hierarchy differences might cause compile errors

(1187) Runtime Warning: <Member type> might be executed every time the ASP.NET page loads

(1188) Note: You can choose a protocol for converted RMI methods

(1189) To Do: Multiple-destination messaging requires special destination formatting

(1190) To Do: Activation of Remote objects

(1191) Note: Instance field was converted to static

(1192) To Do: Serialization code may not be converted correctly

(1193) Compile Error: Serialization code was not used in the conversion of the method

(1194) Runtime Warning: A key for a serialized value must be used only once and must match the corresponding key

(1195) To Do: Change in override modifier for nonvirtual method

(1196) Note: Remote interface file conversion

(1197) To Do: Delegate instantiated with String value for function name

(1198) Note: Inheritance of servlet classes can cause wrong manipulation of variables

(1199) Note: Respective javadoc comments were merged

(1200) Note: Base class shared fields have been redeclared with the new modifier

(1201) To Do: Multiple channel registration

(1202) To Do: Reference conversion needs user modification

(1203) Note: Using the class interface to expose public members

(1204) Note: Access modifiers were changed

(1205) To Do: Methods with parameters of primitive type overloaded with parameters of wrapper class type

(1206) Global Note: Converted project must be compiled before opening in Visual Studio designer view

(1207) To Do: Types extending from COM objects should override all methods

(1208) Global Note: System.Data.OleDb namespace can be replaced with another namespace

(1209) Note: Method was not converted to property

(1210) Global Warning: Deserialization level might have to be changed

(1211) Runtime Warning: Channel registration can fail without notice

(1212) Note: Array bounds were not validated

(1213) Global Note: Configuration file was added during the conversion

(1214) Compile Error: Server address must be completed by the user

(1215) Compile Error: Server port must be completed by the user

(1216) Compile Error: Remote object name must be completed by the user

(1217) Global Warning: Languages other than Java are not supported

(1218) Global Warning: Java-language non-native definitions converted to Visual C# native constructions

(1219) Global Note: System.MarshalByRefObject.InitializeLifetimeService overridden

(1220) To Do: Reset method must be implemented

(1221) To Do: Parent invocations in methods from applets

(1222) Runtime Warning: Equivalent constructor has more parameters

(1223) Global Warning: Output of bidirectional languages

(1224) To Do: Method returns different type

(1225) Global Warning: Primitive type castings have different behavior

(1227) Note: Code copied for visual layout

(1228) Note: Commented code was moved to the InitializeComponent method

(1230) Runtime Warning: Add a ContainerControl before other forms

(1231) To Do: More than one Java class member is converted to the same member in Visual C#

(1232) To Do: The method or property must be implemented in order to preserve the class logic

(1233) Note: In a converted servlet class, the keyword "this" may behave differently

(1234) Note: Inner class is now serializable

(1235) Compile Error: There is no equivalent base class method in the .NET Framework

(1236) To Do: Verify the list of servlet filters

(1237) Note: EJB was converted to serviced component

(1238) To Do: EJB callback method not supported

(1239) Global Warning: Class or interface used by more than one EJB

(1240) To Do: Reimplement data binding for EJB beans with container-managed persistence

(1241) To Do: Move and adapt EJBHome interface methods

(1242) To Do: Reimplement EJB 2.0 CMP finder method

(1243) To Do: Reimplement EJB 1.1 CMP finder method

(1244) To Do: Reimplement the EJB 2.0 CMP relationship

(1245) To Do: EJB transaction attribute not supported at method level

(1246) To Do: EJB transaction attribute not supported

(1247) Global Warning: Exceptions thrown within transaction contexts always roll back the current transaction

(1248) Warning: EJB method cannot be excluded

(1249) Warning: Security access checks cannot be disabled for unchecked methods

(1250) Global Warning: Security level needs to be changed

(1251) Note: Custom marshaling and unmarshaling is ignored

(1252) Global Warning: System includes are ignored

(1253) To Do: Replace EJB resource references

(1254) To Do: Replace EJB references with .NET equivalents

(1255) Global Note: EJB environment entries must be available to the current component

(1256) Global Note: EJB reentrance not supported

(1257) Global Warning: JNDI security

(1258) To Do: Adjust remoting context initialization manually

(1259) To Do: Remote object registration uses only the default constructor

(1260) To Do: IDL value type default factories are not needed in Visual C#

(1261) Note: Servlet destroy methods will not be called by the runtime

(1262) To Do: Import declarations of unavailable types or packages may cause compile errors

(1263) To Do: Web application filter behavior is different.

(1264) Global Warning: Events behave differently in the .NET Framework

(1265) Runtime Warning: Equivalent method has fewer parameters

(1266) Runtime Warning: Objects derived from System.MarshalByRefObject can be serialized only in their own domain

(1267) Note: Portions of code for the visual layout were moved to InitializeComponent

(1268) Note: A parameterless constructor was added for a serializable class

(1269) To Do: Members of classes that have more than one equivalent in Visual C# may not work

(1270) To Do: Constructor needs to be replaced

(1271) Note: This method can be removed

(1272) To Do: Unsupported IDL preprocessor directives were not converted

(1273) Note: Context was not converted

(1274) Global Warning: Member execution sequence may differ

(1275) Note: RMI server applications wait for client requests before terminating

(1277) To Do: Equivalent class is not serializable

(1278) Note: Out parameters must be assigned before the method returns

(1279) Runtime Warning: Method name passed to delegate creation may not be valid

(1280) To Do: A third-party package was found, but not necessarily converted

(1281) Global Warning: Remoting exceptions might occur due to invalid XML characters

(1282) Global Warning: Visual C# might not resolve ambiguous namespaces properly

(1283) Global Warning: Move converted ASP projects or JSP applets

(1284) Note: The getModifiers method simulation might not work for some controls

(1285) Global Warning: The converted implementation of a property editor could have different behavior

(1286) Note: Value type implementation was moved to the shared assembly

(1287) To Do: Transformation string might not be supported

(1288) Note: Cryptographic classes that handle keys behave differently

(1290) Global Warning: DirectX must be installed to support sound

(1291) To Do: Structures do not have an equivalent to NULL in Visual C#

(1292) Note: UI scroll fields have no effect on scrollbar conversion

(1293) Global Warning: All JNDI exceptions are mapped to System.Exception

(1294) Compile Error: The com.ms.wfc.html package is not supported

(1295) To Do: Visual C# has no constructor with an object as a parameter

(1296) Note: Change in access modifier

(1297) Global Warning: Enumerators must be started before accessing their data

(1298) Note: BeanInfo functionality transferred to the corresponding Visual C# component

(1299) To Do: Returned expression must be converted manually

(1300) To Do: TypeConverter needs a proper System.ComponentModel.Design.Serialization.InstanceDescriptor

(1301) Global Warning: JavaBeans sources must be in the project directory

(1302) Global Error: Conversion of ValueBase can cause a type mismatch

(1303) Note: The ref keyword was added to structure parameters

(1304) Note: Conversion of JavaBeans could generate deployment issues

(1305) Global Warning: Event-handler links for AwtUI components might be lost

(1306) Note: Method or property implementation has been added

(1307) To Do: Statement cannot be moved to InitializeComponent

(1308) Note: Methods in listener are converted, but not used

(1309) Note: Delegate might have a different return value

(1310) To Do: EJB class has multiple-inheritance issues

(1311) To Do: Possible EJB is missing a deployment descriptor

(1312) Runtime Warning: There is no equivalent to the Mandatory transaction attribute

(1313) Note: Statement is unnecessary if there are no references to it

(1314) Global Warning: Converted EJB has default security features enabled

(1315) To Do: Parameter cannot be passed by reference

(1316) Global Warning: EJB transaction attribute was not applied

(1317) Compile Error: ValueType arrays cannot be assigned, compared, or passed as parameters

(1318) Global Warning: You need to rename the JAAS configuration file

(2001) Runtime Warning: Some server-side tags that must be unique could be repeated when including files

(2002) Runtime Warning: Dynamic file inclusion is not allowed in Aspx

(2003) Note: Attribute "buffer" can have only two valid values in ASP.NET

(2004) Note: Request scope was changed to Session scope

(2005) Global Error: Web.Config customErrors Mode property must be set to "On"

(2006) To Do: File will not be converted

(2007) Note: Script variables can be out of scope when moving blocks inside custom tags to methods

(2008) Note: Control structures will not work properly when moving blocks of code inside custom tags

(4010) Global Error: ActiveX reference is different

(4011) Global Error: Invalid character found in file

(4012) Global Warning: Code page not available on system

(4013) Note: Specified TLD file could not be found or parsed

(4014) Global Warning: Typelib not the same as the registered one

(4015) Note: User control ID has been changed

(4020) Global Error: Archive file could not be decompressed

(4021) Global Error: Archive file could not be read

(5000) To Do: Method is not marked as virtual

See Also

Other Resources

JLCA Diagnostic Messages Listed by Package
Converting Java Applications to Visual C#

Tags :


Page view tracker