or run

npx @tessl/cli init
Log in

Version

Tile

Overview

Evals

Files

Files

docs

classfile-builder.mdclassfile.mdindex.mdmemoize.mdpreview.mdresult.mdsignatures.mdstream.mdunmodifiable.md

preview.mddocs/

0

# Preview Features

1

2

Support for experimental and preview-level Java class file features, enabling forward compatibility with future Java versions.

3

4

## Package Information

5

6

The `aQute.bnd.classfile.preview` package is designed to provide an object model and parser for preview level Java class files.

7

8

**Important Note:** This package is not supported API. Once class file changes are promoted from preview status, the support will be moved to the main `aQute.bnd.classfile` package.

9

10

## Current Implementation Status

11

12

**Current State:** The preview package currently contains only a `package-info.java` file with version annotation `@Version("0.610.0")`. No preview feature implementations are currently available.

13

14

**Package Declaration:**

15

```java { .api }

16

/**

17

* This package provides an object model and parser for preview level Java class

18

* files.

19

* <p>

20

* This package is not supported API. Once class file changes are promoted from

21

* preview, the support will be moved to the {@code aQute.bnd.classfile}

22

* package.

23

*/

24

@Version("0.610.0")

25

package aQute.bnd.classfile.preview;

26

```

27

28

## Future Development

29

30

As new Java versions introduce preview features that affect class file structure, corresponding support will be added to this package. The package serves as a placeholder and staging area for:

31

32

- Preview language features that modify class file format

33

- Experimental Java constructs requiring special class file handling

34

- Forward compatibility support for upcoming Java versions

35

36

## Integration with Main Package

37

38

When preview features are standardized, their implementations will be migrated from this package to the main `aQute.bnd.classfile` package to ensure stability and long-term support.

39

40

## OSGi Bundle Context

41

42

This package is part of the `biz.aQute.bnd.util` OSGi bundle and follows the bnd project's versioning and lifecycle management practices for preview and experimental features.