question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Decompiling class named "aux.class" fails on Windows.

See original GitHub issue

A problem is that in Windows, you cannot create a file named Aux for legacy reasons. Some decompilers mitigate this issue by prefixing the aux.class with an uderscore like _aux.class, I’m wondering if there’s a way to do this with CFR?

Output:

Exception analysing jar
Cannot create dumper org.benf.cfr.reader.util.output.Dumper$CannotCreate: java.io.FileNotFoundException: cfr_output\aux.java (The system cannot find the file specified)
org.benf.cfr.reader.util.output.FileDumper.<init>(FileDumper.java:57)
org.benf.cfr.reader.util.output.InternalDumperFactoryImpl.getNewTopLevelDumper(InternalDumperFactoryImpl.java:65)
org.benf.cfr.reader.Driver.doJarVersionTypes(Driver.java:248)
org.benf.cfr.reader.Driver.doJar(Driver.java:125)
org.benf.cfr.reader.CfrDriverImpl.analyse(CfrDriverImpl.java:65)
org.benf.cfr.reader.Main.main(Main.java:48)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
leibnitz27commented, Dec 11, 2019

baddos.jar.zip

(extra .zip for github happiness).

1reaction
leibnitz27commented, Dec 10, 2019

(the same applies to ‘con’ and ‘prn’ btw)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error when compiling a Java file with an "Aux" class in it
I have a Java file containing a single public class (called Test ) and a private class (called Aux ). When I call...
Read more >
Decompiling Classes in Java - Baeldung
In this tutorial, we'll discuss decompiling Java classes. When source code is not available, decompiling Java classes helps to debug and ...
Read more >
JAva Decompiler (Jad) - Mobilefish.com
Jad is a command line Java decompiler written by Pavel Kouznetsov. ... -pc <pfx>, prefix for classes with numerical names (default: _cls).
Read more >
How to decompile class in Java - Mkyong.com
2.2 Select Window -> Preferences -> General -> Editors -> File Associations , configure the *.class without source default to Class Decompiler ...
Read more >
Microsoft Services Agreement
The Microsoft Services Agreement contains binding arbitration and class action waiver terms that apply to U.S. residents.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found