bjgf issueshttps://gitlab.bluej.org/bluej/bjgf/-/issues2021-11-10T10:28:44Zhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1343[BLUEJ-1371] Using system.exit() in a class may provke BlueJ user JVM unrespo...2021-11-10T10:28:44ZNeil Brown[BLUEJ-1371] Using system.exit() in a class may provke BlueJ user JVM unresponsivenessTried with BlueJ 5.0.2 Windows (standalone), with a class that contains "System.exit(0)" in its main method. The class content is given below. (Don't know if that makes any difference: the BlueJ terminal is set to wipe at each method cal...Tried with BlueJ 5.0.2 Windows (standalone), with a class that contains "System.exit(0)" in its main method. The class content is given below. (Don't know if that makes any difference: the BlueJ terminal is set to wipe at each method call)
To reproduce the bug do the following:
1) right click on the given class to open the menu, and select "new Test()"; do NOT validate the popup, just leave it open
2) right click on the given class to open the menu, and select "void main(String[] args)", and click OK
3) quite quickly soon after step 2, now validate the popup of step 1)
The new object shouldn't be created. If it did, repeat this procedure until the object doesn't get created.
When this happens, no object can further be created, the main method doesn't produce anything. BlueJ isn't crashed as such it looks like nothing can be done on the user JVM.
Class:
public class Test
{
public Test()
{
System.out.println("One.. ");
System.out.println("Two.. ");
System.out.println("Three.. ");
System.out.println("Four.. ");
System.out.println("Five.. ");
System.out.println("Six.. ");
System.out.println("Seven.. ");
}
public static void main(String[] args) {
Test app = new Test();
System.exit(0);
}
}
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1341[BLUEJ-1369] Linux BlueJ icon2021-11-03T09:39:09ZNeil Brown[BLUEJ-1369] Linux BlueJ iconcf support email received on 02/11/21
"on Linux using Unity, the BlueJ application has no default icon on the Unity favorites bar. The problem is that /usr/share/applications/bluej.desktop is missing a setting. You need to add the f...cf support email received on 02/11/21
"on Linux using Unity, the BlueJ application has no default icon on the Unity favorites bar. The problem is that /usr/share/applications/bluej.desktop is missing a setting. You need to add the following line:
StartupWMClass=bluej.Boot$App"
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1340[BLUEJ-1368] Curly bracket mismatch hide error messages2021-11-01T09:39:48ZNeil Brown[BLUEJ-1368] Curly bracket mismatch hide error messagescf email forwarded by Babis on 28/10/21
!image-2021-11-01-09-39-07-065.png!
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumcf email forwarded by Babis on 28/10/21
!image-2021-11-01-09-39-07-065.png!
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1339[BLUEJ-1367] Menus do not respond to clicks or do not open2021-11-01T09:03:50ZNeil Brown[BLUEJ-1367] Menus do not respond to clicks or do not openImmediately after opening BlueJ, the top row menus (which by the way are missing a keyboard shortcut to access) do not respond to mouse clicks.
After double-clicking on a class in a project to open it, and then close it, the menus sta...Immediately after opening BlueJ, the top row menus (which by the way are missing a keyboard shortcut to access) do not respond to mouse clicks.
After double-clicking on a class in a project to open it, and then close it, the menus start working.
debug-log doesn't seem to show anything useful
BlueJ run started: Mon Nov 01 08:57:54 GMT 2021
BlueJ version 5.0.2
Java version 11.0.10
JavaFX version 11.0.2+1
Virtual machine: OpenJDK 64-Bit Server VM 11.0.10+9 (AdoptOpenJDK)
Running on: Windows 10 10.0 (amd64)
Java Home: C:\Program Files\BlueJ\jdk
----
Opening project: C:\OULocal\M250Git\m250\Rewrite\Lights
1635757076736: Listening for JDWP connection on address: javadebug
Connected to debug VM via dt_shmem transport...
Communication with debug VM fully established.
--
Although some earlier messages say, e.g.
"Oct 21, 2019 9:51:42 AM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-text-background-color' while resolving lookups for '-fx-text-fill' from rule '*.label' in stylesheet jar:file:/C:/Program%20Files%20(x86)/BlueJ/jdk/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss"
---
**Issue metadata**
- Issue type: Bug
- Priority: Highhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1336[BLUEJ-1364] BlueJ Virtual Machinewill not open on Mac2021-10-28T11:24:44ZNeil Brown[BLUEJ-1364] BlueJ Virtual Machinewill not open on MacWhenever I log onto the BlueJ the Virtual Machine does not appear, and I can't see the sessions that I create. If there is any way I can fix this, please tell me how. Otherwise, I would appreciate it if you fixed the bug.
---
**Issue ...Whenever I log onto the BlueJ the Virtual Machine does not appear, and I can't see the sessions that I create. If there is any way I can fix this, please tell me how. Otherwise, I would appreciate it if you fixed the bug.
---
**Issue metadata**
- Issue type: Bug
- Priority: Highest
- Fix versions: 5.0.2https://gitlab.bluej.org/bluej/bjgf/-/issues/1335[BLUEJ-1363] The UI text is jumbled/broken while the actual editor text works...2021-10-30T09:00:24ZNeil Brown[BLUEJ-1363] The UI text is jumbled/broken while the actual editor text works fineThe UI text is grumbled for [example|https://ibb.co/gR2DsFG],
I have tried reinstalling bluej, trying to repair it as well.
Using windows 20H2
---
**Issue metadata**
- Issue type: Bug
- Priority: HighThe UI text is grumbled for [example|https://ibb.co/gR2DsFG],
I have tried reinstalling bluej, trying to repair it as well.
Using windows 20H2
---
**Issue metadata**
- Issue type: Bug
- Priority: Highhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1333[BLUEJ-1360] BlueJ 5.0.2 reports NoJavaDictionary and fails to start2021-10-28T12:46:18ZNeil Brown[BLUEJ-1360] BlueJ 5.0.2 reports NoJavaDictionary and fails to startEncountered on macOS Big Sur when using BlueJ on two different accounts. I haven't encountered this with previous versions.
When BlueJ.app was added to the Applications folder of a second account on a single machine, attempting to sta...Encountered on macOS Big Sur when using BlueJ on two different accounts. I haven't encountered this with previous versions.
When BlueJ.app was added to the Applications folder of a second account on a single machine, attempting to start BlueJ on the first account resulted in a BlueJ alert window (yellow triangle icon) with the message: NoJavaDictionary.
If BlueJ.app is re-copied to the Applications folder of the first account, the problem then repeats with the second account.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1332[BLUEJ-1359] Teamwork problems (3 bugs: branch name & error msg & password, 1...2021-10-26T11:52:23ZNeil Brown[BLUEJ-1359] Teamwork problems (3 bugs: branch name & error msg & password, 1 change: hide "share" if project closed)Bug 1 Tested with GitHub and remote repository which default branch is "master". If "master" is specified as a branch name in the BlueJ team settings, the checkout of the remote project cannot be achieved and a "ref master already exists...Bug 1 Tested with GitHub and remote repository which default branch is "master". If "master" is specified as a branch name in the BlueJ team settings, the checkout of the remote project cannot be achieved and a "ref master already exists" error popup is shown.
Bug 2 Moreover, if the git user name is wrong (I mean that it not an existing one) we receive an authorised error followed by the ref master error mentioned above. We should at least show the first error in the popup message in BlueJ rather than just the second error. Also, the project should not be created on the local since access hasn't been granted.
(I have tried if the same occurs when a valid username that is not granted access on the remote project is used - I suppose it would produce the same behaviour).
Bug 3 The password of the team account is not saved (which for GitHub can be very annoying)
The last point is a small change to make: when a project is closed, team action buttons should all disappear. In a local project for example (i.e. not associated to git), the "share" button still shows up.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1329[BLUEJ-1356] Underscore disappears from method name2021-09-22T04:15:35ZNeil Brown[BLUEJ-1356] Underscore disappears from method nameIf a method name contains an _ underscore, and an object instantiating that method is placed on the object bench and right-clicked, the first underscore fails to show up in the method name. A screen shot illustrating the problem is onli...If a method name contains an _ underscore, and an object instantiating that method is placed on the object bench and right-clicked, the first underscore fails to show up in the method name. A screen shot illustrating the problem is online at [https://drive.google.com/file/d/1eFjxgzQC6YmPu7_5qVP2AwM2om1PWLHx/view?usp=sharing].
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1328[BLUEJ-1355] Windows ARM version2021-08-27T20:40:18ZNeil Brown[BLUEJ-1355] Windows ARM versionThe only versions of BlueJ that will run on the new Windows 64-bit ARM tablets are 4.1.4 and earlier. Please add Windows ARM-64 to the list of installers.
---
**Issue metadata**
- Issue type: Task
- Priority: Medium
- Fix versions: 5...The only versions of BlueJ that will run on the new Windows 64-bit ARM tablets are 4.1.4 and earlier. Please add Windows ARM-64 to the list of installers.
---
**Issue metadata**
- Issue type: Task
- Priority: Medium
- Fix versions: 5.0.2https://gitlab.bluej.org/bluej/bjgf/-/issues/1327[BLUEJ-1354] Github password authentication is deprecated2021-07-24T09:27:53ZNeil Brown[BLUEJ-1354] Github password authentication is deprecatedConnecting to Github using the teamwork controls on BlueJ requires an account name and password. Starting August 13, Github plans to use token-based authentication for all Git operations and will no longer support direct access using pas...Connecting to Github using the teamwork controls on BlueJ requires an account name and password. Starting August 13, Github plans to use token-based authentication for all Git operations and will no longer support direct access using passwords.
Will there be a workaround for this issue so students can continue to use the teamwork controls to interface with github?
---
**Issue metadata**
- Issue type: Task
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1326[BLUEJ-1352] Set up a meaningful name for the printed files2021-06-28T09:15:22ZNeil Brown[BLUEJ-1352] Set up a meaningful name for the printed filesWhen printing from BlueJ (at least for the code), the print job has a generic name "JavaFX print job".
If possible, we should make it a bit more meaningful. How about using the project name when printing the project, the class name wh...When printing from BlueJ (at least for the code), the print job has a generic name "JavaFX print job".
If possible, we should make it a bit more meaningful. How about using the project name when printing the project, the class name when printing from the editor?
---
**Issue metadata**
- Issue type: Task
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1325[BLUEJ-1351] JUnit 5 test results window should support @DisplayName tags2021-05-16T07:17:00ZNeil Brown[BLUEJ-1351] JUnit 5 test results window should support @DisplayName tagsWith JUnit 5 we can use the @DisplayName annotation above our tests to make the nature of the test more clear and readable than the method name often is by itself.
In classrooms where teachers write tests for student assignments, it w...With JUnit 5 we can use the @DisplayName annotation above our tests to make the nature of the test more clear and readable than the method name often is by itself.
In classrooms where teachers write tests for student assignments, it would be especially valuable to have full sentences explain the problem with the code and for the students to see this in the test window.
Perhaps the @DisplayName annotation could also be incorporated into the default template when new test methods are created.
---
**Issue metadata**
- Issue type: Task
- Priority: Lowhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1324[BLUEJ-1350] The terminal doesn't always show when needed from the Codepad2021-04-23T15:45:04ZNeil Brown[BLUEJ-1350] The terminal doesn't always show when needed from the CodepadThis can be observed with the book's project examples (chapter 8 / zuul-better).
I ran a project that opens the terminal for user input. Then close the terminal (via the menu) and go to the Codepad to do _System.out.println("whatever"...This can be observed with the book's project examples (chapter 8 / zuul-better).
I ran a project that opens the terminal for user input. Then close the terminal (via the menu) and go to the Codepad to do _System.out.println("whatever");_
The terminal should reopen, but it doesn't.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1323[BLUEJ-1349] error in creating virtual machine after error fix 2021-04-22T07:52:58ZNeil Brown[BLUEJ-1349] error in creating virtual machine after error fix This error is coming in my pc I use intel Celeron j1800 and 2 GB ram while windows 10 running
is this an error from my side or yours? Version : 5.0.0
---
**Issue metadata**
- Issue type: Bug
- Priority: MediumThis error is coming in my pc I use intel Celeron j1800 and 2 GB ram while windows 10 running
is this an error from my side or yours? Version : 5.0.0
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1322[BLUEJ-1348] No reasonable bug fix offered2021-04-19T09:25:49ZNeil Brown[BLUEJ-1348] No reasonable bug fix offeredNo reasonable fix is offered for 'Path' and 'Paths'.
They should offer "import java.nio.file.Path" (or Paths) as a fix.
Line of code used in source:
Path path = Paths.get("target");
---
**Issue metadata**
- Issue type: Bug
-...No reasonable fix is offered for 'Path' and 'Paths'.
They should offer "import java.nio.file.Path" (or Paths) as a fix.
Line of code used in source:
Path path = Paths.get("target");
---
**Issue metadata**
- Issue type: Bug
- Priority: Lowhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1321[BLUEJ-1347] CodePad doesn't function without an open project2021-04-16T13:30:11ZNeil Brown[BLUEJ-1347] CodePad doesn't function without an open projectIt would be helpful if code pad could be used without an open project, to try out simple things using library classes.
---
**Issue metadata**
- Issue type: Task
- Priority: MediumIt would be helpful if code pad could be used without an open project, to try out simple things using library classes.
---
**Issue metadata**
- Issue type: Task
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1320[BLUEJ-1346] Update to Java/JavaFX 172021-04-13T11:57:05ZNeil Brown[BLUEJ-1346] Update to Java/JavaFX 17When we will update Java / JavaFX to newer version, we should check the following:
* the Java parser in BlueJ will still comply with additions in Java
* the GDK for Linux platforms is forced in the java command bin file to version 2 ...When we will update Java / JavaFX to newer version, we should check the following:
* the Java parser in BlueJ will still comply with additions in Java
* the GDK for Linux platforms is forced in the java command bin file to version 2 --> using GDK 3 with JavaFX means we should have to remove this flag from the command
---
**Issue metadata**
- Issue type: Task
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1319[BLUEJ-1345] Different highlight colour for constructs in Java editor2021-04-06T15:11:20ZNeil Brown[BLUEJ-1345] Different highlight colour for constructs in Java editorThis point was discussed within the team after receving the suggestion on the support email by Carlos Guevara on 1st April.
The idea is reasonnable, and should be thought through in more length for a future version of BlueJ (post 5.0....This point was discussed within the team after receving the suggestion on the support email by Carlos Guevara on 1st April.
The idea is reasonnable, and should be thought through in more length for a future version of BlueJ (post 5.0.1).
One argument about it: in Stride, we actually do make a distinction between constructors and methods.
(Please keep Carlos informed on the progress)
---
**Issue metadata**
- Issue type: Task
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1318[BLUEJ-1344] JavaFX text overlaps on standard DPI external display on Retina ...2021-03-31T09:32:04ZNeil Brown[BLUEJ-1344] JavaFX text overlaps on standard DPI external display on Retina MacsIf you connect a standard-DPI monitor to a high-DPI Mac, the text gets rendered wrongly in Catalina onwards. The text gets drawn with overlapping character glyphs, see e.g. the "u" and "e" of BlueJ below:
!image-2021-03-31-09-30-01-...If you connect a standard-DPI monitor to a high-DPI Mac, the text gets rendered wrongly in Catalina onwards. The text gets drawn with overlapping character glyphs, see e.g. the "u" and "e" of BlueJ below:
!image-2021-03-31-09-30-01-604.png|thumbnail!
This is due to a bug in JavaFX, currently marked down as being fixed in OpenJFX 17:
https://bugs.openjdk.java.net/browse/JDK-8236689
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium