Skip to content

Commit 376510b

Browse files
committed
2.9.2
02/24/2015 - Actually fixed the compiler, LOL.
1 parent 177019d commit 376510b

File tree

4 files changed

+19
-12
lines changed

4 files changed

+19
-12
lines changed
15.3 MB
Binary file not shown.

BytecodeViewer.exe

1 Byte
Binary file not shown.

README.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,4 +321,6 @@ Changelog:
321321
02/23/2015 - It once again works with Java 8 Jars.
322322
--- 2.9.1 ---:
323323
02/24/2015 - Fixed the third pane window not showing the search buttons.
324-
02/24/2015 - Fixed some issues with the compiler functionality.
324+
02/24/2015 - Fixed some issues with the compiler functionality.
325+
--- 2.9.2 ---:
326+
02/24/2015 - Actually fixed the compiler, LOL.

src/the/bytecode/club/bytecodeviewer/BytecodeViewer.java

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -74,16 +74,15 @@
7474
* bytecode editor that works by editing per method instead of entire class, methods are in a pane like the file navigator
7575
* Make the tabs menu and middle mouse button click work on the tab itself not just the close button.
7676
*
77-
* 2.9.1:
77+
* 2.9.2:
7878
* make it use that global last used inside of export as jar
7979
* Spiffy up the plugin console with hilighted lines
8080
* Take https://github.com/ptnkjke/Java-Bytecode-Editor visualize
8181
* fix the randomly sometimes fucked up names on file navigation bug
8282
* make zipfile not include the decode shit
8383
*
84-
* -----2.9.1-----:
85-
* 02/24/2015 - Fixed the third pane window not showing the search buttons.
86-
* 02/24/2015 - Fixed some issues with the compiler functionality.
84+
* -----2.9.2-----:
85+
* 02/24/2015 - Actually fixed the compiler, LOL.
8786
*
8887
* @author Konloch
8988
*
@@ -92,7 +91,7 @@
9291
public class BytecodeViewer {
9392

9493
/*per version*/
95-
public static String version = "2.9.1";
94+
public static String version = "2.9.2";
9695
public static String krakatauVersion = "2";
9796
/*the rest*/
9897
public static MainViewerGUI viewer = null;
@@ -413,8 +412,10 @@ public static boolean compile(boolean message) {
413412
for(java.awt.Component c : BytecodeViewer.viewer.workPane.getLoadedViewers()) {
414413
if(c instanceof ClassViewer) {
415414
ClassViewer cv = (ClassViewer) c;
416-
if((cv.smali1 != null && cv.smali2 != null && cv.smali3 != null) &&
417-
(cv.smali1.isEditable() || cv.smali2.isEditable() || cv.smali3.isEditable())) {
415+
if( cv.smali1 != null && cv.smali1.isEditable() ||
416+
cv.smali2 != null && cv.smali2.isEditable() ||
417+
cv.smali3 != null && cv.smali3.isEditable())
418+
{
418419
actuallyTried = true;
419420
Object smali[] = cv.getSmali();
420421
if(smali != null) {
@@ -432,8 +433,10 @@ public static boolean compile(boolean message) {
432433
}
433434

434435

435-
if((cv.krakatau1 != null && cv.krakatau2 != null && cv.krakatau3 != null) &&
436-
(cv.krakatau1.isEditable() || cv.krakatau2.isEditable() || cv.krakatau3.isEditable())) {
436+
if(cv.krakatau1 != null && cv.krakatau1.isEditable() ||
437+
cv.krakatau2 != null && cv.krakatau2.isEditable() ||
438+
cv.krakatau3 != null && cv.krakatau3.isEditable())
439+
{
437440
actuallyTried = true;
438441
Object krakatau[] = cv.getKrakatau();
439442
if(krakatau != null) {
@@ -450,8 +453,10 @@ public static boolean compile(boolean message) {
450453
}
451454
}
452455

453-
if((cv.java1 != null && cv.java2 != null && cv.java3 != null) &&
454-
(cv.java1.isEditable() || cv.java2.isEditable() || cv.java3.isEditable())) {
456+
if( cv.java1 != null && cv.java1.isEditable() ||
457+
cv.java2 != null && cv.java2.isEditable() ||
458+
cv.java3 != null && cv.java3.isEditable())
459+
{
455460
actuallyTried = true;
456461
Object java[] = cv.getJava();
457462
if(java != null) {

0 commit comments

Comments
 (0)