Skip to content

Commit

Permalink
JACOBIN-645 Updated filename massage to avoid circularity
Browse files Browse the repository at this point in the history
  • Loading branch information
platypusguy committed Feb 1, 2025
1 parent aefd0e5 commit 3413252
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/config/buildno.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@

package config

var BuildNo = 3450
var BuildNo = 3453
7 changes: 4 additions & 3 deletions src/frames/frames.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Jacobin VM - A Java virtual machine
* Copyright (c) 2022-4 by the Jacobin authors. All rights reserved.
* Copyright (c) 2022-5 by the Jacobin authors. All rights reserved.
* Licensed under Mozilla Public License 2.0 (MPL 2.0)
*/

Expand All @@ -9,7 +9,7 @@ package frames
import (
"container/list"
"fmt"
"jacobin/util"
"strings"
"unsafe"
)

Expand Down Expand Up @@ -124,5 +124,6 @@ func PeekFrame(fs *list.List, which int) *Frame {

// From the given frame, return the FQN as a formatted string.
func FormatFQN(fr *Frame) string {
return fmt.Sprintf("%s.%s%s", util.ConvertInternalClassNameToUserFormat(fr.ClName), fr.MethName, fr.MethType)
clName := strings.ReplaceAll(fr.ClName, "/", ".")
return fmt.Sprintf("%s.%s%s", clName, fr.MethName, fr.MethType)
}

0 comments on commit 3413252

Please sign in to comment.