|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
ESCTools compilation errors under cygwinHi all,
I'm getting the following errors when I try to compile under cygwin: java/javafe/reader/BCELReader.java:357: cannot resolve symbol symbol : method valueOf (int) location: class java.lang.Integer literal = Integer.valueOf(constantInteger.getBytes()); ^ java/javafe/reader/BCELReader.java:364: cannot resolve symbol symbol : method valueOf (long) location: class java.lang.Long literal = Long.valueOf(constantLong.getBytes()); ^ java/javafe/reader/BCELReader.java:371: cannot resolve symbol symbol : method valueOf (int) location: class java.lang.Integer literal = Integer.valueOf(constantForChar.getBytes()); ^ java/javafe/reader/BCELReader.java:378: valueOf(java.lang.String) in java.lang.Float cannot be applied to (float) literal = Float.valueOf(constantFloat.getBytes()); ^ java/javafe/reader/BCELReader.java:385: valueOf(java.lang.String) in java.lang.Double cannot be applied to (double) literal = Double.valueOf(constantDouble.getBytes()); ^ Note: java/javafe/reader/BinReader.java uses or overrides a deprecated API. Note: Recompile with -deprecation for details. 5 errors make[1]: *** [classes.stamp] Error 1 make[1]: Leaving directory `/home/chalin/dev/ESCTools/Javafe' make: *** [build] Error 1 ------------------------------------------------------------------ End at: Thu Jun 7 21:40:21 EDT 2007 Anyone building successfully under Windows and/or Cygwin? Thanks, Patrice -- Patrice Chalin, ing. jr., Associate Prof., www.encs.concordia.ca/~chalin Dependable Software Research Group, CSE Department, Concordia University ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ JMLspecs-ESCJava mailing list JMLspecs-ESCJava@... https://lists.sourceforge.net/lists/listinfo/jmlspecs-escjava |
|
|
Re: ESCTools compilation errors under cygwinHi Patrice,
Are you working in Java 1.5 now Patrice? Perhaps these are 1.5 calls? Dermot? On 8 Jun, 2007, at 3:20, Patrice Chalin wrote: > Hi all, > > I'm getting the following errors when I try to compile under cygwin: > > java/javafe/reader/BCELReader.java:357: cannot resolve symbol > symbol : method valueOf (int) > location: class java.lang.Integer > literal = Integer.valueOf(constantInteger.getBytes()); > ^ > java/javafe/reader/BCELReader.java:364: cannot resolve symbol > symbol : method valueOf (long) > location: class java.lang.Long > literal = Long.valueOf(constantLong.getBytes()); > ^ > java/javafe/reader/BCELReader.java:371: cannot resolve symbol > symbol : method valueOf (int) > location: class java.lang.Integer > literal = Integer.valueOf(constantForChar.getBytes()); > ^ > java/javafe/reader/BCELReader.java:378: valueOf(java.lang.String) > in java.lang.Float cannot be applied to (float) > literal = Float.valueOf(constantFloat.getBytes()); > ^ > java/javafe/reader/BCELReader.java:385: valueOf(java.lang.String) > in java.lang.Double cannot be applied to (double) > literal = Double.valueOf(constantDouble.getBytes()); > ^ > Note: java/javafe/reader/BinReader.java uses or overrides a > deprecated API. > Note: Recompile with -deprecation for details. > 5 errors > make[1]: *** [classes.stamp] Error 1 > make[1]: Leaving directory `/home/chalin/dev/ESCTools/Javafe' > make: *** [build] Error 1 > ------------------------------------------------------------------ > End at: Thu Jun 7 21:40:21 EDT 2007 > > Anyone building successfully under Windows and/or Cygwin? No one here at UCD uses Windows for development. Joe --- Joseph Kiniry School of Computer Science and Informatics University College Dublin http://secure.ucd.ie/ http://srg.cs.ucd.ie/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ JMLspecs-ESCJava mailing list JMLspecs-ESCJava@... https://lists.sourceforge.net/lists/listinfo/jmlspecs-escjava |
|
|
Re: ESCTools compilation errors under cygwinHi Patrice et al,
This is because I used a JDK 1.5 expression (valueOf) which is not supported in JDK 1.4. This is now fixed on the CVS head if you get the latest version of BCELReader.java. Regards, Dermot On Jun 8, 2007, at 3:20 AM, Patrice Chalin wrote: > Hi all, > > I'm getting the following errors when I try to compile under cygwin: > > java/javafe/reader/BCELReader.java:357: cannot resolve symbol > symbol : method valueOf (int) > location: class java.lang.Integer > literal = Integer.valueOf(constantInteger.getBytes()); > ^ > java/javafe/reader/BCELReader.java:364: cannot resolve symbol > symbol : method valueOf (long) > location: class java.lang.Long > literal = Long.valueOf(constantLong.getBytes()); > ^ > java/javafe/reader/BCELReader.java:371: cannot resolve symbol > symbol : method valueOf (int) > location: class java.lang.Integer > literal = Integer.valueOf(constantForChar.getBytes()); > ^ > java/javafe/reader/BCELReader.java:378: valueOf(java.lang.String) > in java.lang.Float cannot be applied to (float) > literal = Float.valueOf(constantFloat.getBytes()); > ^ > java/javafe/reader/BCELReader.java:385: valueOf(java.lang.String) > in java.lang.Double cannot be applied to (double) > literal = Double.valueOf(constantDouble.getBytes()); > ^ > Note: java/javafe/reader/BinReader.java uses or overrides a > deprecated API. > Note: Recompile with -deprecation for details. > 5 errors > make[1]: *** [classes.stamp] Error 1 > make[1]: Leaving directory `/home/chalin/dev/ESCTools/Javafe' > make: *** [build] Error 1 > ------------------------------------------------------------------ > End at: Thu Jun 7 21:40:21 EDT 2007 > > Anyone building successfully under Windows and/or Cygwin? > > Thanks, > Patrice > > -- > Patrice Chalin, ing. jr., Associate Prof., www.encs.concordia.ca/ > ~chalin > Dependable Software Research Group, CSE Department, Concordia > University > > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > JMLspecs-ESCJava mailing list > JMLspecs-ESCJava@... > https://lists.sourceforge.net/lists/listinfo/jmlspecs-escjava ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ JMLspecs-ESCJava mailing list JMLspecs-ESCJava@... https://lists.sourceforge.net/lists/listinfo/jmlspecs-escjava |
|
|
Re: ESCTools compilation errors under cygwinOn Jun 8, 2007, at 9:36 AM, Joseph Kiniry wrote: > Hi Patrice, > > Are you working in Java 1.5 now Patrice? Perhaps these are 1.5 > calls? Dermot? Yes, Radu found this last week and then I changed the BCELReader to also comply with JDK 1.4. The version in the CVS head no longer has these errors. > > On 8 Jun, 2007, at 3:20, Patrice Chalin wrote: > >> Hi all, >> >> I'm getting the following errors when I try to compile under cygwin: >> >> java/javafe/reader/BCELReader.java:357: cannot resolve symbol >> symbol : method valueOf (int) >> location: class java.lang.Integer >> literal = Integer.valueOf(constantInteger.getBytes()); >> ^ >> java/javafe/reader/BCELReader.java:364: cannot resolve symbol >> symbol : method valueOf (long) >> location: class java.lang.Long >> literal = Long.valueOf(constantLong.getBytes()); >> ^ >> java/javafe/reader/BCELReader.java:371: cannot resolve symbol >> symbol : method valueOf (int) >> location: class java.lang.Integer >> literal = Integer.valueOf(constantForChar.getBytes()); >> ^ >> java/javafe/reader/BCELReader.java:378: valueOf(java.lang.String) >> in java.lang.Float cannot be applied to (float) >> literal = Float.valueOf(constantFloat.getBytes()); >> ^ >> java/javafe/reader/BCELReader.java:385: valueOf(java.lang.String) >> in java.lang.Double cannot be applied to (double) >> literal = Double.valueOf(constantDouble.getBytes()); >> ^ >> Note: java/javafe/reader/BinReader.java uses or overrides a >> deprecated API. >> Note: Recompile with -deprecation for details. >> 5 errors >> make[1]: *** [classes.stamp] Error 1 >> make[1]: Leaving directory `/home/chalin/dev/ESCTools/Javafe' >> make: *** [build] Error 1 >> ------------------------------------------------------------------ >> End at: Thu Jun 7 21:40:21 EDT 2007 >> >> Anyone building successfully under Windows and/or Cygwin? > > No one here at UCD uses Windows for development. > > Joe > --- > Joseph Kiniry > School of Computer Science and Informatics > University College Dublin > http://secure.ucd.ie/ > http://srg.cs.ucd.ie/ > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > JMLspecs-ESCJava mailing list > JMLspecs-ESCJava@... > https://lists.sourceforge.net/lists/listinfo/jmlspecs-escjava ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ JMLspecs-ESCJava mailing list JMLspecs-ESCJava@... https://lists.sourceforge.net/lists/listinfo/jmlspecs-escjava |
| Free Forum Powered by Nabble | Forum Help |