Title: AW: (ROSE) reversing java library classes with java 1.4.0

I tried it with java.io.File, too and got the same error.
The full message was

12:50:22|  Parser Error: near token false on line 2521 occurred in File java\net\URI.java
12:51:15|  Error Resolving qualified name URI occurred in File java\io\File.java

When I looked at java.net.URI at that line, I found

2515 |    private static void appendEncoded(StringBuffer sb, char c) {
     |        ByteBuffer bb = null;
     |        try {
     |            bb = ThreadLocalCoders.encoderFor("UTF-8")
     |                .encode(CharBuffer.wrap("" + c));
     |        } catch (CharacterCodingException x) {
2521 |            assert false;
     |        }
                        ...

It seems, that the parser cannot work with "assert" (wich is new in J2SE 1.4).


Rational has a TechNote (oh, sorry - a "solution" :-):
http://eservice.rational.com/eservice/start.swe?SWEMethod=Drilldown&SWEApplet=Search+Results+List+Applet+(eService)&SWEView=Search+Results+View+(eService)&SWEApcnt=2&SWEField=l_Summary&SWECmd=InvokeMethod&SWECount=2&SWERowIds=SWERowId0%3dVRId-0


mit freundlichen Gr��en
Jan Mat�rne

RZF NRW
Sachgebiet 314-P Methodenberatung
Internet:       [EMAIL PROTECTED]


    -----Urspr�ngliche Nachricht-----
    Von:    Noel Benjamin [SMTP:[EMAIL PROTECTED]]
    Gesendet am:    Montag, 18. M�rz 2002 11:20
    An:     [EMAIL PROTECTED]
    Betreff:        (ROSE) reversing java library classes with java 1.4.0


    Hi,

    Problem when reversing java library classes with java 1.4.0

    I set a classpath on java sources : j2sdk1.4.0\src.zip and when
    reversing
    a java library class (for example java.io.File but it's similar with a
    lot of classes),
    I have the following message in the log :
    Parser Error : near token false on line xxxx occured in file yyy.java

    I had not this problem with java 1.3

    Thanks

    ************************************************************************
    * Rose Forum is a public venue for ideas and discussions.
    * For technical support, visit http://www.rational.com/support
    *
    * Post or Reply to: [EMAIL PROTECTED]
    * Subscription Requests: [EMAIL PROTECTED]
    * Archive of messages:
    *    http://www.rational.com/support/usergroups/rose/rose_forum.jsp
    * Other Requests: [EMAIL PROTECTED]
    *
    * To unsubscribe from the list, please send email
    *    To: [EMAIL PROTECTED]
    *    Subject: <BLANK>
    *    Body: unsubscribe rose_forum
    *************************************************************************

Reply via email to