Changeset 10949 in josm for trunk


Ignore:
Timestamp:
2016-09-04T00:59:26+02:00 (8 years ago)
Author:
Don-vip
Message:

fix #13232 - fix proguard configuration with serialization methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r10928 r10949  
    504504        -keep class * extends org.openstreetmap.josm.io.FileExporter
    505505        -keep class org.openstreetmap.josm.actions.search.SearchCompiler$Never
    506         -keep class org.openstreetmap.josm.gui.mappaint.mapcss.Condition$PseudoClasses {
     506        -keep class org.openstreetmap.josm.gui.mappaint.mapcss.ConditionFactory$PseudoClasses {
    507507            static boolean *(org.openstreetmap.josm.gui.mappaint.Environment);
    508508        }
     
    517517        -keepclassmembers class * {
    518518            public protected *;
     519        }
     520
     521        # Keep serialization methods
     522        -keepclassmembers class * implements java.io.Serializable {
     523            private void writeObject(java.io.ObjectOutputStream);
     524            private void readObject(java.io.ObjectInputStream);
    519525        }
    520526
Note: See TracChangeset for help on using the changeset viewer.