#1 Support for jdk 1.4

1.0 Beta3
closed-fixed
Thorsten Heit
5
2002-05-13
2002-04-15
No

Would be nice if JavaGuard worked with classfiles
compiled with jdk1.4, a problem inherited from
RetroGuards lack of updates..

I've patched my own copy of RetroGuard before;
changing MAJOR_VERSION = 0x2E before in
ClassConstants.java.. which works well enough with our
project, but I havn't tried the patch against any
other programs.

See:

http://groups.google.com/groups?selm=Afhd8.77774%
248d1.25201205%40news1.rdc1.md.home.com&output=gplain

Discussion

  • Thorsten Heit
    Thorsten Heit
    2002-04-15

    Logged In: YES
    user_id=463419

    I've changed the class reader so that it now recognizes
    classes compiled under JDK 1.4.
    The necessary changes are contained in the CVS version.

    However JavaGuard still needs some more testing whether it
    works correctly under 1.4.

     
  • Thorsten Heit
    Thorsten Heit
    2002-04-15

    • assigned_to: nobody --> glurk
    • labels: --> Improvements
    • milestone: --> 194867
    • status: open --> closed-works-for-me
     
  • Thorsten Heit
    Thorsten Heit
    2002-04-16

    • status: closed-works-for-me --> closed-later
     
  • Thorsten Heit
    Thorsten Heit
    2002-04-16

    Logged In: YES
    user_id=463419

    JavaGuard doesn't complain when using class files compiled
    under JDK 1.4 but as I have seen today the obfuscated code
    doesn't work correctly (see the Bugs database). Obviously
    there's a change in the format of the class files between
    JDK 1.3 and 1.4 which causes calls to obfuscated methods
    defined in super classes to fail in subclasses as long as
    you don't prepend your function calls with "super".

     
  • Thorsten Heit
    Thorsten Heit
    2002-05-13

    Logged In: YES
    user_id=463419

    The current release finally contains the missing support for
    classes that are compiled by javac with the "-target 1.2"
    (or higher) command line option (default setting under JDK 1.4).

    Thorsten

     
  • Thorsten Heit
    Thorsten Heit
    2002-05-13

    • milestone: 194867 --> 1.0 Beta3
    • status: closed-later --> closed-fixed
     
  • Logged In: YES
    user_id=234263

    Thanks for all your work on this Thorsten, It's very much
    appreciated.. I'll try out the new changes as soon as we
    get the oppertuinity to attmept a 1.4 version of our app,
    1.4.0_01 should be released soon (june/july) which should
    address at least one of the major issues (bugs) standing in
    the way of any planned migration.

    Looked at the retroguard page this morning - still nothing
    has changed for years? wonder what happened to retrologic.

    Richard