Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions scripts/cn1playground/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ The playground uses a customized version of [BeanShell](https://github.com/beans

#### Class Declarations Have Limited Support

BeanShell's class generation is disabled in this playground, but single top-level classes are automatically unwrapped:
BeanShell's class generation is disabled in this playground, but top-level classes are automatically unwrapped:

```java
// This works - playground unwraps the class:
Expand All @@ -221,8 +221,7 @@ public class DemoApp {
```

**What doesn't work**:
- Nested classes
- Multiple top-level classes
- Nested classes are erased during unwrapping (references are treated as `Object` placeholders, with limited rewrite support for simple no-arg `String` methods)
- Interfaces or enums
- Static fields or methods that reference instance fields

Expand Down Expand Up @@ -360,4 +359,4 @@ cd scripts/cn1playground

## Contributing

See the main Codename One repository for contribution guidelines.
See the main Codename One repository for contribution guidelines.
Loading
Loading