<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/proguard/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/proguard/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/proguard/bugs/</id><updated>2020-02-27T00:15:56.351000Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>#757 ProGuard 6.1.1 creates invalid byte code for nest based access (Java 11)</title><link href="https://sourceforge.net/p/proguard/bugs/757/?limit=25#c0e1" rel="alternate"/><published>2020-02-27T00:15:56.351000Z</published><updated>2020-02-27T00:15:56.351000Z</updated><author><name>Scott W Palmer</name><uri>https://sourceforge.net/u/cfxmarvin/</uri></author><id>https://sourceforge.net108154d5493c83a900de50a3fde42684ab510b23</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The test case I provided in the github report is passing now, but I get the exact same error in my actual application.  Some case is still causing this problem.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#757 ProGuard 6.1.1 creates invalid byte code for nest based access (Java 11)</title><link href="https://sourceforge.net/p/proguard/bugs/757/?limit=25#7113" rel="alternate"/><published>2020-02-20T18:01:15.283000Z</published><updated>2020-02-20T18:01:15.283000Z</updated><author><name>Scott W Palmer</name><uri>https://sourceforge.net/u/cfxmarvin/</uri></author><id>https://sourceforge.net4a00df73cba5379467a6d6505ed2dedfef8bf996</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This is not fixed.  As of 6.2.2 and 6.3.0beta1 I still get the same error.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#697 Unrelated classes are being kept.</title><link href="https://sourceforge.net/p/proguard/bugs/697/?limit=25#12f0" rel="alternate"/><published>2020-02-04T14:14:26.432000Z</published><updated>2020-02-04T14:14:26.432000Z</updated><author><name>randomname</name><uri>https://sourceforge.net/u/randomname1/</uri></author><id>https://sourceforge.neta4b791740c0ca52d320d80dfc44d75de540a90ca</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The attachment I included in the original report: "proguardoutput", is a text file that has the configuration at the beginning, and after that (separated with some blank lines and a line of equal signs) comes the log.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#671 Failure to read  multi release jars</title><link href="https://sourceforge.net/p/proguard/bugs/671/?limit=25#3ec9" rel="alternate"/><published>2019-12-08T19:30:08.945000Z</published><updated>2019-12-08T19:30:08.945000Z</updated><author><name>T. Neidhart</name><uri>https://sourceforge.net/u/tn100/</uri></author><id>https://sourceforge.net0e3d46ed3e52457dd51a3e99d6d01c3b42190836</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;ok please create a separate ticket for this and include all necessary information to reproduce the issue. This does not seem to be related to versioned classes inside jar files.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#671 Failure to read  multi release jars</title><link href="https://sourceforge.net/p/proguard/bugs/671/?limit=25#289e/a2c6" rel="alternate"/><published>2019-12-08T19:19:42.316000Z</published><updated>2019-12-08T19:19:42.316000Z</updated><author><name>i-pk-pjers-i</name><uri>https://sourceforge.net/u/i-pk-pjers-i/</uri></author><id>https://sourceforge.net5cd738ba6236ebcca13b78806687a69ff65a45a1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, it includes log4j2.xml - log4j2 does attempt to read the log4j2.xml file which is why it throws a warning/error when trying to read the PatternLayout pattern element. &lt;/p&gt;
&lt;p&gt;I do have keep class for all of the libraries like disruptor and log4j2.&lt;/p&gt;
&lt;p&gt;Cheers.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#671 Failure to read  multi release jars</title><link href="https://sourceforge.net/p/proguard/bugs/671/?limit=25#289e" rel="alternate"/><published>2019-12-08T19:08:54.213000Z</published><updated>2019-12-08T19:08:54.213000Z</updated><author><name>T. Neidhart</name><uri>https://sourceforge.net/u/tn100/</uri></author><id>https://sourceforge.net0b5fafca3ed6363915c2f5bda8fc6e37455cc2ea</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I dont know the contents of the jar file that you are willing to obfuscate, does it also include log4j2 itself?&lt;/p&gt;
&lt;p&gt;Log4j2 uses reflection a lot, it is likely that due to obfuscation some things do not work properly anymore, its suggested to add a rule like this:&lt;/p&gt;
&lt;p&gt;-keep class org.apache.logging.log4j.*&lt;em&gt; { &lt;/em&gt;; }&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#671 Failure to read  multi release jars</title><link href="https://sourceforge.net/p/proguard/bugs/671/?limit=25#5363/073a" rel="alternate"/><published>2019-12-08T15:49:15.926000Z</published><updated>2019-12-08T15:49:15.926000Z</updated><author><name>i-pk-pjers-i</name><uri>https://sourceforge.net/u/i-pk-pjers-i/</uri></author><id>https://sourceforge.net0582b0ab39caf2c8e965a2b282fd441901f9c8bb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you're replying to my comment, I posted a picture of my issue, as well as the exact configuration of log4j2.xml as well as my ProGuard configuration. The log4j2.xml seems like it is being read properly, which is why it detects that there is a PatternLayout tag. You can see the log4j2.xml exists in the jar here: &lt;a href="https://i.imgur.com/eoRjDLU.png" rel="nofollow"&gt;https://i.imgur.com/eoRjDLU.png&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Cheers.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#671 Failure to read  multi release jars</title><link href="https://sourceforge.net/p/proguard/bugs/671/?limit=25#5363" rel="alternate"/><published>2019-12-08T10:12:53.895000Z</published><updated>2019-12-08T10:12:53.895000Z</updated><author><name>T. Neidhart</name><uri>https://sourceforge.net/u/tn100/</uri></author><id>https://sourceforge.net80eeccd85644bd8cdfab2d30f37725c66b86cefc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Can you share a small sample illustrating your problem?&lt;br/&gt;
The obfuscated jar would also be helpful. I also dont know what configuration you are using, maybe the log4j2.xml file gets corrupted during processing or is not correctly included in the output jar.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#671 Failure to read  multi release jars</title><link href="https://sourceforge.net/p/proguard/bugs/671/?limit=25#0b0c" rel="alternate"/><published>2019-12-08T01:09:04.256000Z</published><updated>2019-12-08T01:09:04.256000Z</updated><author><name>i-pk-pjers-i</name><uri>https://sourceforge.net/u/i-pk-pjers-i/</uri></author><id>https://sourceforge.net203425743fdb93b06967c50b853aae1260ae0d2b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I'm still having issues with this even with 6.2.1. &lt;/p&gt;
&lt;p&gt;I get this lovely output in my console: &lt;a href="https://i.imgur.com/kihYzjY.png" rel="nofollow"&gt;https://i.imgur.com/kihYzjY.png&lt;/a&gt;&lt;br/&gt;
2019-12-07 20:00:51,156 main ERROR PatternLayout contains an invalid element or attribute "pattern"&lt;/p&gt;
&lt;p&gt;when an obfuscated application attempts to read my log4j2.xml file: &lt;a href="https://pastebin.com/C0hQkTMY" rel="nofollow"&gt;https://pastebin.com/C0hQkTMY&lt;/a&gt; - even though the logger.error("Yes") still prints to the console, as you can see in the picture I linked - it's missing my custom pattern for date/time. &lt;/p&gt;
&lt;p&gt;Here is my ProGuard configuration: &lt;a href="https://pastebin.com/3FXyezDn" rel="nofollow"&gt;https://pastebin.com/3FXyezDn&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Keep in mind, this works pefectly before passing the application through ProGuard.&lt;/p&gt;
&lt;p&gt;I'm not sure if I'm doing something wrong, and my issue is unrelated to not being able to read multi release jars (even though I'm on Java 11 so it might be anyway) so I dunno.&lt;/p&gt;
&lt;p&gt;I tried this in my code so that it loads the log4j2 file properly (even though, I think it is above, since it recognizes that I have a PatternLayout): &lt;br/&gt;
System.setProperty("log4j.configurationFile","./log4j2.xml");&lt;/p&gt;
&lt;p&gt;but that only throws an error of:&lt;br/&gt;
ERROR StatusLogger File not found in file system or classpath: ./log4j2.xml&lt;br/&gt;
ERROR StatusLogger Reconfiguration failed: No configuration found for 'AsyncContext@4b85612c' at 'null' in 'null'&lt;/p&gt;
&lt;p&gt;I know I'm not the only person having problems using ProGuard with log4j2, especially under Java 11, I'd love some insight on this if possible..&lt;/p&gt;
&lt;p&gt;Cheers.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#760 Non-ascii characters in filenames get broken in obfuscated JAR</title><link href="https://sourceforge.net/p/proguard/bugs/760/?limit=25#030d" rel="alternate"/><published>2019-12-06T21:43:10.258000Z</published><updated>2019-12-06T21:43:10.258000Z</updated><author><name>T. Neidhart</name><uri>https://sourceforge.net/u/tn100/</uri></author><id>https://sourceforge.net97012be996251df68227ac9c8ccb9da68b1851d5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The problem with filenames containing utf-8 characters could be reproduced. This is because the general purpose flag ist not properly setup and also the version made by has to be adapted to properly support that, see: &lt;a href="https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT" rel="nofollow"&gt;https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>